diff --git a/CLIENT_DATA/delsub3264.ins b/CLIENT_DATA/delsub3264.ins index 4084cdb..735c1e6 100644 --- a/CLIENT_DATA/delsub3264.ins +++ b/CLIENT_DATA/delsub3264.ins @@ -4,10 +4,10 @@ ; credits: http://www.opsi.org/credits/ -Set $UninstallProgram32$ = $InstallDir32$ + $uVersion$ + "\uninstall.exe" -Set $UninstallProgram64$ = $InstallDir64$ + $uVersion$ + "\uninstall.exe" -Set $OldUninstallProgram32$ = $InstallDir32$ + $OlduVersion32$ + "\uninstall.exe" -Set $OldUninstallProgram64$ = $InstallDir64$ + $OlduVersion64$ + "\uninstall.exe" +Set $UninstallProgram32$ = $InstallDir32$ + "\" + $uVersion$ + "\uninstall.exe" +Set $UninstallProgram64$ = $InstallDir64$ + "\" + $uVersion$ + "\uninstall.exe" +Set $OldUninstallProgram32$ = $InstallDir32$ + "\" + $OlduVersion32$ + "\uninstall.exe" +Set $OldUninstallProgram64$ = $InstallDir64$ + "\" + $OlduVersion64$ + "\uninstall.exe" Set $IniFile32$ = $InstallDir32$ + "\opsi-" + $ProductId$ + ".ini" Set $IniFile64$ = $InstallDir64$ + "\opsi-" + $ProductId$ + ".ini" diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins index 0b6dbed..92b5cbd 100644 --- a/CLIENT_DATA/setup3264.ins +++ b/CLIENT_DATA/setup3264.ins @@ -177,6 +177,8 @@ else Message "Installing " + $ProductId$ + " 32 Bit..." comment "Start setup program" comment "Copy files" + comment "Stop Immunet Service" + Dosbatch_stop_immunet Files_install_32 /32Bit Winbatch_install_32 Sub_check_exitcode @@ -269,6 +271,8 @@ else if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) Message "Installing " + $ProductId$ + " 64 Bit..." comment "Start setup program" + comment "Stop Immunet Service" + Dosbatch_stop_immunet comment "Copy files" Files_install_64 /64Bit Winbatch_install_64