[wix-users] BA crashing on Win7

Stewart Lynch stewartlynch8 at gmail.com
Sun May 22 08:37:57 PDT 2016


Replying to me own post. It turned out to be this bug in 3.10.2
https://github.com/wixtoolset/wix3/pull/351
Downloading v3.10.3.2917 fixed the problem. Odd that it only happened on
some Win7 machines.

Stewart.


On Sat, May 21, 2016 at 7:26 PM, Stewart Lynch <stewartlynch8 at gmail.com>
wrote:

> Hi,
>
>
>
> I don’t know if anyone can help or point me in the right direction, but I
> have a bootstrapper application with a custom .net based installer. I have
> my own BA dll which is built into an exe using Burn. It works fine on Win10
> but the exe crashes as soon as it starts on Win7. I’ve tried debugging the
> exe with Visual Studio and get this output:
>
>
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Users\Stewart\Downloads\FramePro_x64_setup.exe'. Cannot find or open
> the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\lpk.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\api-ms-win-core-synch-l1-2-0.dll'. Cannot find or open
> the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Unloaded
> 'C:\Windows\SysWOW64\advapi32.dll'
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Unloaded
> 'C:\Windows\SysWOW64\advapi32.dll'
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msi.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\cabinet.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msxml3.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
>
> The thread 0xa20 has exited with code -2147467260 (0x80004004).
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\feclient.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Windows\SysWOW64\apphelp.dll'. Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Loaded
> 'C:\Users\Stewart\AppData\Local\Temp\{9BD813B6-0F1F-4526-8942-66C51AD80B79}\.cr\FramePro_x64_setup.exe'.
> Cannot find or open the PDB file.
>
> 'FramePro_x64_setup.exe' (Win32): Unloaded
> 'C:\Users\Stewart\AppData\Local\Temp\{9BD813B6-0F1F-4526-8942-66C51AD80B79}\.cr\FramePro_x64_setup.exe'
>
> 'FramePro_x64_setup.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\msi.dll'
>
> 'FramePro_x64_setup.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\msxml3.dll'
>
> 'FramePro_x64_setup.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\bcrypt.dll'
>
> The program '[2504] FramePro_x64_setup.exe' has exited with code
> -532462766 (0xe0434352).
>
>
>
> It doesn’t even seem to get as far as loading my FrameProInstallerBA.dll
>
>
>
> I’ve tried debugging my FrameProInstallerBA.dll by pointing the debug
> launch exe to my installer exe, but it terminates with exit code 0
> immediately giving no information. And anyway, by the look of the output
> above, it hasn’t even got as far as loading my dll.
>
>
>
> I’ve even tried downloading the Wix source to try debugging the burn
> engine, but none of the projects will even load in visual studio because of
> a missing props file that is hard coded to the C drive. I’ve submitted a
> bug about that.
>
>
>
> Can anyone at least point me in the right direction on how I can go about
> debugging this issue? Even just things to try or check, because I’m totally
> out of ideas. If anyone knows of a sample BA dll that builds and installs
> on Win7 that would be a start (WixBA in the src doesn’t load of compile).
>
>
>
> Any help would be greatly appreciated.
>
>
>
> Many thanks,
>
>
>
> Stewart.
>
>
>
>
>
>
>
> Setup details:
>
>
>
> WiX Toolset v3.10.2
>
> Microsoft Visual Studio Community 2015 Version 14.0.25123.00 Update 2
>
>
>
> Bundle.wxs
>
>
>
> <?xml version="1.0" ?>
>
>
>
> <Wix RequiredVersion="3.7.1224.0"
>
>                 xmlns="http://schemas.microsoft.com/wix/2006/wi"
>
>                 xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
>
>                 xmlns:util="http://schemas.microsoft.com/wix/UtilExtension
> ">
>
>
>
>                 <!-- ================================== Bundle
> ========================================= -->
>
>                 <Bundle Version="1.1.3.0"
>
>
> UpgradeCode="820727b2-c23d-4426-9442-ce02abb2c8d8"
>
>                                                 Name="FramePro"
>
>                                                 Manufacturer="PureDev
> Software"
>
>
> IconSourceFile="..\Icon.ico"
>
>                                                 Copyright="Copyright©
> 2015, PureDev Software"
>
>                                                 AboutUrl="
> http://www.puredevsoftware.com"
>
>                                                 HelpUrl="
> http://www.puredevsoftware.com" >
>
>
>
>                                 <BootstrapperApplicationRef
> Id="ManagedBootstrapperApplicationHost">
>
>                                                 <Payload
> SourceFile="..\..\..\Build\FrameProInstallerBA\bin\x86\Release\FrameProInstallerBA.dll"
> />
>
>                                                 <Payload
> SourceFile="..\..\..\Build\FrameProInstallerBA\bin\x86\Release\SCLCoreCLR.dll"
> />
>
>                                                 <Payload
> SourceFile="..\..\..\Build\FrameProInstallerBA\bin\x86\Release\SCLInstaller.dll"
> />
>
>                                                 <Payload
> Name="BootstrapperCore.config"
> SourceFile="..\FrameProInstallerBA\BootrapperCore.config" />
>
>                                                 <Payload
> SourceFile="C:\Program Files (x86)\WiX Toolset
> v3.10\SDK\Microsoft.Deployment.WindowsInstaller.dll"/>
>
>                                 </BootstrapperApplicationRef>
>
>
>
>                                 <Variable Name="InstallFolder"
> Type="string" Value="[ProgramFiles64Folder]PureDevSoftware\FramePro"/>
>
>                                 <util:RegistrySearch Root="HKLM"
> Key="Software\PureDevSoftware\FramePro" Value="InstallDir" Result="exists"
> Variable="InstallFolderTestSearch" Win64="yes" />
>
>                                 <util:RegistrySearch Root="HKLM"
> Key="Software\PureDevSoftware\FramePro" Value="InstallDir"
> Variable="InstallFolder" Condition="InstallFolderTestSearch" Win64="yes" />
>
>
>
>                                 <Variable Name="CodeInstallFolder"
> Type="string" Value="[ProgramFiles64Folder]PureDevSoftware\FramePro"/>
>
>                                 <util:RegistrySearch Root="HKLM"
> Key="Software\PureDevSoftware\FramePro" Value="CodeInstallDir"
> Result="exists" Variable="CodeInstallFolderTestSearch" Win64="yes" />
>
>                                 <util:RegistrySearch Root="HKLM"
> Key="Software\PureDevSoftware\FramePro" Value="CodeInstallDir"
> Variable="CodeInstallFolder" Condition="CodeInstallFolderTestSearch"
> Win64="yes" />
>
>
>
>                                 <Chain>
>
>                                                 <PackageGroupRef
> Id="VS2015Runtime"/>
>
>                                                 <PackageGroupRef
> Id="Netfx4Full" />
>
>                                                 <MsiPackage Id="FramePro"
> Compressed="yes"
> SourceFile="..\..\..\Build\FrameProInstaller64\bin\release\FrameProInstaller64.msi"
> Vital="yes">
>
>
> <MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" />
>
>
> <MsiProperty Name="CODEINSTALLLOCATION" Value="[CodeInstallFolder]" />
>
>                                                 </MsiPackage>
>
>                                 </Chain>
>
>
>
>                 </Bundle>
>
>
>
>                 <!-- ================================ .net 4.0
> ======================================== -->
>
>                 <Fragment>
>
>                                 <WixVariable Id="WixMbaPrereqPackageId"
> Value="Netfx4Full" />
>
>                                 <WixVariable Id="WixMbaPrereqLicenseUrl"
> Value="NetfxLicense.rtf" />
>
>                                 <util:RegistrySearch Root="HKLM"
> Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Version"
> Variable="Netfx4FullVersion" />
>
>                                 <util:RegistrySearch Root="HKLM"
> Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Version"
> Variable="Netfx4x64FullVersion" Win64="yes" />
>
>                                 <PackageGroup Id="Netfx4Full">
>
>                                                 <ExePackage
> Id="Netfx4Full" Cache="no" Compressed="yes" PerMachine="yes"
> Permanent="yes" Vital="yes"
>
>
> InstallCommand="/passive /showfinalerror" UninstallCommand="/passive
> /showfinalerror"
>
>
> SourceFile="..\InstallerData\dotNetFx40_Full_x86_x64.exe"
>
>
> DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR
> Netfx4x64FullVersion)" />
>
>                                 </PackageGroup>
>
>                 </Fragment>
>
>
>
>                 <!-- =========================== VC 2015 Redist
> ====================================== -->
>
>                 <Fragment>
>
>                                 <util:RegistrySearch
>
>             Root="HKLM"
>
>             Key="SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64"
>
>             Value="Installed"
>
>             Variable="VCRedistInstalled" />
>
>
>
>                                 <PackageGroup
>
>             Id="VS2015Runtime">
>
>                                                 <ExePackage
>
>                 Id="VS2015Runtime"
>
>                 Cache="no"
>
>                 Compressed="yes"
>
>                 PerMachine="yes"
>
>                 Permanent="yes"
>
>                 Vital="yes"
>
>
> InstallCommand="/passive /showfinalerror"
>
>
> UninstallCommand="/passive /showfinalerror"
>
>                 SourceFile="..\InstallerData\vc_redist_x64.exe"
>
>                 DetectCondition="VCRedistInstalled">
>
>                                                 </ExePackage>
>
>                                 </PackageGroup>
>
>
>
>                 </Fragment>
>
>
>
> </Wix>
>
>
>
>
>
> BootrapperCore.config
>
>
>
> <?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="FrameProInstallerBA">
>
>                                                 <supportedFramework
> version="v4\Full" />
>
>                                                 <supportedFramework
> version="v4\Client" />
>
>                                 </host>
>
>                 </wix.bootstrapper>
>
> </configuration>
>
>
>



More information about the wix-users mailing list