Hello, I'm adapting wixstdba to use a standard Win32 wizard rather than themes to deal with additional complex processing required during prerequisite checking, requesting and encrypting credentials of databases and other external systems and performing some post processing after the installation.
The call to BalManifestLoad fails and the logs show "Failed to load bootstrapper application manifest.". I narrowed it down to XmlLoadDocumentFromFile failing to load the xml. The bundle.wxs file looks as follows: --- BEGIN SNIPPET ------------------------ <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle Name="Sample.Setup.Bootstrapper" Version="1.0.0.0" Manufacturer="Sample" UpgradeCode="b91f5d77-5ecb-4d1f-9546-078a071fdd50"> <BootstrapperApplication SourceFile="$(var.Sample.Setup.UI.TargetPath)" /> <Chain> <MsiPackage SourceFile="$(var.Sample.Setup.TargetPath)" /> </Chain> </Bundle> </Wix> --- END SNIPPET -------------------------- And the manifest that is being generated in the "%LOCALAPPDATA%\TEMP\<GUID>" folder looks as follows: --- BEGIN SNIPPET ------------------------ <?xml version="1.0" encoding="utf-16"?> <BootstrapperApplicationData xmlns="http://schemas.microsoft.com/wix/2010/BootstrapperApplicationData"> <WixBundleProperties DisplayName="Sample.Setup.Bootstrapper" LogPathVariable="WixBundleLog" Compressed="no" /> <WixPackageProperties Package="Sample.Setup.msi" Vital="yes" DisplayName="Sample" DownloadSize="32864" PackageSize="32864" InstalledSize="14" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_Sample.Setup.msi" RollbackLogPathVariable="WixBundleRollbackLog_Sample.Setup.msi" Compressed="yes" /> </BootstrapperApplicationData> --- END SNIPPET ------------------------- The file is an XML file, however, its unclear why XmlLoadDocumentFromFile would fail. Documentation about how to implement a boostrapper from scratch and how it works is almost nonexistent. This makes it rather difficult to diagnose issues like this. I'd appreciate any help. Thanks, Werner ------------------------------------------------------------------------------ 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