use the opsi command to kill the browser window
This commit is contained in:
parent
0590998c42
commit
15cd9e4cc6
@ -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]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user