I have two restart situations that do not work.

1) - On Windows 7, .NET framework requires a reboot. (Interestingly it
does not on XP.)  I must do that reboot, because I have managed code
that is used later in the install sequence to check if one of the
dependencies is installed.  I have set the ExePackage/@Protocol to
netfx4 as suggest by Rob in a response to someone else about restarts,
but when say yes to the reboot question in the .net framework installer,
Win 7 will not shut down because the Burn produced bootstrapper is
preventing the shutdown.  A cancel of the shutdown results in an Error
in the bootstrapper.  A manual reboot works at this point, but the
bootstrapper does not auto restart.

2) - Installing Installer 4.5 on Windows XP.  The installer requests a
restart and somehow, the bootstrapper prevents it from running and
restarts the install segment, which proceeds until SQL says, it cannot
continue until the system restarts.  Answering that restart as yes,
forces an error back to the bootstrapper, but again does not restart the
system.

All chained ExePackage dependencies are marked as PerMachine="yes"

The <PackageGroup> for the .NET framework is below.
<PackageGroup   Id="Netfx4Full">
        <ExePackage
                Id="Netfx4Full"
                Protocol="netfx4"
                Cache="no"
                Compressed="no"
                PerMachine="yes"
                Permanent="yes"
                Vital="yes"
        
SourceFile="C:\EntireOne\Bootstrapper\Packages\DotNetFX40\dotNetFx40_Ful
l_x86_x64.exe"
        
DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=164193";
                DetectCondition="Netfx4FullVersion AND (NOT VersionNT64
OR Netfx4x64FullVersion)" />
</PackageGroup>

----------------------------------------------------------------------
Roy Chastain

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to