[wix-users] Burn can't find .net framework installer

Kentie, Marijn ma.kentie at royalihc.com
Thu Mar 17 01:04:36 PDT 2016


Thanks for your reply.
I'm using Wix 3.10.2. Here's the contents of the log:

[0C0C:0CAC][2016-03-16T16:17:46]i001: Burn v3.10.2.2516, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\User\AppData\Local\Temp\{90650044-40FA-4F64-8BFB-255C813ACDD7}\.cr\Install DPDT.exe
[0C0C:0CAC][2016-03-16T16:17:46]i009: Command Line: '"-burn.clean.room=C:\Users\User\Desktop\Install DPDT.exe"'
[0C0C:0CAC][2016-03-16T16:17:46]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\User\Desktop\Install DPDT.exe'
[0C0C:0CAC][2016-03-16T16:17:46]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\User\Desktop\'
[0C0C:0CAC][2016-03-16T16:17:46]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\User\AppData\Local\Temp\DPDT_4.0.22175.180_20160316161746.log'
[0C0C:0CAC][2016-03-16T16:17:46]i052: Condition 'WixBundleInstalled OR VersionNT64 > v6.1 OR (VersionNT64 = v6.1 AND ServicePackLevel >= 1)' evaluates to true.
[0C0C:0CAC][2016-03-16T16:17:46]i000: Setting string variable 'WixBundleName' to value 'DPDT 4.0.22175.180'
[0C0C:0CAC][2016-03-16T16:17:46]i000: Setting string variable 'WixBundleManufacturer' to value 'IHC Systems'
[0C0C:02B0][2016-03-16T16:17:46]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[0C0C:02B0][2016-03-16T16:17:46]i000: Setting version variable 'WixBundleFileVersion' to value '4.0.22175.180'
[0C0C:0CAC][2016-03-16T16:17:46]i100: Detect begin, 2 packages
[0C0C:0CAC][2016-03-16T16:17:46]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full'
[0C0C:0CAC][2016-03-16T16:17:46]i052: Condition 'NETFRAMEWORK45 >= 393295' evaluates to false.
[0C0C:0CAC][2016-03-16T16:17:46]i101: Detected package: NetFx46Redist, state: Absent, cached: None
[0C0C:0CAC][2016-03-16T16:17:46]i101: Detected package: Installer, state: Absent, cached: None
[0C0C:0CAC][2016-03-16T16:17:46]i199: Detect complete, result: 0x0
[0C0C:02B0][2016-03-16T16:17:49]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 0
[0C0C:0CAC][2016-03-16T16:17:49]i200: Plan begin, 2 packages, action: Install
[0C0C:0CAC][2016-03-16T16:17:49]w321: Skipping dependency registration on package with no dependency providers: NetFx46Redist
[0C0C:0CAC][2016-03-16T16:17:49]i000: Setting string variable 'NetFx46FullLog' to value 'C:\Users\User\AppData\Local\Temp\DPDT_4.0.22175.180_20160316161746_000_NetFx46Redist.log'
[0C0C:0CAC][2016-03-16T16:17:49]i000: Setting string variable 'WixBundleRollbackLog_Installer' to value 'C:\Users\User\AppData\Local\Temp\DPDT_4.0.22175.180_20160316161746_001_Installer_rollback.log'
[0C0C:0CAC][2016-03-16T16:17:49]i000: Setting string variable 'WixBundleLog_Installer' to value 'C:\Users\User\AppData\Local\Temp\DPDT_4.0.22175.180_20160316161746_001_Installer.log'
[0C0C:0CAC][2016-03-16T16:17:49]i201: Planned package: NetFx46Redist, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0C0C:0CAC][2016-03-16T16:17:49]i201: Planned package: Installer, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0C0C:0CAC][2016-03-16T16:17:49]i299: Plan complete, result: 0x0
[0C0C:0CAC][2016-03-16T16:17:49]i300: Apply begin
[0C0C:0CAC][2016-03-16T16:17:49]i010: Launching elevated engine process.
[0C0C:0CAC][2016-03-16T16:17:53]i011: Launched elevated engine process.
[0C0C:0CAC][2016-03-16T16:17:54]i012: Connected to elevated engine.
[0E14:0D7C][2016-03-16T16:17:54]i358: Pausing automatic updates.
[0E14:0D7C][2016-03-16T16:17:54]i359: Paused automatic updates.
[0E14:0D7C][2016-03-16T16:17:54]i360: Creating a system restore point.
[0E14:0D7C][2016-03-16T16:17:58]i361: Created a system restore point.
[0E14:0D7C][2016-03-16T16:17:58]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5f029c1c-9ffa-411c-9fe1-295fe566921e}, options: 0x7, disable resume: No
[0E14:0D7C][2016-03-16T16:17:58]i000: Caching bundle from: 'C:\Users\User\AppData\Local\Temp\{2EB3D3D2-3BC3-44B1-B9F8-34D86BE4BB33}\.be\Install DPDT.exe' to: 'C:\ProgramData\Package Cache\{5f029c1c-9ffa-411c-9fe1-295fe566921e}\Install DPDT.exe'
[0E14:0D7C][2016-03-16T16:17:58]i320: Registering bundle dependency provider: {5f029c1c-9ffa-411c-9fe1-295fe566921e}, version: 4.0.22175.180
[0E14:0D7C][2016-03-16T16:17:58]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5f029c1c-9ffa-411c-9fe1-295fe566921e}, resume: Active, restart initiated: No, disable resume: No
[0C0C:0E8C][2016-03-16T16:17:58]w343: Prompt for source of package: NetFx46Redist, payload: NetFx46Redist, path: C:\Users\User\Desktop\redist\NDP46-KB3045557-x86-x64-AllOS-ENU.exe
[0C0C:0E8C][2016-03-16T16:17:58]i338: Acquiring package: NetFx46Redist, payload: NetFx46Redist, download from: http://go.microsoft.com/fwlink/?LinkId=560369
[0C0C:0E8C][2016-03-16T16:17:58]e000: Error 0x80072ee7: Failed to send request to URL: http://go.microsoft.com/fwlink/?LinkId=560369, trying to process HTTP status code anyway.
[0C0C:0E8C][2016-03-16T16:17:58]e000: Error 0x80072ee7: Unknown HTTP status code 0, returned from URL: http://go.microsoft.com/fwlink/?LinkId=560369
[0C0C:0E8C][2016-03-16T16:17:58]e000: Error 0x80072ee7: Failed attempt to download URL: 'http://go.microsoft.com/fwlink/?LinkId=560369' to: 'C:\Users\User\AppData\Local\Temp\{2EB3D3D2-3BC3-44B1-B9F8-34D86BE4BB33}\NetFx46Redist'
[0C0C:0E8C][2016-03-16T16:17:58]e000: Error 0x80072ee7: Failed to acquire payload from: 'http://go.microsoft.com/fwlink/?LinkId=560369' to working path: 'C:\Users\User\AppData\Local\Temp\{2EB3D3D2-3BC3-44B1-B9F8-34D86BE4BB33}\NetFx46Redist'
[0C0C:0E8C][2016-03-16T16:17:58]e313: Failed to acquire payload: NetFx46Redist to working path: C:\Users\User\AppData\Local\Temp\{2EB3D3D2-3BC3-44B1-B9F8-34D86BE4BB33}\NetFx46Redist, error: 0x80072ee7.
[0C0C:0CAC][2016-03-16T16:17:58]e000: Error 0x80072ee7: Failed while caching, aborting execution.
[0E14:0D7C][2016-03-16T16:17:58]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5f029c1c-9ffa-411c-9fe1-295fe566921e}, resume: None, restart: None, disable resume: No
[0E14:0D7C][2016-03-16T16:17:58]i330: Removed bundle dependency provider: {5f029c1c-9ffa-411c-9fe1-295fe566921e}
[0E14:0D7C][2016-03-16T16:17:58]i352: Removing cached bundle: {5f029c1c-9ffa-411c-9fe1-295fe566921e}, from path: C:\ProgramData\Package Cache\{5f029c1c-9ffa-411c-9fe1-295fe566921e}\
[0E14:0D7C][2016-03-16T16:17:58]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5f029c1c-9ffa-411c-9fe1-295fe566921e}, resume: None, restart initiated: No, disable resume: No
[0C0C:0CAC][2016-03-16T16:17:58]i399: Apply complete, result: 0x80072ee7, restart: None, ba requested restart:  No

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: 16 March 2016 17:50
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Burn can't find .net framework installer

