[wix-users] supportedFramework versions

William Fisher wfisher at summa.com
Tue Aug 1 13:47:54 PDT 2017


More follow up, sorry for spamming (last time until I get a reply for this
issue):

For supportedRuntime tag:

According to Microsoft (
https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/startup/supportedruntime-element),
the following are true:

Preferred supportedRuntime first (4.0, sku=4.6.2), least preferred last
(3.5, written as "2.0.50727").  So, since we'd LIKE them to have 4.6.2, but
we can get by with 3.5, I have them in this order:

  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
    <supportedRuntime version="v2.0.50727" />
  </startup>

For supportedFramework tag, I've tried a variety of solutions, including no
supportedFramework tag at all, <supportedFramework version="v4.0" /> by
itself, or with <supportedFramework version="v3.5">, or just v3.5 on its
own.

THanks for any suggestions,
Bill



On Tue, Aug 1, 2017 at 3:08 PM William Fisher <wfisher at summa.com> wrote:

> As a follow up, here's a link to the .NET version information on my
> Windows 7 test machine http://imgur.com/fz6R2dF
>
> On Tue, Aug 1, 2017 at 3:03 PM William Fisher <wfisher at summa.com> wrote:
>
>> I'm trying to get my installer to run on anything Windows 7 SP 1 all the
>> way up to Windows 10.  I'm creating a custom bootstrapper.  When I run it
>> in Windows 10, where I have .NET Framework 4.6.2 installed, it comes up no
>> problem.  When I run it on Windows 7, where I don't have 4.6.2 installed,
>> execution fails with the following error:
>>
>> [045C:0E30][2017-08-01T14:54:09]e000: Error 0x8013101b: Failed to create
>> the managed bootstrapper application.
>> [045C:0E30][2017-08-01T14:54:09]e000: Error 0x8013101b: Failed to create
>> UX.
>> [045C:0E30][2017-08-01T14:54:09]e000: Error 0x8013101b: Failed to load UX.
>> [045C:0E30][2017-08-01T14:54:09]e000: Error 0x8013101b: Failed while
>> running
>>
>> Google tells me that the proper version of .NET Framework isn't
>> installed, therefore the installer exe won't run.  Here's my
>> BootstrapperCore.config:
>>
>> <?xml version="1.0" encoding="utf-8" ?>
>> <configuration>
>>   <configSections>
>>     <sectionGroup name="wix.bootstrapper"
>> type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup,
>> BootstrapperCore">
>>       <section name="host"
>> type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection,
>> BootstrapperCore" />
>>     </sectionGroup>
>>   </configSections>
>>   <startup useLegacyV2RuntimeActivationPolicy="true">
>>     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
>>     <supportedRuntime version="v2.0.50727" />
>>   </startup>
>>   <wix.bootstrapper>
>>     <host assemblyName="ApplicationBootstrapper">
>>       <supportedFramework version="v3.5" />
>>       <supportedFramework version="v4.0\Client" />
>>       <supportedFramework version="v4.0\Full" />
>>     </host>
>>   </wix.bootstrapper>
>> </configuration>
>>
>> I need it to run on anything from .NET 3.5 to 4.6.2.  Does anyone have
>> any ideas how to solve that?
>>
>> Thanks,
>> Bill
>> --
>> Bill Fisher   |  Technical Consultant
>> [ *m* ] 412.427.9804 <(412)%20427-9804>
>> wfisher at summa.com
>> [image: [ l ]] billfishersumma
>> <https://linkedin.com/in/billfishersumma>
>> 611 William Penn Place
>> Pittsburgh, PA 15219
>> summa.com <http://www.summa.com/> [image: Summa] <http://www.summa.com/>
>>
> --
> Bill Fisher   |  Technical Consultant
> [ *m* ] 412.427.9804 <(412)%20427-9804>
> wfisher at summa.com
> [image: [ l ]] billfishersumma   <https://linkedin.com/in/billfishersumma>
> 611 William Penn Place
> Pittsburgh, PA 15219
> summa.com <http://www.summa.com/> [image: Summa] <http://www.summa.com/>
>
-- 
Bill Fisher   |  Technical Consultant
[ *m* ] 412.427.9804
wfisher at summa.com
[image: [ l ]] billfishersumma   <https://linkedin.com/in/billfishersumma>
611 William Penn Place
Pittsburgh, PA 15219
summa.com <http://www.summa.com/> [image: Summa] <http://www.summa.com/>



More information about the wix-users mailing list