Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Suppressing the Restart Dialog in silent install


1 reply to this topic

badzoy07

badzoy07
  • Full Members
  • 27 posts

Posted 09 July 2008 - 09:48

Does anyone knows how to suppress the "RESTART" runtime variable in Wise script? It always displays the dialog to restart the machine after completing the installation even if I did not specify a reboot. I know it's internal to wise that if a file is to be replace it needs a reboot. It's okey with me to restart however, since I'm doing a silent install and this is thru windows scheduler so I do not need any dialog prompting after installation.

I already used the /s when calling my executable but still it prompts the message box. I even selected the option in the Build Settings -"No Reboot Message During Silent Installs" but nothing works.

Please if anyone knows how to do it.. I will really appreciate it. Thanks in advance.



Eagle

Eagle
  • Full Members
  • 79 posts

Posted 26 February 2009 - 19:06

Hello,

WiseScript set the RESTART Variable to empty if RESTART = S

item: If/While Statement
Variable=RESTART
Value=S
end
item: Set Variable
Variable=RESTART
end
item: End Block
end

regards

Thomas