also stop on uninstall
This commit is contained in:
parent
5ff4f1b306
commit
02bda0ee88
@ -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")
|
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
|
||||||
Message "Uninstalling " + $ProductId$ + " 32 Bit..."
|
Message "Uninstalling " + $ProductId$ + " 32 Bit..."
|
||||||
|
|
||||||
|
comment "Stop Immunet Service"
|
||||||
|
Dosbatch_stop_immunet
|
||||||
|
|
||||||
if FileExists($UninstallProgram32$)
|
if FileExists($UninstallProgram32$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_32
|
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"))
|
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..."
|
Message "Uninstalling " + $ProductId$ + " 64 Bit..."
|
||||||
|
|
||||||
|
comment "Stop Immunet Service"
|
||||||
|
Dosbatch_stop_immunet
|
||||||
|
|
||||||
if FileExists($UninstallProgram64$)
|
if FileExists($UninstallProgram64$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_64
|
Winbatch_uninstall_64
|
||||||
@ -55,6 +61,11 @@ endif
|
|||||||
comment "Delete program shortcuts"
|
comment "Delete program shortcuts"
|
||||||
LinkFolder_uninstall
|
LinkFolder_uninstall
|
||||||
|
|
||||||
|
|
||||||
|
[Dosbatch_stop_immunet]
|
||||||
|
net stop immunetprotect
|
||||||
|
taskkill /IM iptray.exe
|
||||||
|
|
||||||
[Winbatch_uninstall_32]
|
[Winbatch_uninstall_32]
|
||||||
; Choose one of the following examples as basis for program uninstall
|
; Choose one of the following examples as basis for program uninstall
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user