Dear fellow developers, 

------------------ 1 ----------------------

I am using the Wix setup bundle as a guide for my own bootstrapper, but it
seems to me that the official Wix installer does not work support installing
.NET 4 Full on 64bit properly?:
I.e. as far as I can tell the DetectCondition is incorrect, because it only
targets 32 bit, and there will be no installation happening on 64bit?

<Fragment>
       <WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4Full" />
       <WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetfxLicense.rtf" />

       <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" Cache="no" Compressed="no"
PerMachine="yes" Permanent="yes" Vital="yes"
SourceFile="dotNetFx40_Full_x86_x64.exe"
 
DownloadUrl="http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6
-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe"
                       DetectCondition="Netfx4FullVersion AND (NOT
VersionNT64 OR Netfx4x64FullVersion)" />

           <!-- ExePackage Id="Netfx4x86"
DownloadUrl="http://download.microsoft.com/download/5/6/4/5641DA81-E6FA-4550
-9F80-A1D862D9CFAA/dotNetFx40_Full_x86.exe" Compressed="no" PerMachine="yes"
Permanent="yes" SourceFile="dotNetFx40_Full_x86.exe" / -->
       </PackageGroup>
   </Fragment>

From:
http://wix.codeplex.com/SourceControl/changeset/view/a782416c7fbc#src%2fSetu
p%2fBundle%2fNetfx.wxs 

i.e. should it be changed to just DetectCondition="Netfx4FullVersion OR
Netfx4x64FullVersion", because the source is dotNetFx40_Full_x86_x64.exe ?

------------------ 2 ----------------------

Also, I am going to try to point to the newest version of .NET 4 - currently
4.0.3 at http://www.microsoft.com/en-us/download/details.aspx?id=29053
Do you think this is better, and will it work?
i.e. 
         SourceFile="NDP40-KB2600211-x86-x64.exe"
 
DownloadUrl="http://download.microsoft.com/download/3/3/9/3396A3CA-BFE8-4C9B
-83D3-CADAE72C17BE/NDP40-KB2600211-x86-x64.exe"                  


Atb, 
Kristjan


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to