silent - reboot
Hi all,
I am making my installer/uninstaller silent now. Problem is that even though I specifically set the
SetRebootFlag true
the installer after finishing, doesn't reboot.
So, do I have in silent case to specifically ask for a reboot using the reboot command, smth like:
Section -Final ; for rebooting in silent mode
IfSilent 0 no-silent_RebootInSilentMode
IfRebootFlag 0 noreboot_RebootInSilentMode
FileWrite $FileHandle "success => RebootInSilentMode\n"
; close the logging file
FileClose $FileHandle
; reboot
Reboot ; reboot flag set, so force the reboot
noreboot_RebootInSilentMode:
no-silent_RebootInSilentMode:
SectionEnd
or that normally shouldn't be necesary and just using the "SetRebootFlag true" should do?
Thx,
Viv