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
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
comment "Close the Uninstall browser window"
|
||||||
|
killtask "iexplore.exe" "iron.exe" "firefox.exe" "chrome.exe" "opera.exe"
|
||||||
|
|
||||||
comment "Delete files"
|
comment "Delete files"
|
||||||
Files_uninstall /32Bit
|
Files_uninstall /32Bit
|
||||||
|
|
||||||
@ -40,14 +43,10 @@ LinkFolder_uninstall
|
|||||||
|
|
||||||
[Winbatch_uninstall_old]
|
[Winbatch_uninstall_old]
|
||||||
"$UninstallProgramOld$" /SILENT /NORESTART /SUPPRESSMSGBOXES
|
"$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]
|
[Winbatch_uninstall]
|
||||||
"$UninstallProgram$" /SILENT /NORESTART /SUPPRESSMSGBOXES
|
"$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]
|
[Files_uninstall]
|
||||||
|
@ -63,6 +63,8 @@ else
|
|||||||
ChangeDirectory "%SCRIPTPATH%"
|
ChangeDirectory "%SCRIPTPATH%"
|
||||||
Winbatch_install
|
Winbatch_install
|
||||||
Sub_check_exitcode
|
Sub_check_exitcode
|
||||||
|
comment "Close the Install Browser Window"
|
||||||
|
killtask "iexplore.exe" "iron.exe" "firefox.exe" "chrome.exe" "opera.exe"
|
||||||
|
|
||||||
comment "Copy files"
|
comment "Copy files"
|
||||||
Files_install /32Bit
|
Files_install /32Bit
|
||||||
@ -77,8 +79,6 @@ endif
|
|||||||
|
|
||||||
[Winbatch_install]
|
[Winbatch_install]
|
||||||
"$InstallExe$" /SILENT /NORESTART
|
"$InstallExe$" /SILENT /NORESTART
|
||||||
sleepSeconds 5
|
|
||||||
taskkill /F /IM iexplore.exe /IM iron.exe /IM firefox.exe /IM chrome.exe /IM opera.exe
|
|
||||||
|
|
||||||
[Files_install]
|
[Files_install]
|
||||||
; copy the ini file to the InstallDir
|
; copy the ini file to the InstallDir
|
||||||
|
Loading…
Reference in New Issue
Block a user