mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 07:05:06 +03:00
Change condition
This commit is contained in:
parent
e3976feb7a
commit
103ed32cdd
1 changed files with 4 additions and 4 deletions
|
@ -41,8 +41,10 @@ if not exist %ALLUSERSPROFILE%\\Yggdrasil (
|
||||||
)
|
)
|
||||||
if not exist %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf (
|
if not exist %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf (
|
||||||
if exist yggdrasil.exe (
|
if exist yggdrasil.exe (
|
||||||
|
if not exist %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf (
|
||||||
yggdrasil.exe -genconf > %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf
|
yggdrasil.exe -genconf > %ALLUSERSPROFILE%\\Yggdrasil\\yggdrasil.conf
|
||||||
)
|
)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -188,9 +190,7 @@ cat > wix.xml << EOF
|
||||||
<InstallExecuteSequence>
|
<InstallExecuteSequence>
|
||||||
<Custom
|
<Custom
|
||||||
Action="UpdateGenerateConfig"
|
Action="UpdateGenerateConfig"
|
||||||
Before="StartServices">
|
Before="StartServices" />
|
||||||
NOT Installed AND NOT REMOVE
|
|
||||||
</Custom>
|
|
||||||
</InstallExecuteSequence>
|
</InstallExecuteSequence>
|
||||||
|
|
||||||
</Product>
|
</Product>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue