diff --git a/CLIENT_DATA/delsub.ins b/CLIENT_DATA/delsub.ins index 52535b7..d271279 100644 --- a/CLIENT_DATA/delsub.ins +++ b/CLIENT_DATA/delsub.ins @@ -13,6 +13,9 @@ Set $UninstallProgram32$ = $InstallDir64$ + "\" + $uVersion$ + "\uninstall.exe" if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") Message "Uninstalling " + $ProductId$ + " 32 Bit..." + comment "Stop Immunet Service" + Dosbatch_stop_immunet + if FileExists($UninstallProgram32$) comment "Uninstall program found, starting uninstall" Winbatch_uninstall_32 @@ -34,6 +37,9 @@ endif if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) Message "Uninstalling " + $ProductId$ + " 64 Bit..." + comment "Stop Immunet Service" + Dosbatch_stop_immunet + if FileExists($UninstallProgram64$) comment "Uninstall program found, starting uninstall" Winbatch_uninstall_64 @@ -55,6 +61,11 @@ endif comment "Delete program shortcuts" LinkFolder_uninstall + +[Dosbatch_stop_immunet] +net stop immunetprotect +taskkill /IM iptray.exe + [Winbatch_uninstall_32] ; Choose one of the following examples as basis for program uninstall ;