Thank you, you were right.  I guess there's no need to distinguish between
4.0 and 4.5.


On Thu, Aug 8, 2013 at 10:46 PM, Blair Murri <os...@live.com> wrote:

> In your BootstrapperCore.config, the supportedRuntime and
> supportedFramework elements use different schemas (different values for the
> version attribute, supportedRuntime allows use of the sku attribute while
> supportedFramework allows the runtimeVersion attribute).
>
> I suspect that you are crashing on the presence of the
> supportedFramework's sku attribute. Get rid of it and see what happens.
>
> > Date: Thu, 8 Aug 2013 11:48:01 +0100
> > From: ot...@barjonas.com
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] Failed to create the managed bootstrapper
> application.
> >
> > Hello,
> >
> > I'm having trouble getting my managed custom UI to be loaded by burn.
>  The
> > key error in the log seems to be:
> >
> > Error 0x80131902: Failed to create the managed bootstrapper application.
> >
> > >From research, it seems that this is a very general failure.  The usual
> > problem that seems to cause it is that the BootstrapperApplication
> > attribute is missing from the class library's AssemblyInfo, but that is
> not
> > the case here.  I'm using VB.net, which is obviously different that 99%
> of
> > code samples online, but I can't see what's different about my project.
> > General advice about how to troublshoot this error would be welcome.
>  I've
> > tried Process Monitor (I can see my dll being written out but can't
> really
> > identify where it goes wrong), and fuslogvw.exe (no entries logged at
> all).
> >
> > I'm using WiX 3.7.
> >
> > Here are the relevant fragments from my project:
> >
> > Class Library:
> >
> > App.config
> >
> > <?xml version="1.0"?><configuration>    <startup>
> > <supportedRuntime version="v4.0"
> > sku=".NETFramework,Version=v4.0,Profile=Client"/>
> > <supportedRuntime version="v4\Full"/>      <supportedRuntime
> > version="v4\Client"/>    </startup>    <wix.bootstrapper>      <host
> > assemblyName="MyInstallerUI">        <supportedFramework
> > version="v4.0" sku=".NETFramework,Version=v4.5"/>
> > <supportedFramework version="v4\Full"/>        <supportedFramework
> > version="v4\Client"/>              </host>
> > </wix.bootstrapper></configuration>
> >
> > My bootstrapper subclass:
> >
> > Imports Microsoft.Tools.WindowsInstallerXml.BootstrapperImports
> > System.Windows.Threading
> >  Public Class MyBootstrapper
> >     Inherits BootstrapperApplication
> >
> >     Private moSys As Sys
> >     Private moWindow As MainWindow
> >
> >     Protected Overrides Sub Run()
> >         MessageBox.Show("Running my UI")
> >         moSys = New Sys(Me)
> >         moWindow = New MainWindow With {.DataContext = moSys}
> >         moWindow.Show()
> >         Engine.Detect()
> >         Dispatcher.Run()
> >     End SubEnd Class
> >
> > AssemblyInfo.vb:
> >
> > Imports Microsoft.Tools.WindowsInstallerXml.Bootstrapper
> > ...
> >
> > <Assembly: BootstrapperApplication(GetType(MyBootstrapper))>
> >
> > 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.5" />
> > <supportedRuntime version="v4.0"
> > />    </startup>      <wix.bootstrapper>              <host
> assemblyName="MyInstallerUI" >
> >      <supportedFramework version="v4.0"
> > sku=".NETFramework,Version=v4.5" />                   <supportedFramework
> > version="v4\Full" />                  <supportedFramework
> version="v4\Client"
> > />            </host> </wix.bootstrapper></configuration>
> >
> > My Bundle.wxs:
> >
> > <?xml version="1.0" encoding="UTF-8"?><Wix
> > xmlns="http://schemas.microsoft.com/wix/2006/wi";>     <Bundle Name="Cat
> > Call Client Installer" Version="1.0.0.0" Manufacturer="Cat and Mouse
> > Ltd" UpgradeCode="229a81d7-7a70-4492-b0c5-f72b2f3e2d9e">
> > <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost" >
> >     <PayloadGroupRef Id="UI"/>    </BootstrapperApplicationRef>
> > <Chain>      <PackageGroupRef Id="NetFx45Redist"/>      <MsiPackage
> > Id="MySetup" SourceFile="$(var.MySetup.TargetPath)" Compressed="yes"
> > />    </Chain>    <PayloadGroup Id="UI">      <Payload
> > SourceFile="BootstrapperCore.config" />          <Payload
> > SourceFile="$(var.MyInstallerUI.TargetPath)" />
> > </PayloadGroup>       </Bundle></Wix>
> >
> >
> > All help appreciated.  Thank you,
> >
> > Alphie
> >
> ------------------------------------------------------------------------------
> > Get 100% visibility into Java/.NET code with AppDynamics Lite!
> > It's a free troubleshooting tool designed for production.
> > Get down to code-level detail for bottlenecks, with <2% overhead.
> > Download for free and get started troubleshooting in minutes.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to