This is what I do to check for .NET 4.0 in the boostrapper...
<Chain>
<PackageGroupRef Id="Netfx4Full"/>
....
</Chain>
</Bundle>
<Fragment Id="InstallConditionChecks">
<!-- Check for .NET 4.0 -->
<WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4Full" />
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework
Setup\NDP\v4\Full" Value="Version" Variable="Netfx4FullVersion" />
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework
Setup\NDP\v4\Full" Value="Version" Variable="Netfx4x64FullVersion" Win64="yes"
/>
<PackageGroup Id="Netfx4Full">
<ExePackage Id="Netfx4Full"
DisplayName="Microsoft .NET Framework 4.0"
Cache="no"
Compressed="no"
PerMachine="yes"
Permanent="yes"
Protocol="netfx4"
Vital="yes"
SourceFile="..\PreReqs\dotNetFx40_Full_x86_x64.exe"
Name="RedistServer\dotNetFx40_Full_x86_x64.exe"
InstallCommand="/passive /norestart"
DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR
Netfx4x64FullVersion)" />
</PackageGroup>
</Fragment>
</Wix>
-----Original Message-----
From: Sam Boman [mailto:[email protected]]
Sent: February-12-13 8:47 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Install Prerequisites (.NET Framework)
But my original Wix UI then goes away. I just want the bootstrapper to check
the .NET Framework.
<?xml version="1.0" encoding="UTF-8"?><Wix
xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle
Name="Bootstrapper" Version="1.0.0.0" Manufacturer="" UpgradeCode="">
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense"/> <Chain>
<!-- .NET 4.5: NetFx45Web --> <PackageGroupRef
Id="NetFx40ClientWeb"/> <MsiPackage Id="MyApplication"
SourceFile="$(var.Msi.TargetPath)"/> </Chain>
</Bundle></Wix>
On Tue, Feb 12, 2013 at 1:34 PM, Sam Boman <[email protected]> wrote:
> Thanks! Do this Bundle needs to be in a separate project? (I can
> create new project: Bootstrapper Project in the Add Project dialog in VS).
>
>
> On Tue, Feb 12, 2013 at 1:06 PM, Pally Sandher <[email protected]>wrote:
>
>> http://wix.sourceforge.net/manual-wix3/install_dotnet.htm
>>
>> Palbinder Sandher
>> Software Platform Engineer
>> T: +44 (0) 141 945 8500
>> F: +44 (0) 141 945 8501
>> http://www.iesve.com
>>
>> **Design, Simulate + Innovate with the <Virtual Environment>**
>> Integrated Environmental Solutions Limited. Registered in Scotland No.
>> SC151456
>> Registered Office - Helix Building, West Of Scotland Science Park,
>> Glasgow G20 0SP Email Disclaimer
>>
>>
>>
>> -----Original Message-----
>> From: Sam Boman [mailto:[email protected]]
>> Sent: 12 February 2013 12:04
>> To: General discussion for Windows Installer XML toolset.
>> Subject: [WiX-users] Install Prerequisites (.NET Framework)
>>
>> Hi!
>>
>> Where can I find a simple example of how to just ensure the
>> installation will check if the user have got a specific version of
>> .NET Framework installed, and if not, download from Microsoft.com?
>>
>> Have this with burn.exe to do? Or is it abandoned?
>>
>> //Sam
>>
>> ---------------------------------------------------------------------
>> --------- Free Next-Gen Firewall Hardware Offer Buy your Sophos
>> next-gen firewall before the end March 2013 and get the hardware for
>> free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> WiX-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> --------- Free Next-Gen Firewall Hardware Offer Buy your Sophos
>> next-gen firewall before the end March 2013 and get the hardware for
>> free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>> _______________________________________________
>> WiX-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 and get the
hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users