Thanks,

I've added the file to my bootstrapper project and edited it down to 
what I have below and referenced "NetFx45WebFixed" in my bundle. It 
seems to work - I hope I haven't missed something - like I haven't 
changed NetFx45MinRelease.

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"; 
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

   <?define NetFx45MinRelease = 377811?>
   <?define NetFx45WebLinkFixed = 
http://go.microsoft.com/fwlink/?linkid=225704 ?>
   <?define NetFx45EulaLink = http://go.microsoft.com/fwlink/?LinkId=TODO ?>

   <Fragment>
     <util:RegistrySearchRef Id="NETFRAMEWORK45"/>

     <WixVariable Id="WixMbaPrereqPackageId" Value="NetFx45WebFixed" />
     <WixVariable Id="WixMbaPrereqLicenseUrl" 
Value="$(var.NetFx45EulaLink)" />

     <PackageGroup Id="NetFx45WebFixed">
       <ExePackage
           InstallCommand="/q /norestart /ChainingPackage 
&quot;[WixBundleName]&quot; /log [NetFx45FullWebLog].html"
           RepairCommand="/q /norestart /repair /ChainingPackage 
&quot;[WixBundleName]&quot; /log [NetFx45FullWebLog].html"
           UninstallCommand="/uninstall /q /norestart /ChainingPackage 
&quot;[WixBundleName]&quot; /log [NetFx45FullWebLog].html"
           PerMachine="yes"
           DetectCondition="NETFRAMEWORK45 &gt;= $(var.NetFx45MinRelease)"
           Id="NetFx45WebFixed"
           Vital="yes"
           Permanent="yes"
           Protocol="netfx4"
           DownloadUrl="$(var.NetFx45WebLinkFixed)"
           LogPathVariable="NetFx45FullWebLog"
           Compressed="no"
           Name="redist\dotNetFx45_Full_setup.exe">
         <RemotePayload
CertificatePublicKey="D37F6D0F2894D56049061A44596FFA88CBFD1B5B"
CertificateThumbprint="19F8F76F4655074509769C20349FFAECCECD217D"
           Description="Microsoft .NET Framework 4.5 Setup"
           Hash="C22163DDD7881C5E3B73E3B3CFB926A66ACAC7FE"
           ProductName="Microsoft .NET Framework 4.5"
           Size="1003440"
           Version="4.5.50709.17929" />
         </ExePackage>
     </PackageGroup>
   </Fragment>

</Wix>

On 2/10/2012 7:29 p.m., Neil Sleightholm wrote:
> If you get a copy of the source and make a clone of 
> "src\ext\NetFxExtension\wixlib\NetFx4.5.wxs" you can edit it and include it 
> in your project.
>
> (It looks like the redist one is wrong as well - I'd suggest raising a bug so 
> this is not lost.)
>
> Neil
>


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to