From 58079b2cb31a896363d9c148bf199a6959666bf1 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 16 Jul 2013 08:34:35 +0200 Subject: [PATCH] close the getting started and force reboot after driver uninstall --- CLIENT_DATA/delsub3264.ins | 19 ++++++++++++++++--- CLIENT_DATA/setup3264.ins | 6 ++++++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CLIENT_DATA/delsub3264.ins b/CLIENT_DATA/delsub3264.ins index 51f7081..00866e9 100644 --- a/CLIENT_DATA/delsub3264.ins +++ b/CLIENT_DATA/delsub3264.ins @@ -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 diff --git a/CLIENT_DATA/setup3264.ins b/CLIENT_DATA/setup3264.ins index 835b4cf..0b4a055 100644 --- a/CLIENT_DATA/setup3264.ins +++ b/CLIENT_DATA/setup3264.ins @@ -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