From a3b08acceb24c9e16eb51c0277401c267a0e60c0 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 24 Sep 2019 23:35:36 +0200 Subject: [PATCH] Add missing declaration --- CLIENT_DATA/delsub32.opsiscript | 4 ++-- CLIENT_DATA/setup32.opsiscript | 1 + CLIENT_DATA/uninstall32.opsiscript | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CLIENT_DATA/delsub32.opsiscript b/CLIENT_DATA/delsub32.opsiscript index 1073cf9..0b80923 100644 --- a/CLIENT_DATA/delsub32.opsiscript +++ b/CLIENT_DATA/delsub32.opsiscript @@ -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 diff --git a/CLIENT_DATA/setup32.opsiscript b/CLIENT_DATA/setup32.opsiscript index df504c5..0cb3bcb 100644 --- a/CLIENT_DATA/setup32.opsiscript +++ b/CLIENT_DATA/setup32.opsiscript @@ -7,6 +7,7 @@ requiredWinstVersion >= "4.11.4.6" ScriptErrorMessages=off +DefVar $UninstallExec$ DefVar $UninstallProgramOld$ DefVar $IniFile$ DefVar $IniCfgFile$ diff --git a/CLIENT_DATA/uninstall32.opsiscript b/CLIENT_DATA/uninstall32.opsiscript index c804100..a8f6c36 100644 --- a/CLIENT_DATA/uninstall32.opsiscript +++ b/CLIENT_DATA/uninstall32.opsiscript @@ -7,6 +7,7 @@ requiredWinstVersion >= "4.11.4.6" ScriptErrorMessages=off +DefVar $UninstallExec$ DefVar $UninstallProgramOld$ DefVar $IniFile$ DefVar $IniCfgFile$