diff --git a/CLIENT_DATA/delsub32.ins b/CLIENT_DATA/delsub32.ins index f0f830f..9ce9947 100644 --- a/CLIENT_DATA/delsub32.ins +++ b/CLIENT_DATA/delsub32.ins @@ -29,6 +29,9 @@ if FileExists($UninstallProgram$) sub_check_exitcode endif +comment "Close the Uninstall browser window" +killtask "iexplore.exe" "iron.exe" "firefox.exe" "chrome.exe" "opera.exe" + comment "Delete files" Files_uninstall /32Bit @@ -40,14 +43,10 @@ LinkFolder_uninstall [Winbatch_uninstall_old] "$UninstallProgramOld$" /SILENT /NORESTART /SUPPRESSMSGBOXES -sleepSeconds 5 -taskkill /F /IM iexplore.exe /IM iron.exe /IM firefox.exe /IM chrome.exe /IM opera.exe [Winbatch_uninstall] "$UninstallProgram$" /SILENT /NORESTART /SUPPRESSMSGBOXES -sleepSeconds 5 -taskkill /F /IM iexplore.exe /IM iron.exe /IM firefox.exe /IM chrome.exe /IM opera.exe [Files_uninstall] diff --git a/CLIENT_DATA/setup32.ins b/CLIENT_DATA/setup32.ins index 4326bf7..7c10cb9 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -63,6 +63,8 @@ else ChangeDirectory "%SCRIPTPATH%" Winbatch_install Sub_check_exitcode + comment "Close the Install Browser Window" + killtask "iexplore.exe" "iron.exe" "firefox.exe" "chrome.exe" "opera.exe" comment "Copy files" Files_install /32Bit @@ -77,8 +79,6 @@ endif [Winbatch_install] "$InstallExe$" /SILENT /NORESTART -sleepSeconds 5 -taskkill /F /IM iexplore.exe /IM iron.exe /IM firefox.exe /IM chrome.exe /IM opera.exe [Files_install] ; copy the ini file to the InstallDir