From 93a90dd821f2e743a1af83dee02e98abfd077326 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Thu, 14 Mar 2013 18:32:34 +0100 Subject: [PATCH] add close browser window --- CLIENT_DATA/delsub3264.ins | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/CLIENT_DATA/delsub3264.ins b/CLIENT_DATA/delsub3264.ins index c0fdcce..f912932 100644 --- a/CLIENT_DATA/delsub3264.ins +++ b/CLIENT_DATA/delsub3264.ins @@ -32,6 +32,10 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif comment "Delete files" Files_uninstall_32 /32Bit + + comment "Disables the pop-up browser window" + Winbatch_killtasks_32 + comment "Cleanup registry" Registry_uninstall /32Bit endif @@ -60,6 +64,10 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe comment "Delete files" Files_uninstall_64 /64Bit + + comment "Disables the pop-up browser window" + Winbatch_killtasks_64 + comment "Cleanup registry" Registry_uninstall /64Bit endif @@ -73,6 +81,14 @@ msiexec /x $MsiIdOld32$ /qb! REBOOT=ReallySuppress [Winbatch_uninstall_msi_32] msiexec /x $MsiId32$ /qb! REBOOT=ReallySuppress +[Winbatch_killtasks_32] +; %ScriptPath%\X86\closewindow.exe "Before you go" "" +taskkill /F /IM iexplore.exe +taskkill /F /IM iron.exe +taskkill /F /IM firefox.exe +taskkill /F /IM chrome.exe +taskkill /F /IM opera.exe + [Files_uninstall_32] ; Example for recursively deleting the installation directory (don't forget the trailing backslash): ; @@ -84,6 +100,14 @@ msiexec /x $MsiIdOld64$ /qb! REBOOT=ReallySuppress [Winbatch_uninstall_msi_64] msiexec /x $MsiId64$ /qb! REBOOT=ReallySuppress +[Winbatch_killtasks_64] +; %ScriptPath%\X86\closewindow.exe "Before you go" "" +taskkill /F /IM iexplore.exe +taskkill /F /IM iron.exe +taskkill /F /IM firefox.exe +taskkill /F /IM chrome.exe +taskkill /F /IM opera.exe + [Files_uninstall_64] ; Example for recursively deleting the installation directory: ;