From 103ed32cdd2489dc83e5c10d57b57dab5c0bdbe9 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 7 Mar 2021 13:35:58 +0000 Subject: [PATCH] Change condition --- contrib/msi/build-msi.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/msi/build-msi.sh b/contrib/msi/build-msi.sh index 35433997..2bfcd4c1 100644 --- a/contrib/msi/build-msi.sh +++ b/contrib/msi/build-msi.sh @@ -41,7 +41,9 @@ if not exist %ALLUSERSPROFILE%\\Yggdrasil ( ) if not exist %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf ( if exist yggdrasil.exe ( - yggdrasil.exe -genconf > %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf + if not exist %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf ( + yggdrasil.exe -genconf > %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf + ) ) ) EOF @@ -188,9 +190,7 @@ cat > wix.xml << EOF - NOT Installed AND NOT REMOVE - + Before="StartServices" />