Hi all,


We are trying to generate a Bootstrapper Application
"CustomBootstrapperApplication" which inheritate from WixBA (which we got
from the sources of Wix 3.8).


***************************************

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using WixToolset.UX;

using System.Windows.Forms;



namespace CustomBA3

{

    public class CustomBootstrapperApplication : WixBA

    {

        protected override void Run()

        {

            MessageBox.Show("Lets Go");

            base.Run();

        }

    }

}

***************************************





The AssemblyInfo contains

[assembly: BootstrapperApplication(typeof(CustomBootstrapperApplication))]





We have tried different bootstrapperCore.config, as

***************************************

<?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" />

    </startup>

    <wix.bootstrapper>

        <host assemblyName="CustomBootstrapperApplication">

            <supportedFramework version="v4\Full" />

            <supportedFramework version="v4\Client" />

        </host>

    </wix.bootstrapper>

</configuration>

***************************************



or

using

(...)

    <sectionGroup name="wix.bootstrapper"
type="WixToolset.Bootstrapper.BootstrapperSectionGroup, BootstrapperCore">

      <section name="host" type="WixToolset.Bootstrapper.HostSection,
BootstrapperCore" />

(...)





Our bootstrapper is defined  with

(...)

                <Bundle Name="Bootstrapper" Version="1.0.0.0"
Manufacturer="Us" UpgradeCode="bccd71e0-acc1-4691-a990-4bc251bdcf3f">

    <BootstrapperApplicationRef Id='ManagedBootstrapperApplicationHost'>

      <Payload  SourceFile="..\CustomBA3\Bin\Release\CustomBA3.dll" />

      <Payload  Name="BootstrapperCore.config"
SourceFile="..\CustomBA3\BootstrapperCore.config"/>

      <Payload  SourceFile="..\CustomBA3\Bin\Release\BootstrapperCore.dll"
/>

      <Payload  SourceFile="..\CustomBA3\Bin\Release\WixBA.dll" />

      <Payload
SourceFile="..\CustomBA3\Bin\Release\Microsoft.Deployment.WindowsInstaller.dll"/>

    </BootstrapperApplicationRef>

(...)



but unfortunately,



all our tries lead to the following error



[1490:1238][2014-01-09T18:54:13]i001: Burn v3.8.1128.0, Windows v6.2 (Build
9200: Service Pack 0), path:
D:\repository\WebForce\Production\v7.0.0\MI_7.0.0_ServicePacks\InstallerProjects\BootstrapperMI\Bootstrapper\bin\Release\Bootstrapper.exe,
cmdline: ''

[1490:1238][2014-01-09T18:54:13]i000: Setting string variable
'WixBundleLog' to value
'C:\Users\spaes\AppData\Local\Temp\Bootstrapper_20140109185413.log'

[1490:1238][2014-01-09T18:54:13]i000: Setting string variable
'WixBundleOriginalSource' to value
'D:\repository\WebForce\Production\v7.0.0\MI_7.0.0_ServicePacks\InstallerProjects\BootstrapperMI\Bootstrapper\bin\Release\Bootstrapper.exe'

[1490:1238][2014-01-09T18:54:13]i000: Setting string variable
'WixBundleName' to value 'Bootstrapper'

[1490:1238][2014-01-09T18:54:13]i000: Loading managed bootstrapper
application.

[1490:1238][2014-01-09T18:54:13]e000: Error 0x80131040: Failed to create
the managed bootstrapper application.

[1490:1238][2014-01-09T18:54:13]e000: Error 0x80131040: Failed to create UX.

[1490:1238][2014-01-09T18:54:13]e000: Error 0x80131040: Failed to load UX.

[1490:1238][2014-01-09T18:54:13]e000: Error 0x80131040: Failed while
running

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleAction = 4

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleElevated = 0

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleLog =
C:\Users\spaes\AppData\Local\Temp\Bootstrapper_20140109185413.log

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleManufacturer = Us

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleName = Bootstrapper

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleOriginalSource =
D:\repository\WebForce\Production\v7.0.0\MI_7.0.0_ServicePacks\InstallerProjects\BootstrapperMI\Bootstrapper\bin\Release\Bootstrapper.exe

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleProviderKey =
{22fc06d5-55ec-4512-9a67-f12297e8920b}

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleTag =

[1490:1238][2014-01-09T18:54:13]i410: Variable: WixBundleVersion = 1.0.0.0

[1490:1238][2014-01-09T18:54:13]e000: Error 0x80131040: Failed to run
per-user mode.

[1490:1238][2014-01-09T18:54:13]i007: Exit code: 0x80131040, restarting: No
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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