Hey!

I have windows program installation bootstrapper project. There is .NET 
framework, Visual Studio C++ redistributable, device driver installer and my 
application installer in chain:

<Chain>
    <PackageGroupRef Id="Netfx45Xxx"/> 
    <ExePackage Id="CppRedist"
            SourceFile="..\redist\vcredist_x86.exe" 
DetectCondition="VC2012CPPX86REDIST">
    </ExePackage> 
    <MsiPackage Id="BlmInstall"
            SourceFile="..\bin\Release\BlmInstall.msi"></MsiPackage>
    <MsiPackage Id="UAUDriver" SourceFile="..\redist\setup.msi"></MsiPackage>
</Chain>
 
I want system to restart after .NET installation and then continue installation 
after reboot automatically. DotNET package group defined as:

<Fragment> 
    <PackageGroup Id="Netfx45Xxx">
    <ExePackage
            Id="Netfx45Xxx"
            Cache="no" Compressed="no"
            PerMachine="yes"
            Permanent="yes"
            Vital="yes" InstallCommand="/q"
           SourceFile="..\redist\dotnetfx45_full_x86_x64.exe"
           DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=225702";
           DetectCondition="NETFRAMEWORK40"
           InstallCondition="(VersionNT >= v6.0 OR VersionNT64 >= v6.0) AND 
(NOT (Netfx4FullVersion=&quot;4.5.50709&quot; OR 
Netfx4x64FullVersion=&quot;4.5.50709&quot;))">
    <ExitCode Value="1641" Behavior="forceReboot"/>
    <ExitCode Value="3010" Behavior="forceReboot"/>
    <ExitCode Value="0" Behavior="success"/>
    </ExePackage>
    </PackageGroup>
</Fragment>
 
* 
When .NET frameworks installation is finished Windows shows its usual window 
containing the list of opened applications and asking user for force reboot. 
The issue is that those list contains my setup application too. It looks very 
lousy when my installation program asking user to abort my herself and force 
reboot. How could it be solved?
* 
After reboot installation continues, but user if forced to read license 
agreement and accept it again. Is it possible to avoid it?

Best regards,
Anton Skornyakov
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to