close the getting started and force reboot after driver uninstall

This commit is contained in:
Mario Fetka 2013-07-16 08:34:35 +02:00
parent 777895ed3a
commit 58079b2cb3
2 changed files with 22 additions and 3 deletions

View File

@ -25,12 +25,20 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_old_32
sub_check_exitcode
comment "Close the UnInstall Browser Window"
DosInAnIcon_taskkill
comment "Force Reboot after driver uninstall"
ExitWindows /ImmediateReboot
endif
endif
if FileExists($UninstallProgram32$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_32
sub_check_exitcode
comment "Close the UnInstall Browser Window"
DosInAnIcon_taskkill
comment "Force Reboot after driver uninstall"
ExitWindows /ImmediateReboot
endif
comment "Delete files"
@ -54,12 +62,20 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_old_64
sub_check_exitcode
comment "Close the UnInstall Browser Window"
DosInAnIcon_taskkill
comment "Force Reboot after driver uninstall"
ExitWindows /ImmediateReboot
endif
endif
if FileExists($UninstallProgram64$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_64
sub_check_exitcode
comment "Close the UnInstall Browser Window"
DosInAnIcon_taskkill
comment "Force Reboot after driver uninstall"
ExitWindows /ImmediateReboot
endif
comment "Delete files"
@ -68,9 +84,6 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
Registry_uninstall /64Bit
endif
comment "Close the UnInstall Browser Window"
DosInAnIcon_taskkill
comment "Delete program shortcuts"
LinkFolder_uninstall

View File

@ -99,6 +99,12 @@ else
endif
comment "Close the Getting Started Window"
DosInAnIcon_taskkill
[DosInAnIcon_taskkill]
taskkill /F /IM GettingStarted.exe
[Winbatch_install_32]
"$InstallExe$" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES