Hi All

I am attempting to force a reboot after installing windows installer
4.5 on windows xp.
The reboot is setup in the bundle.wxs file like the following:

      <ExePackage
        Id="Windows_Installer_XP"
        Cache="no"
        Compressed="no"
        PerMachine="yes"
        Permanent="yes"
        Vital="yes"
        SourceFile="Packages/WindowsXP-KB942288-v3-x86.exe"
        
DownloadUrl="http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/WindowsXP-KB942288-v3-x86.exe";
        DetectCondition="VersionMsi >= v4.5"
        InstallCondition="VersionNT = v5.1"
        InstallCommand="/q">
        <ExitCode Behavior="forceReboot" />
      </ExePackage>

The managed bootstrapper generates the following log entries for the
install and then moves to install complete:

[06D0:0908][2012-02-09T15:29:07]: Applying package:
Windows_Installer_XP, action: Install, path: C:\Documents and
Settings\All Users\Application Data\Package
Cache\86E1CC622DBF4979717B8F76AD73220CDB70400B\WindowsXP-KB942288-v3-x86.exe,
arguments: '"C:\Documents and Settings\All Users\Application
Data\Package 
Cache\86E1CC622DBF4979717B8F76AD73220CDB70400B\WindowsXP-KB942288-v3-x86.exe"
/q'
[08B0:019C][2012-02-09T15:29:21]: Received system request to shut down
the process: critical: No, elevated: No, allowed: No
[08B0:06C4][2012-02-09T15:29:32]: Apply complete, result: 0x0 restart: No
[08B0:06C4][2012-02-09T15:29:32]: Shutting down, exit code: 0x0

Is there code I need to write in the managed boostrapper to make the
reboot actually happen - there seems to be very little documentation
or forum posts around this topic...

Thanks
Grant

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to