Add missing declaration
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
; and published under the Terms of the General Public License.
|
||||
; 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$)
|
||||
@@ -16,8 +16,8 @@ else
|
||||
endif
|
||||
|
||||
if FileExists($IniFile$)
|
||||
Set $UninstallExec$ = GetValueFromInifile($IniFile$,"X86","UninstallExec","XXXXXXXX.exe")
|
||||
Set $UninstallProgramOld$ = $InstallDir$ + $UninstallExec$
|
||||
Set $UninstallExecutable$ = GetValueFromInifile($IniFile$,"X86","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