force Reboot
This commit is contained in:
parent
f02fd3415f
commit
2592571cd7
@ -32,6 +32,7 @@ if FileExists($IniFile$)
|
|||||||
killtask "qdbus.exe"
|
killtask "qdbus.exe"
|
||||||
Winbatch_uninstall_old /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
Winbatch_uninstall_old /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
|
set $Reboot$="1"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if FileExists($UninstallProgram$)
|
if FileExists($UninstallProgram$)
|
||||||
@ -49,6 +50,7 @@ if FileExists($UninstallProgram$)
|
|||||||
killtask "qdbus.exe"
|
killtask "qdbus.exe"
|
||||||
Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
|
set $Reboot$="1"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "Delete files"
|
comment "Delete files"
|
||||||
@ -60,6 +62,10 @@ Registry_uninstall /32Bit
|
|||||||
comment "Delete program shortcuts"
|
comment "Delete program shortcuts"
|
||||||
LinkFolder_uninstall
|
LinkFolder_uninstall
|
||||||
|
|
||||||
|
if $Reboot$="1"
|
||||||
|
ExitWindows /ImmediateReboot
|
||||||
|
endif
|
||||||
|
|
||||||
[Winbatch_uninstall_old]
|
[Winbatch_uninstall_old]
|
||||||
"$UninstallProgramOld$" /S
|
"$UninstallProgramOld$" /S
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ DefVar $ExitCode$
|
|||||||
DefVar $OLD_VERSION$
|
DefVar $OLD_VERSION$
|
||||||
DefVar $OLD_CREATOR_TAG$
|
DefVar $OLD_CREATOR_TAG$
|
||||||
DefVar $OLD_RELEASE$
|
DefVar $OLD_RELEASE$
|
||||||
|
DefVar $Reboot$
|
||||||
|
|
||||||
Set $LogDir$ = "%SystemDrive%\tmp"
|
Set $LogDir$ = "%SystemDrive%\tmp"
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ DefVar $InstallDir$
|
|||||||
DefVar $OLD_VERSION$
|
DefVar $OLD_VERSION$
|
||||||
DefVar $OLD_CREATOR_TAG$
|
DefVar $OLD_CREATOR_TAG$
|
||||||
DefVar $OLD_RELEASE$
|
DefVar $OLD_RELEASE$
|
||||||
|
DefVar $Reboot$
|
||||||
|
|
||||||
Set $LogDir$ = "%SystemDrive%\tmp"
|
Set $LogDir$ = "%SystemDrive%\tmp"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user