Hi,
I'm trying to create a managed bootstrap installer but the error log is telling
me it's failing to create it:
[0AFC:15D4][2012-05-10T17:38:07]: Setting string variable
'WixBundleOriginalSource' to value 'C:\temp\testbundle\Bundle.exe'
[0AFC:15D4][2012-05-10T17:38:08]: Setting string variable 'WixBundleName' to
value 'TestBundle'
[0AFC:15D4][2012-05-10T17:38:08]: Loading managed bootstrapper application.
[0AFC:15D4][2012-05-10T17:38:08]: Error 0x80131508: Failed to create the
managed bootstrapper application.
[0AFC:15D4][2012-05-10T17:38:08]: Error 0x80131508: Failed to create UX.
[0AFC:15D4][2012-05-10T17:38:08]: Error 0x80131508: Failed to load UX.
[0AFC:15D4][2012-05-10T17:38:08]: Error 0x80131508: Failed while running
The .wxs file is below (there is the netfx.wxs as well, taken verbatim from the
Wix Toolset installer source. Obviously there are more MSI packages to go in,
but I pulled them out of this example)
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle Name="TestBundle" Version="1.0.0.0" Manufacturer="test"
UpgradeCode="0BEA4ED5-ABCF-4D5E-B801-283BE568CB29">
<BootstrapperApplicationRef
Id='ManagedBootstrapperApplicationHost'>
<Payload Name="BootstrapperCore.config"
SourceFile="\temp\TestBa\TestBa\bin\Debug\TestBa.BootstrapperCore.config" />
<Payload
SourceFile="\temp\TestBa\TestBa\bin\Debug\TestBa.dll" />
<Payload SourceFile="NetfxLicense.rtf" />
</BootstrapperApplicationRef>
<Chain>
<PackageGroupRef Id='Netfx4Full' />
</Chain>
</Bundle>
</Wix>
The DLL itself is just
namespace TestBa
{
public class TestBa : BootstrapperApplication
{
protected override void Run()
{
MessageBox.Show("Hello World");
Engine.Quit(0);
}
}
}
And the config file:
<?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" />
<supportedRuntime version="v2.0.50727" />
</startup>
<wix.bootstrapper>
<host assemblyName="TestBa">
<supportedFramework version="v4\Full" />
<supportedFramework version="v4\Client" />
<supportedFramework version="v3.5" />
</host>
</wix.bootstrapper>
</configuration>
Any ideas what I've done wrong?
Thanks,
Nigel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users