[wix-users] Simple bootstrapper crashing

Phill Hogland phill.hogland at rimage.com
Wed Apr 13 14:32:43 PDT 2016

I would enable MSBuild diagnostic level logging and evaluate the log created when building the project.  If using VS go to Tools\Options\Projects and Solutions\MSBuild project output verbosity.  If calling a MSBuild script then pass in the verbosity=diagnostics property. 

Also you could unload your project file .wixproj and view it in an editor.  There will typically be code like
    <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
    <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>

Which I believe makes use of the Environment variable "WIX" which should be defined by the installer on your build system as the path to the tools to be used.  There are probably other details but I hope this helps you track down the issue.

I certainly would recommend using wix 3.10.2 or later, which addresses dll-hijacking security vulnerabilities in prior versions, including in wix 3.8. 
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Arnette, Bill <bill.arnette at signalscape.com>
Sent: Wednesday, April 13, 2016 4:00 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Simple bootstrapper crashing

I have a VERY simple bootstrapper built with Wix 3.8 that crashes immediately on Windows 7

<?xml version="1.0" encoding="UTF-8"?>

<?define msiPackage=$(var.ProjectDir)..\MySetup\bin\$(var.Configuration)\MySetup.msi ?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
<Bundle Name="InterviewerBootstrapper" Version="" Manufacturer="Me" UpgradeCode="59e67001-a9fa-4ce6-8520-69c4d7d7c17d" >
      <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" >
         <MsiPackage Id="MainPackage"
                     Description="My app"
                     DisplayName="My app"

The interesting this is that the log shows the Burn version as 3.10.2?!

5424:63AC][2016-04-13T16:48:11]i001: Burn v3.10.2.2516, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\wta\AppData\Local\Temp\{2E4556E4-508E-4A8F-A0D4-488F9C1747CF}\.cr\InterviewerBootstrapper.exe
[5424:63AC][2016-04-13T16:48:11]i009: Command Line: '"-burn.clean.room=C:\Users\wta\Documents\Visual Studio 2012\Projects\Interviewer\trunk\installation\InterviewerBootstrapper\bin\Debug\InterviewerBootstrapper.exe"'
[5424:63AC][2016-04-13T16:48:11]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\wta\Documents\Visual Studio 2012\Projects\Interviewer\trunk\installation\InterviewerBootstrapper\bin\Debug\InterviewerBootstrapper.exe'
[5424:63AC][2016-04-13T16:48:11]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\wta\Documents\Visual Studio 2012\Projects\Interviewer\trunk\installation\InterviewerBootstrapper\bin\Debug\'
[5424:63AC][2016-04-13T16:48:11]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\wta\AppData\Local\Temp\InterviewerBootstrapper_20160413164811.log'
[5424:63AC][2016-04-13T16:48:11]i000: Setting string variable 'WixBundleName' to value 'InterviewerBootstrapper'
[5424:63AC][2016-04-13T16:48:11]i000: Setting string variable 'WixBundleManufacturer' to value 'Signalscape'
[5424:63AC][2016-04-13T16:48:12]i100: Detect begin, 1 packages
[5424:63AC][2016-04-13T16:48:12]i101: Detected package: MainPackage, state: Absent, cached: None
[5424:63AC][2016-04-13T16:48:12]i199: Detect complete, result: 0x0

I have tried ProcMon to see where Light may be pulling Burn.exe from but that doesn't show anything.   Is it embedded in WixStdBa.dll?

What am I missing here?


--------------------------- This email and any files transmitted with it are confidential and intended solely for the use of Signalscape, Inc. and the addressed individual or entity. If you have received this email in error please delete it. Information in this email may be subject to the Privacy Act of 1974 and any unauthorized review, use, disclosure, or distribution is strictly prohibited. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

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

More information about the wix-users mailing list