add BrowserKill to setup and delsub

This commit is contained in:
Mario Fetka
2019-10-16 18:28:41 +02:00
parent e63a3aa3b0
commit 3e037f3d4b
7 changed files with 83 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/en/credits/
include_append "browserkill.opsiinc"
Set $UninstallProgram32$ = $InstallDir32$ + "\" + $UninstallExecutable32$
Set $IniFile32$ = $InstallDir32$ + "\opsi-" + $ProductId$ + ".ini"
@@ -49,6 +50,8 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
sub_check_exitcode
endif
;comment "Kill Web Browser"
;ExecWith_BrowserKill %System%\cscript.exe //b //nologo
comment "Delete files"
Files_uninstall_32 /32Bit
comment "Cleanup registry"
@@ -94,6 +97,8 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
sub_check_exitcode
endif
;comment "Kill Web Browser"
;ExecWith_BrowserKill %System%\cscript.exe //b //nologo
comment "Delete files"
Files_uninstall_64 /64Bit
comment "Cleanup registry"