What WiX version are you using?  Do you have logs posted anywhere?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Kentie, Marijn
Sent: Wednesday, March 16, 2016 10:41 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Burn can't find .net framework installer

Hi,

I'm trying to install the .net framework without requiring an internet connection.
I've got an issue where the bootstrapper looks for a .net framework installer in the wrong location. Here's my bundle:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
  <?define VERSION=!(bind.packageVersion.Installer) ?>
  <Bundle Name="$(var.PRODUCT) $(var.VERSION)" Version="$(var.VERSION)" Manufacturer="aaa" UpgradeCode="488CDFD7-9E72-41B5-B880-AC4EA1B7EF4F" >
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkSidebarLicense" >
      <bal:WixStandardBootstrapperApplication LicenseUrl="" SuppressOptionsUI="yes" LogoSideFile="$(var.RESOURCEPATH)\Images\BootStrapLeft.png" LogoFile="$(var.RESOURCEPATH)\Images\BootStrapSmall.png" LocalizationFile="Strings1.wxl" />
      <PayloadGroupRef Id="NetFx46RedistPayload" />
    </BootstrapperApplicationRef>

    <Chain>
      <PackageGroupRef Id="NetFx46Redist"/>
      <!-- DisplayInternalUI as we need the feature selection dialog -->
      <MsiPackage Id="Installer" SourceFile="$(var.DPDTSetup.TargetPath)" DisplayInternalUI="yes" />
    </Chain>

    <PayloadGroup Id="NetFx46RedistPayload">
      <Payload Name="redist\NDP46-KB3045557-x86-x64-AllOS-ENU.exe" SourceFile="$(var.SolutionDir)..\ThirdParty\DotNet\NDP46-KB3045557-x86-x64-AllOS-ENU.exe" />
      </PayloadGroup>
    </Bundle>
</Wix>

I have to say that the documentation (http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html) isn't too clear on the necessity of the PayloadGroupRef item, however after having added it, the framework installer is correctly unpacked to C:\Users\User\AppData\Local\Temp\{2EB3D3D2-3BC3-44B1-B9F8-34D86BE4BB33}\.ba\redist\NDP46-KB3045557-x86-x64-AllOS-ENU.exe

However, the bootstrapper seems to search in a location relative to its original location (in this case the desktop), instead of relative to the temp files, the log file says

Prompt for source of package: NetFx46Redist, payload: NetFx46Redist, path: C:\Users\User\Desktop\redist\NDP46-KB3045557-x86-x64-AllOS-ENU.exe
Acquiring package: NetFx46Redist, payload: NetFx46Redist, download from: http://go.microsoft.com/fwlink/?LinkId=560369

Of course, the download fails, as there's no internet connection. I've found people reporting similar issues, but no clear solution other than re-implementing the functionality offered by the WixNetFxExtension.

Thanks,

Marijn

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

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


More information about the wix-users mailing list