[wix-users] Unable to get .NET 4.6.1 to not install from the internet with Wix Bootstrapper

Barker, Joseph JBarker at ntst.com
Wed Jun 21 13:15:13 PDT 2017


I've got a WiX bootstrapper bundle that I've included the reference to NetFxExtension and added these lines inside my bundle

<Chain>
      <!-- .NET Framework 4.6.1-->
      <PackageGroupRef Id="NetFx461Redist"/>

      <!-- SQL Express 2014 SP2--><!--
      <PackageGroupRef Id="SQLServerExpress2014SP2"/>-->
      </Chain>
      <PayloadGroup Id="NetFx461RedistPayload">
        <Payload Name="NDP461-KB3102436-x86-x64-AllOS-ENU.exe"
                 SourceFile="redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe"/>
      </PayloadGroup>

As per the documentation on how to include .Net redistributable.

I also added the NDP461-KB3102436-x86-x64-AllOS-ENU.exe to my project in a redist folder that resides with my Bundle.wxs

However when I build the exe and attempt to download it from another computer through an IIS server it always starts fine and then just downloads it from the internet.


[0CA0:13D8][2017-06-21T15:05:02]i001: Burn v3.11.0.1701, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\jbarker\AppData\Local\Temp\{3EC99813-287E-4B42-B008-9342D1C10197}\.cr\mobileview.exe
[0CA0:13D8][2017-06-21T15:05:02]i009: Command Line: '"-burn.clean.room=C:\Users\jbarker\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\6HZ3JLLD\mobileview.exe" -burn.filehandle.attached=196 -burn.filehandle.self=204'
[0CA0:13D8][2017-06-21T15:05:02]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\jbarker\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\6HZ3JLLD\mobileview.exe'
[0CA0:13D8][2017-06-21T15:05:02]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\jbarker\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\6HZ3JLLD\'
[0CA0:13D8][2017-06-21T15:05:02]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\jbarker\AppData\Local\Temp\Mobile_View_20170621150502.log'
[0CA0:13D8][2017-06-21T15:05:02]i000: Setting string variable 'WixBundleName' to value 'Mobile View'
[0CA0:13D8][2017-06-21T15:05:02]i000: Setting string variable 'WixBundleManufacturer' to value 'NetSmart'
[0CA0:0BB4][2017-06-21T15:05:02]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[0CA0:0BB4][2017-06-21T15:05:02]i000: Setting version variable 'WixBundleFileVersion' to value '2.0.0.0'
[0CA0:13D8][2017-06-21T15:05:02]i100: Detect begin, 1 packages
[0CA0:13D8][2017-06-21T15:05:02]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full'
[0CA0:13D8][2017-06-21T15:05:02]w120: Detected partially cached package: NetFx461Redist, invalid payload: NetFx461Redist, reason: 0x80070003
[0CA0:13D8][2017-06-21T15:05:02]i052: Condition 'NETFRAMEWORK45 >= 394254' evaluates to false.
[0CA0:13D8][2017-06-21T15:05:02]i101: Detected package: NetFx461Redist, state: Absent, cached: Partial
[0CA0:13D8][2017-06-21T15:05:02]i199: Detect complete, result: 0x0
[0CA0:0BB4][2017-06-21T15:05:05]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 0
[0CA0:13D8][2017-06-21T15:05:05]i200: Plan begin, 1 packages, action: Install
[0CA0:13D8][2017-06-21T15:05:05]w321: Skipping dependency registration on package with no dependency providers: NetFx461Redist
[0CA0:13D8][2017-06-21T15:05:05]i000: Setting string variable 'NetFx461FullLog' to value 'C:\Users\jbarker\AppData\Local\Temp\Mobile_View_20170621150502_000_NetFx461Redist.log'
[0CA0:13D8][2017-06-21T15:05:05]i201: Planned package: NetFx461Redist, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0CA0:13D8][2017-06-21T15:05:05]i299: Plan complete, result: 0x0
[0CA0:13D8][2017-06-21T15:05:05]i300: Apply begin
[0CA0:13D8][2017-06-21T15:05:05]i010: Launching elevated engine process.
[0CA0:13D8][2017-06-21T15:05:07]i011: Launched elevated engine process.
[0CA0:13D8][2017-06-21T15:05:07]i012: Connected to elevated engine.
[0BBC:0D58][2017-06-21T15:05:07]i358: Pausing automatic updates.
[0BBC:0D58][2017-06-21T15:05:07]i359: Paused automatic updates.
[0BBC:0D58][2017-06-21T15:05:07]i360: Creating a system restore point.
[0BBC:0D58][2017-06-21T15:05:07]w363: Could not create system restore point, error: 0x80070422. Continuing...
[0BBC:0D58][2017-06-21T15:05:07]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7b475db9-7cce-4054-83d1-f36e1d01beae}, options: 0x7, disable resume: No
[0BBC:0D58][2017-06-21T15:05:07]i000: Caching bundle from: 'C:\Users\jbarker\AppData\Local\Temp\{E5D5B9EF-4D0C-4C27-8EC8-911F43A28FDC}\.be\MobileView.exe' to: 'C:\ProgramData\Package Cache\{7b475db9-7cce-4054-83d1-f36e1d01beae}\MobileView.exe'
[0BBC:0D58][2017-06-21T15:05:07]i320: Registering bundle dependency provider: {7b475db9-7cce-4054-83d1-f36e1d01beae}, version: 2.0.0.0
[0BBC:0D58][2017-06-21T15:05:07]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7b475db9-7cce-4054-83d1-f36e1d01beae}, resume: Active, restart initiated: No, disable resume: No
[0CA0:0CE8][2017-06-21T15:05:07]w343: Prompt for source of package: NetFx461Redist, payload: NetFx461Redist, path: C:\Users\jbarker\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\6HZ3JLLD\redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe
[0CA0:0CE8][2017-06-21T15:05:07]i338: Acquiring package: NetFx461Redist, payload: NetFx461Redist, download from: http://go.microsoft.com/fwlink/?LinkId=671743
[0BBC:07F0][2017-06-21T15:05:26]i305: Verified acquired payload: NetFx461Redist at path: C:\ProgramData\Package Cache\.unverified\NetFx461Redist, moving to: C:\ProgramData\Package Cache\83D048D171FF44A3CAD9B422137656F585295866\redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe.
[0BBC:0D58][2017-06-21T15:05:26]i301: Applying execute package: NetFx461Redist, action: Install, path: C:\ProgramData\Package Cache\83D048D171FF44A3CAD9B422137656F585295866\redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe, arguments: '"C:\ProgramData\Package Cache\83D048D171FF44A3CAD9B422137656F585295866\redist\NDP461-KB3102436-x86-x64-AllOS-ENU.exe" /q /norestart /ChainingPackage "Mobile View" /log "C:\Users\jbarker\AppData\Local\Temp\Mobile_View_20170621150502_000_NetFx461Redist.log.html"'
Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employer or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and delete the material from your computer. Thank you for your cooperation.


More information about the wix-users mailing list