Add missing declaration
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
; credits: http://www.opsi.org/en/credits/
|
||||
|
||||
|
||||
Set $UninstallProgram$ = $InstallDir$ + "\uninstall.exe"
|
||||
Set $UninstallProgram$ = $InstallDir$ + "\" + $UninstallExecutable$
|
||||
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
|
||||
|
||||
if FileExists($IniFile$)
|
||||
@@ -17,8 +17,8 @@ else
|
||||
endif
|
||||
|
||||
if FileExists($IniFile$)
|
||||
Set $UninstallExec$ = GetValueFromInifile($IniFile$,"X86_64","UninstallExec","XXXXXXXX.exe")
|
||||
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallExec$
|
||||
Set $UninstallExecutable$ = GetValueFromInifile($IniFile$,"X86_64","UninstallExecutable","XXXXXXXX.exe")
|
||||
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallExecutable$
|
||||
if FileExists($UninstallProgramOld$)
|
||||
comment "Uninstall program found, starting uninstall"
|
||||
Winbatch_uninstall_old
|
||||
|
||||
Reference in New Issue
Block a user