[wix-users] .Net Framework install not working

Patterson, Brent bcpatterson at xactware.com
Mon Sep 21 13:42:48 PDT 2015


Sorry, yes you're correct.  It's my managed bootstrapper application that I was referring to, not the burn itself.  This is what I have in configuration:

    <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" />
        <supportedRuntime version="v2.0.50727" />
    </startup>
    <wix.bootstrapper>
        <host assemblyName="CustomUI" />
        <host assemblyName="CustomUI.Res" />
    </wix.bootstrapper>

Apparently 3 and 3.5 is "v2.0.50727" according to MSDN help.  The thing is, it DOES show the prompt that the user needs to install .NET framework to run the application, but after the user confirms, it closes and does nothing.  Is this a bug with Windows Installer or something, or with my application?  The target framework for the bootstrapper application is 3.5.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Monday, September 21, 2015 1:33 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] .Net Framework install not working

Burn does not require any .Net support.  If you have a managed bootstrapper application then the dependency on .Net is introduced and you control which version of .Net you need in your managedApp.BottstrapperCore.config file.  It sounds like your supportedRuntime does not match your expectations.

This is from a mba which runs on 4.5 or later
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
  <wix.bootstrapper>
      <host assemblyName="MyMbaAssembly">
        <supportedFramework version="v4\Client" />
        <supportedFramework version="v4\Full" />
      </host>
  </wix.bootstrapper>

Then the first item in the in the bundle chain should be the package ID for the .Net required by your managed bootstrapper application (in this case 4.5.1.
      <PackageGroupRef Id="NetFx451Web" />

Any other .Net dependencies would be later in your chain.


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Patterson, Brent
Sent: Monday, September 21, 2015 2:01 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] .Net Framework install not working

I've ran into a problem with .NET framework.  My burn bundle requires 3.5 to run, and installs 4.5.2 as part of pre-req mechanism for the software it's installing.  The 4.5.2 part works correctly.  But if the machine the user is installing on does not have 3.5 or higher installed, it prompts the user with Microsoft's "Download and Install .Net Framework" when launching the bundle.  If the user clicks cancel, it simply closes and not launch the burn bundle.  If the user clicks "Download & Install", it seem to do something for a short while, then closes.  But it doesn't install 3.5 .Net.  I don't see a progress bar or anything to indicate that it's running.  Checking task manager does not reveal anything.

To clarify, this is NOT a part of the burn bundle pre-req install, as the burn requires 3.5 to operate.  Is there some kind of setting or something for when building the burn bundle that affects this?  Why is this not working?  We're targeting operating systems that should have 3.5 already installed at minimum, but need to handle cases where some users may have all .net framework uninstalled.  I would assume that with the burn targeting 3.5, Windows should handle .Net installation required to run the bundle.  We're currently using WiX 3.9.

________________________________

Join us for Xactware User Conference 2016 on Feb. 9-10 in Salt Lake City. Stay February 11 for an extra day of free training. Visit xactwareuserconference.com for more information.

________________________________

This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.

____________________________________________________________________
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