Marco Gaiarin schrieb: > Mandi! Tomasz Chmielewski > In chel di` si favelave... > >> Don't set it to manual, then (or set it to "disabled"). ;) > > Uh, oh, ah... sorry, it is right... > > >> Adding /norestart to MSI flags and reboot="false" to the XML file should >> prevent rebooting... Or, where is rebooting happening? > > My recipe is: > > <package > id="wpkg" > name="WPKG" > revision="1211" > priority="100" > reboot="false"> > > <check type="uninstall" condition="exists" path="WPKG" /> > > <install cmd='msiexec /qn /i "%SOFTWARE%\WPKG\WPKG Client 1.2.1.msi" SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 REBOOT=ReallySuppress' > > <exit code="0" /> > <exit code="3010" reboot="postponed" /> > </install> > <upgrade cmd='msiexec /qn /i "%SOFTWARE%\WPKG\WPKG Client 1.2.1.msi" SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 REBOOT=ReallySuppress' > > <exit code="0" /> > <exit code="3010" reboot="postponed" /> > </upgrade> > <remove cmd='msiexec /qn /x{FD883F05-6D6B-4E81-8FD7-B209FEF750CD}' /> > </package> > > and i attach the event log. Note the 'System reboot in progress!' entry, but > no reboot happens (tested on an half-dozen box). No reboot happens, because you disabled it (I'm not sure if REBOOT=ReallySuppress is the same as /norestart, but perhaps it is). Still, msiexec exits with code 3010, which means a reboot, as defined in: <exit code="3010" reboot="postponed" /> On the other hand, you have reboot="false", so the two contradict itself a bit? In that case, wpkg.js saying "System reboot in progress!" would be misleading, I guess? -- Tomasz Chmielewski http://wpkg.org |