[wix-users] Burn ManagedBA unable to resolve packaged .Net Framework redistributable

Gerhard Matzen gmatzen at osisoft.com
Mon Apr 3 16:42:25 PDT 2017


Does this post help?
http://stackoverflow.com/questions/30186697/package-the-net-redistributable-in-my-burn-bootstrapper/35186969#35186969


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Julius Zint
Sent: Monday, April 3, 2017 4:33 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Burn ManagedBA unable to resolve packaged .Net Framework redistributable

Hi,

I followed this guide
http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html
to install the .Net Framework 4.6.2 with burn. I performed Step 3 (there is a typo on the closing tag i guess <PayloadGroup/> instead of
</PayloadGroup>) and packaged the .Net Framework redistributable as part of the Bootstrapper Application. While everything is compiling fine the Setup is not able to install .Net Framework from the packaged redistributable.

[02E0:0BD4][2017-04-04T01:12:35]w343: Prompt for source of package: 
NetFx462Redist, payload: NetFx462Redist, path: 
C:\Users\testuser\Desktop\redist\NDP462-KB3151800-x86-x64-AllOS-ENU.exe
[02E0:0BD4][2017-04-04T01:12:35]e054: Failed to resolve source for file: 
C:\Users\testuser\Desktop\redist\NDP462-KB3151800-x86-x64-AllOS-ENU.exe,
error: 0x80070002.
[02E0:0BD4][2017-04-04T01:12:35]e000: Error 0x80070002: Failed while prompting for source (original path 'C:\Users\testuser\Desktop\redist\NDP462-KB3151800-x86-x64-AllOS-ENU.exe').
[02E0:0BD4][2017-04-04T01:12:35]e313: Failed to acquire payload: 
NetFx462Redist to working path: 
C:\Users\testuser\AppData\Local\Temp\{CADB7E5F-DBFE-4545-91E2-05B45C4212B9}\NetFx462Redist,
error: 0x80070002.
[02E0:070C][2017-04-04T01:12:35]e000: Error 0x80070002: Failed while caching, aborting execution.

The log shows that it cannot resolve the source of the NetFx462Redist package. The BootstrapperApplicationData.xml contains the following xml.

  <WixPackageProperties Package="NetFx462Redist" Vital="yes" 
DisplayName="Microsoft .NET Framework 4.6.2" Description="Microsoft .NET Framework 4.6.2 Setup" DownloadSize="62008080" PackageSize="62008080" 
InstalledSize="62008080" PackageType="Exe" Permanent="yes" 
LogPathVariable="NetFx462FullLog" 
RollbackLogPathVariable="WixBundleRollbackLog_NetFx462Redist" 
Compressed="no" DisplayInternalUI="no" Version="4.6.1590.0" Cache="yes" 
/>
<WixPayloadProperties Payload="NetFx462Redist" Package="NetFx462Redist" 
Name="redist\NDP462-KB3151800-x86-x64-AllOS-ENU.exe" Size="62008080" 
DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=780600" 
LayoutOnly="no" />
<WixPayloadProperties Payload="pay786B18719BA0A67F93B9C1082F1CBCB8" 
Container="WixAttachedContainer" 
Name="redist\NDP462-KB3151800-x86-x64-AllOS-ENU.exe" Size="62008080" 
LayoutOnly="yes" />

In no temporary folder i was able to find the extracted .Net Framework executable, therefore i cannot use the SetLocalSource() Method provided by the Burn Engine. Im slowly but surley running out of ideas (and coffee). My Bundle.wxs for completeness

<PayloadGroup Id="NetFx462RedistPayload">
      <Payload Name="redist\NDP462-KB3151800-x86-x64-AllOS-ENU.exe" 
SourceFile="..\..\resources\NDP462-KB3151800-x86-x64-AllOS-ENU.exe"/>
</PayloadGroup>

<Chain>
      <PackageGroupRef Id="NetFx462Redist"/>
      <MsiPackage SourceFile="../../output/awin.notenbox.setup.msi" /> </Chain>

Greetings Julius





____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list