Add missing declaration

This commit is contained in:
Mario Fetka 2019-09-24 23:35:36 +02:00
parent 6c9cc15ef6
commit a3b08acceb
3 changed files with 4 additions and 2 deletions

View File

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

View File

@ -7,6 +7,7 @@
requiredWinstVersion >= "4.11.4.6" requiredWinstVersion >= "4.11.4.6"
ScriptErrorMessages=off ScriptErrorMessages=off
DefVar $UninstallExec$
DefVar $UninstallProgramOld$ DefVar $UninstallProgramOld$
DefVar $IniFile$ DefVar $IniFile$
DefVar $IniCfgFile$ DefVar $IniCfgFile$

View File

@ -7,6 +7,7 @@
requiredWinstVersion >= "4.11.4.6" requiredWinstVersion >= "4.11.4.6"
ScriptErrorMessages=off ScriptErrorMessages=off
DefVar $UninstallExec$
DefVar $UninstallProgramOld$ DefVar $UninstallProgramOld$
DefVar $IniFile$ DefVar $IniFile$
DefVar $IniCfgFile$ DefVar $IniCfgFile$