From 8adf50aaf992a07dca0bd09fa34a2802c78dcfc9 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Wed, 4 May 2016 11:48:47 +0200 Subject: [PATCH] Minor fixes to safeguard against broken Windows builds being picked up --- Installer/Windows/build-msi.bat | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Installer/Windows/build-msi.bat b/Installer/Windows/build-msi.bat index 6f114257d..846d56927 100644 --- a/Installer/Windows/build-msi.bat +++ b/Installer/Windows/build-msi.bat @@ -1,16 +1,16 @@ @echo off -IF NOT EXIST "%1" ( -echo File not found, please supply a zip file with the build as the first argument -goto EXIT -) - -call "%VS120COMNTOOLS%vsvars32.bat" - rmdir /s /q Duplicati del /q Duplicati.msi del /q Duplicati-32bit.msi +IF NOT EXIST "%1" ( + echo File not found, please supply a zip file with the build as the first argument + goto EXIT +) + +call "%VS120COMNTOOLS%vsvars32.bat" + 7z x -oDuplicati %1 IF EXIST "..\oem" (