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,8 @@
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/en/credits/
include_append "browserkill.opsiinc"
Set $UninstallProgram$ = $InstallDir$ + "\" + $UninstallExecutable$
Set $IniFile$ = $InstallDir$ + "\opsi-" + $ProductId$ + ".ini"
@@ -44,6 +46,9 @@ if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
sub_check_exitcode
endif
;comment "Kill Web Browser"
;ExecWith_BrowserKill %System%\cscript.exe //b //nologo
comment "Delete files"
Files_uninstall /32Bit