Correct installscript

This commit is contained in:
Mario Fetka 2019-10-04 01:26:10 +02:00
parent 17f0bfbcce
commit 08c087578d

View File

@ -21,7 +21,7 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
endif
if FileExists($IniFile32$)
Set $UninstallExecutable32$ = GetValueFromInifile($IniFile$,"X86","UninstallExecutable32","XXXXXXXX.exe")
Set $UninstallExecutable32$ = GetValueFromInifile($IniFile32$,"X86","UninstallExecutable32","XXXXXXXX.exe")
Set $UninstallProgramOld32$ = $InstallDir32$ + "\" + $UninstallExecutable32$
if FileExists($UninstallProgramOld32$)
comment "Uninstall program found, starting uninstall"
@ -52,7 +52,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
endif
if FileExists($IniFile64$)
Set $UninstallExecutable64$ = GetValueFromInifile($IniFile$,"X86_64","UninstallExecutable64","XXXXXXXX.exe")
Set $UninstallExecutable64$ = GetValueFromInifile($IniFile64$,"X86_64","UninstallExecutable64","XXXXXXXX.exe")
Set $UninstallProgramOld64$ = $InstallDir64$ + "\" + $UninstallExecutable64$
if FileExists($UninstallProgramOld64$)
comment "Uninstall program found, starting uninstall"