I'd say it cannot find the file 'dotNetFx40_Full_x86_x64.exe' - this needs to 
be in the same folder as Bundle.wxs or you need to add a RemotePayload element.

Neil

-----Original Message-----
From: StevenOgilvie [mailto:[email protected]] 
Sent: 04 December 2012 19:02
To: [email protected]
Subject: [WiX-users] Installing Pre-req from DownloadURL...

HI all,

I have my code like this:

<Chain>
          <PackageGroupRef Id="Netfx4Full"/>

<Fragment Id="InstallConditionChecks">

        
        <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"
                      DisplayName="Microsoft .NET Framework 4.0"
                      Cache="no"
                      Compressed="no"
                      PerMachine="yes"
                      Permanent="yes"
                      Vital="yes"
                     
DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=223704";
                      Name="dotNetFx40_Full_x86_x64.exe"
                      InstallCommand="/passive /norestart"
                      DetectCondition="Netfx4FullVersion AND (NOT
VersionNT64 OR Netfx4x64FullVersion)"/>
        </PackageGroup>

But when I try to compile it I get this error:

Error   1       The system cannot find the file 'dotNetFx40_Full_x86_x64.exe'.
C:\Dev\Core Technologies\Main\Setup\TMC_Bootstrapper\Bundle.wxs 140     1
Bootstrapper


what am I doing wrong?

thanks,

Steve



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installing-Pre-req-from-DownloadURL-tp7582237.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely 
access PCs and mobile devices and provide instant support Improve your 
efficiency, and focus on delivering more value-add services Discover what IT 
Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to