diff --git a/CLIENT_DATA/define3264.inc b/CLIENT_DATA/define3264.inc index dccfc9f..6b08c6a 100644 --- a/CLIENT_DATA/define3264.inc +++ b/CLIENT_DATA/define3264.inc @@ -136,3 +136,5 @@ DefVar $server_viewonlypassword_set$ Set $server_viewonlypassword_set$ = GetProductProperty("server_viewonlypassword_set", "0") DefVar $server_viewonlypassword_value_of$ Set $server_viewonlypassword_value_of$ = GetProductProperty("server_viewonlypassword_value_of", "") + +DefVar $Reboot$ diff --git a/CLIENT_DATA/delsub3264.ins b/CLIENT_DATA/delsub3264.ins index faf7d7a..b6980bf 100644 --- a/CLIENT_DATA/delsub3264.ins +++ b/CLIENT_DATA/delsub3264.ins @@ -1,3 +1,4 @@ + ; Copyright (c) uib gmbh (www.uib.de) ; This sourcecode is owned by uib gmbh ; and published under the Terms of the General Public License. @@ -26,12 +27,14 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif comment "Uninstall program found, starting uninstall" Winbatch_uninstall_old_32 sub_check_exitcode + set $Reboot$="1" endif endif if FileExists($UninstallProgram32$) comment "Uninstall program found, starting uninstall" Winbatch_uninstall_32 sub_check_exitcode + set $Reboot$="1" endif if FileExists($IniFile32$) @@ -70,12 +73,14 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe comment "Uninstall program found, starting uninstall" Winbatch_uninstall_old_64 sub_check_exitcode + set $Reboot$="1" endif endif if FileExists($UninstallProgram64$) comment "Uninstall program found, starting uninstall" Winbatch_uninstall_64 sub_check_exitcode + set $Reboot$="1" endif if FileExists($IniFile64$) @@ -102,6 +107,10 @@ endif comment "Delete program shortcuts" LinkFolder_uninstall +if $Reboot$="1" + ExitWindows /ImmediateReboot +endif + [Winbatch_uninstall_old_32] ; === Inno Setup ======================================================================================== ; "$UninstallProgramOld32$" /silent /norestart /SUPPRESSMSGBOXES /nocancel