Add missing declaration

This commit is contained in:
Mario Fetka 2019-09-24 23:47:06 +02:00
parent d7d71b5029
commit 5f33f480f1
9 changed files with 16 additions and 8 deletions

View File

@ -16,8 +16,8 @@ else
endif
if FileExists($IniFile$)
Set $UninstallProg$ = GetValueFromInifile($IniFile$,"X86","UninstallProg","XXXXXXXX.exe")
Set $UninstallProgramOld$ = $InstallDir$ + $UninstallProg$
Set $UninstallExec$ = GetValueFromInifile($IniFile$,"X86","UninstallExec","XXXXXXXX.exe")
Set $UninstallProgramOld$ = $InstallDir$ + $UninstallExec$
if FileExists($UninstallProgramOld$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_old

View File

@ -21,8 +21,8 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
endif
if FileExists($IniFile32$)
Set $UninstallProg32$ = GetValueFromInifile($IniFile$,"X86","UninstallProg32","XXXXXXXX.exe")
Set $UninstallProgramOld32$ = $InstallDir32$ + "\" + $UninstallProg32$
Set $UninstallExec32$ = GetValueFromInifile($IniFile$,"X86","UninstallExec32","XXXXXXXX.exe")
Set $UninstallProgramOld32$ = $InstallDir32$ + "\" + $UninstallExec32$
if FileExists($UninstallProgramOld32$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_old_32
@ -66,8 +66,8 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
endif
if FileExists($IniFile64$)
Set $UninstallProg64$ = GetValueFromInifile($IniFile$,"X86_64","UninstallProg64","XXXXXXXX.exe")
Set $UninstallProgramOld64$ = $InstallDir64$ + "\" + $UninstallProg64$
Set $UninstallExec64$ = GetValueFromInifile($IniFile$,"X86_64","UninstallExec64","XXXXXXXX.exe")
Set $UninstallProgramOld64$ = $InstallDir64$ + "\" + $UninstallExec64$
if FileExists($UninstallProgramOld64$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_old_64

View File

@ -17,8 +17,8 @@ else
endif
if FileExists($IniFile$)
Set $UninstallProg$ = GetValueFromInifile($IniFile$,"X86","UninstallProg","XXXXXXXX.exe")
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallProg$
Set $UninstallExec$ = GetValueFromInifile($IniFile$,"X86_64","UninstallExec","XXXXXXXX.exe")
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallExec$
if FileExists($UninstallProgramOld$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_old

View File

@ -9,6 +9,7 @@ ScriptErrorMessages=off
DefVar $MsiIdOld$
DefVar $UninstallProgramOld$
DefVar $UninstallExec$
DefVar $IniFile$
DefVar $IniCfgFile$
DefVar $LogDir$

View File

@ -9,9 +9,11 @@ ScriptErrorMessages=off
DefVar $MsiIdOld32$
DefVar $UninstallProgramOld32$
DefVar $UninstallExec32$
DefVar $IniFile32$
DefVar $MsiIdOld64$
DefVar $UninstallProgramOld64$
DefVar $UninstallExec64$
DefVar $IniFile64$
DefVar $IniCfgFile$
DefVar $LogDir$

View File

@ -9,6 +9,7 @@ ScriptErrorMessages=off
DefVar $MsiIdOld$
DefVar $UninstallProgramOld$
DefVar $UninstallExec$
DefVar $IniFile$
DefVar $IniCfgFile$
DefVar $LogDir$

View File

@ -9,6 +9,7 @@ ScriptErrorMessages=off
DefVar $MsiIdOld$
DefVar $UninstallProgramOld$
DefVar $UninstallExec$
DefVar $IniFile$
DefVar $IniCfgFile$
DefVar $LogDir$

View File

@ -9,9 +9,11 @@ ScriptErrorMessages=off
DefVar $MsiIdOld32$
DefVar $UninstallProgramOld32$
DefVar $UninstallExec32$
DefVar $IniFile32$
DefVar $MsiIdOld64$
DefVar $UninstallProgramOld64$
DefVar $UninstallExec64$
DefVar $IniFile64$
DefVar $IniCfgFile$
DefVar $LogDir$

View File

@ -9,6 +9,7 @@ ScriptErrorMessages=off
DefVar $MsiIdOld$
DefVar $UninstallProgramOld$
DefVar $UninstallExec$
DefVar $IniFile$
DefVar $IniCfgFile$
DefVar $LogDir$