InstallAware equivalent of msiexec's \"/forcerestart\"
Posted: Mon Dec 15, 2008 3:35 pm
If I silently install a normal MSI file, I can force the system to reboot after the installation completes by specifying "/forcerestart" as a command-line parameter to msiexect, E.g.:
I can't find any documentation for the same behavior when running InstallAware-built installers silently. I have tried
and
But neither seem to work. Is this functionality available out of the box, or must I alter my MSICode with something like this to make it work and tell users to call the installer with REBOOTCOMPUTER=TRUE in silent mode:
Code: Select all
msiexec /i MyInstaller.msi /quiet /forcerestart
I can't find any documentation for the same behavior when running InstallAware-built installers silently. I have tried
Code: Select all
MyInstaller.exe /s REBOOTNOW=OK
and
Code: Select all
MyInstaller.exe /s REBOOTCOMPUTER=TRUE
But neither seem to work. Is this functionality available out of the box, or must I alter my MSICode with something like this to make it work and tell users to call the installer with REBOOTCOMPUTER=TRUE in silent mode:
Code: Select all
if Variable SILENT Equals TRUE
if Varaiable REBOOTCOMPUTER Equals TRUE
Reboot Computer
end
end