also stop on uninstall

This commit is contained in:
Mario Fetka 2012-02-15 17:26:37 +01:00
parent 5ff4f1b306
commit 02bda0ee88

View File

@ -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
;