Hi, I think you mabe need the following in your Assembly.cs 

[assembly: BootstrapperApplication(typeof(Bootstrap))]

Kind regards,
Christoffel le Roux
Software Development Engineer



Finalist: 2011 Microsoft Customer Experience Partner of Year
www.flowcentric.com | Email: christoffe...@flowcentric.com| Mobile: +27 23733 
752 | MSN: christoffler...@hotmail.com


FlowCentric UK/Europe
SoanePoint, 6-8 Market Place
Reading, Berkshire, RG1 2EG
Tel: +44(0) 1189 255 890
FlowCentric Africa/Asia
Fountain Square, 78 Kalkoen Street
Monument Park, 0181
Tel: +27 (0)12 347 4488
FlowCentric Australia/Pacific
Level 18, 333 Ann Street
Brisbane, Qld 4000 
Tel: +61(0)7 3232 1277

This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.





-----Original Message-----
From: Adkins, Christopher [mailto:christopher.adk...@docuware.com] 
Sent: Thursday, August 23, 2012 12:11 PM
To: General discussion for Windows Installer XML toolset. 
(wix-users@lists.sourceforge.net)
Subject: [WiX-users] Burn custom managed UI not starting

Hi everyone,

I am trying to get a custom burn UI working, but I can't even get it to start. 
I have looked at the WiXUX project as an example, but I am stuck on what I am 
doing wrong. The log tells me:

[0428:0BC8][2012-08-23T12:04:17]: Burn v3.6.2928.0, Windows v6.1 (Build 7600: 
Service Pack 0), path: C:\Users\Administrator\Desktop\WebSetup.exe, cmdline: 
'-burn.unelevated BurnPipe.{6CBBF06B-E4A0-46FA-9AAA-7375658D17A8} 
{E0D4EE1A-96F0-4E5C-B8FF-38EF4623E92D} 2064'
[0428:0BC8][2012-08-23T12:04:17]: Setting string variable 'WixBundleLog' to 
value 'C:\Temp\WebSetup.Bootstrapper_20120823120417.log'
[0428:0BC8][2012-08-23T12:04:17]: Setting string variable 
'WixBundleOriginalSource' to value 'C:\Users\Administrator\Desktop\WebSetup.exe'
[0428:0BC8][2012-08-23T12:04:18]: Setting string variable 'WixBundleName' to 
value 'WebSetup.Bootstrapper'
[0428:0BC8][2012-08-23T12:04:18]: Loading managed bootstrapper application.
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed to create the 
managed bootstrapper application.
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed to create UX.
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed to load UX.
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed while running
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleAction = 4
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleElevated = 1
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleLog = 
C:\Temp\WebSetup.Bootstrapper_20120823120417.log
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleName = 
WebSetup.Bootstrapper
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleOriginalSource = 
C:\Users\Administrator\Desktop\WebSetup.exe
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleProviderKey = 
{a153399e-410b-41a3-aa5c-d6391841f7f7}
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleTag =
[0428:0BC8][2012-08-23T12:04:18]: Variable: WixBundleVersion = 1.0.0.0
[0428:0BC8][2012-08-23T12:04:18]: Error 0x80070002: Failed to run per-user mode.
[0428:0BC8][2012-08-23T12:04:18]: Exit code: 0x80070002, restarting: No

The call to the bootstrapper looks like this:

<BootstrapperApplicationRef Id='ManagedBootstrapperApplicationHost'>
         <Payload Name='BootstrapperCore.config' SourceFile='C:\tfs 
\Main\binSetup\Release\Bootstrapper.BootstrapperCore.config' />
         <Payload SourceFile='C:\tfs\ Main\binSetup\Release\Bootstrapper.dll' 
/> </BootstrapperApplicationRef>

And finally the BootstrapperCore.Config looks like this:


<?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="Bootstrapper.dll">

                          <supportedFramework version="v4\Full" />

                          <supportedFramework version="v4\Client" />

                 </host>

         </wix.bootstrapper>

</configuration>

I have also tried changing the children of the wix.bootstrapper element so they 
are all on the same level, but that didn't make a difference. Any help will be 
greatly appreciated.


Mit freundlichen Grüßen | With best regards

Christopher Adkins
Manager Research and Development


------------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to