[wix-users] Debug Managed Bootstrapper

Mark Olbert Mark at arcabama.com
Thu Jun 8 07:27:23 PDT 2017


Thanx for the suggestions. However it happened, I’m now seeing the bootstrapper event logs again (in <user>\AppData\Local\Temp).

Unfortunately, there are no events that I can find in the event log which seem to pertain to the problem (I’ve checked around the time of attempting to launch the bootstrapper app).

Here’s an example log (I’ve highlighted what appears to be the error message):

[A550:AF30][2017-06-08T07:21:26]i001: Burn v3.11.0.1528, Windows v10.0 (Build 15063: Service Pack 0), path: C:\Users\Mark\AppData\Local\Temp\{45D361C4-BB3F-4ED7-89AC-E696EA449D01}\.cr\LanHistoryBootstrapper.exe
[A550:AF30][2017-06-08T07:21:26]i009: Command Line: '-burn.clean.room=C:\Programming\Installers\LanHistory\bootstrapper\bin\Debug\LanHistoryBootstrapper.exe -burn.filehandle.attached=536 -burn.filehandle.self=544'
[A550:AF30][2017-06-08T07:21:26]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Programming\Installers\LanHistory\bootstrapper\bin\Debug\LanHistoryBootstrapper.exe'
[A550:AF30][2017-06-08T07:21:26]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Programming\Installers\LanHistory\bootstrapper\bin\Debug\'
[A550:AF30][2017-06-08T07:21:26]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Mark\AppData\Local\Temp\LanHistory_Manager_20170608072126.log'
[A550:AF30][2017-06-08T07:21:26]i000: Setting string variable 'WixBundleName' to value 'LanHistory Manager'
[A550:AF30][2017-06-08T07:21:26]i000: Setting string variable 'WixBundleManufacturer' to value 'Jump for Joy Software'
[A550:AF30][2017-06-08T07:21:26]i000: Loading managed bootstrapper application.
[A550:AF30][2017-06-08T07:21:26]e000: Error 0x80131508: Failed to create the managed bootstrapper application.
[A550:AF30][2017-06-08T07:21:26]e000: Error 0x80131508: Failed to create UX.
[A550:AF30][2017-06-08T07:21:26]e000: Error 0x80131508: Failed to load UX.
[A550:AF30][2017-06-08T07:21:26]e000: Error 0x80131508: Failed while running
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleAction = 5
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleElevated = 0
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleLog = C:\Users\Mark\AppData\Local\Temp\LanHistory_Manager_20170608072126.log
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleManufacturer = Jump for Joy Software
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleName = LanHistory Manager
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleOriginalSource = C:\Programming\Installers\LanHistory\bootstrapper\bin\Debug\LanHistoryBootstrapper.exe
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleOriginalSourceFolder = C:\Programming\Installers\LanHistory\bootstrapper\bin\Debug\
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleProviderKey = {9a1383bb-d5e8-4101-9880-daf01aa3719c}
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleSourceProcessFolder = C:\Programming\Installers\LanHistory\bootstrapper\bin\Debug\
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleSourceProcessPath = C:\Programming\Installers\LanHistory\bootstrapper\bin\Debug\LanHistoryBootstrapper.exe
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleTag =
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleUILevel = 4
[A550:AF30][2017-06-08T07:21:26]i410: Variable: WixBundleVersion = 0.5.0.0
[A550:AF30][2017-06-08T07:21:26]e000: Error 0x80131508: Failed to run per-user mode.
[A550:AF30][2017-06-08T07:21:26]i007: Exit code: 0x80131508, restarting: No

Does any of this suggest a cause?


  *   Mark

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: John Cooper<mailto:JoCooper at jackhenry.com>
Sent: Thursday, June 8, 2017 6:17 AM
To: WiX Toolset Users Mailing List<mailto:wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Debug Managed Bootstrapper

Check the Event Viewer.  There's usually an Application Exception and a .NET Framework Exception.  The latter is usually quite helpful.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050
JoCooper at jackhenry.com




-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Mark Olbert
Sent: Wednesday, June 7, 2017 11:22 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Debug Managed Bootstrapper

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

I have a managed bootstrapper app which was working correctly but is now failing immediately after launch. In other words, everything compiles and builds correctly, but double-clicking the resulting exe file causes a brief screen flicker, and then nothing.

I've checked for log files in user/appdata/local/temp, and there's nothing (there are files from a few days ago, when the exe was working, but nothing more recent).

How do I figure out what's causing the exe to crash immediately upon launch? I've tried waiting for a debugger attachment when my derived BootstrapperApplication class' constructor is called, but that doesn't work.which says this must be a problem very early in the startup.


  *   Mark

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message,
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution
is strictly prohibited. If you have received this message in error, please
immediately advise the sender by reply email and delete all copies.


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list