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$