wix

Communication with WiX Burn bootstrapper using embedded pipe

别说谁变了你拦得住时间么 提交于 2020-01-03 03:56:09
问题 I'm working on a application, which works on top of WiX bundle, and communicates via embedded pipe (by utilizing ManagedBundleRunner) and receives progress and error updates. Currently I use the standard WiX bootstrapper. However, I will be creating custom managed bootstrapper to implement custom behavior. Part of this new behavior is a bidirectional communication of my application with the bootstrapper. After exploring WiX source (especially Burn engine), I've come up with two approaches: 1)

Failed to get MSI property in UPGRADINGPRODUCTCODE, WIX_UPGRADE_DETECTED

纵然是瞬间 提交于 2020-01-03 03:40:10
问题 I wanted to skip some of my custom actions during upgrade, uninstallDriver , to achieve this I have tried to retrieve property WIX_UPGRADE_DETECTED and UPGRADINGPRODUCTCODE , but both of them are not set. Sample code: UninstallDriver(MSIHANDLE hInstall) { char szBuff[1024]; DWORD dwValue = 0; OutputDebugStringA("UninstallDriver"); MsiGetPropertyA(hInstall, "UPGRADINGPRODUCTCODE", szBuff, &dwValue); OutputDebugStringA("UPGRADINGPRODUCTCODE");OutputDebugStringA(szBuff); MsiGetPropertyA(hInstall

custom dialog when previous version exists

旧时模样 提交于 2020-01-03 03:09:08
问题 I want to customize my installer to show custom dialog when previous version is already installed. After the welcome dialog user should see a custom dialog that says, "A previous version already exists do you want to continue". Any help is welcome. 回答1: Check this document, to add Custom Dialog in standard WIX Dialogs.You can use Upgrade to find the previous version installed. Set OnlyDetect attribute to yes, to avoid uninstall previous versions. <Upgrade Id="{CE61D541-9988-4DA7-B748

Generating beans for wix.xsd with jaxb fails since schema seems to be invalid

房东的猫 提交于 2020-01-03 03:05:37
问题 I'm using JAXB (from Java 7) to generate beans for the schema definitions of WiX. But this generation fails since the wix.xsd (from the source tree of WiX 3.7) contains some regex with word boundary and other delimiters which are not allowed in a regex inside an xml schema definition. Is there any way to proceed besides changing the schema definitions? 来源: https://stackoverflow.com/questions/17680481/generating-beans-for-wix-xsd-with-jaxb-fails-since-schema-seems-to-be-invalid

Restart Manager Dialog Localizing Partially for Wix Installer

雨燕双飞 提交于 2020-01-02 21:55:34
问题 We have a legacy InstallShield installer for a product, for which we are porting that product to wix installer. I observed a improper behavior of localization in Restart Manager dialog only during ARP uninstallation, for which only the description part is getting localized and below radio buttons text is not localized. Screenshot at the end. But in the InstallShield installer it was proper. I couldn't trace what was missing here in my wix installer for this inconsistent behavior. I tried

Bundle invalid payload reason: 0x80070570

天涯浪子 提交于 2020-01-02 10:36:11
问题 Wix 3.6. I'm trying to run a bundle : <Bundle Name="Setup" Version="1.0.0.0" Manufacturer="Bentley" UpgradeCode="37d68094-0b98-4b16-bfbe-7f0d3015064a"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" /> <Chain> <MsiPackage SourceFile="path/to/MyMsiFileWhichIsFine.msi" Cache="yes" Compressed="no" InstallCondition="1"/> </Chain> Result from execution : 0x800b0109 A certification chain processed, but terminated in a root certificate which is not trusted by the

Making WiX Bootstrapper work for bootstrapping with .NET 4.0

纵饮孤独 提交于 2020-01-02 06:57:08
问题 I've been looking to make my bootstrapper work with installing .NET 4.0 and my own application. I reviewed several blogs and tutorials, but I can't get it to work. I read in Stack Overflow question Initiate / call bootstrapper in WiX that you need to invoke both in the bootstrapper. My bootstrapper only invokes the .NET 4.0 installer. This is the part that should invoke both parts: <Chain> <PackageGroupRef Id="NetFx40Redist" /> <MsiPackage SourceFile="C:\my app.msi" Cache="yes" Visible="no"

How do you uninstall another program in wix installer?

我只是一个虾纸丫 提交于 2020-01-02 05:30:16
问题 I have lost the GUID's for my old installer. I managed to get the upgrade id using Orca but it still does not remove the old version from the programs and features list. How can I uninstall an old msi/bootstrapper with a completely new one? 回答1: If you have a MSI to uninstall (i.e. not a bootstrapper) then you should be able to uninstall it with WIX <Upgrade> element, by specifying it there like that: <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is installed." />

Add a summary information to WiX generated MSI

☆樱花仙子☆ 提交于 2020-01-02 04:56:22
问题 How to add (or change a default values) a summary page information to a WiX-generated MSI file? Summary page is the tab page which is visible if you right click on the MSI file in the Windows Explorer and includes following text fields: Title, Subject, Author, Category, Keywords, Comments alt text http://img151.imagevenue.com/img.php?image=13824_msi_summary_122_495lo.jpg 回答1: Further to @Stefan answer, here's a mapping of Wix items to msi details properties. have not found a way to set

Cannot create registry key value with WiX installer

六月ゝ 毕业季﹏ 提交于 2020-01-02 04:30:12
问题 The below component does everything as expected, but fails to write the last registry key value. I get no errors. <Component Id="ProgramMenuDir" Guid="68977683-3F36-45EF-9FF4-7B9461A42D06"> <RemoveFolder Id="ProgramMenuDir" On="uninstall" /> <RegistryKey Root="HKLM" Key="Software\Wow6432Node\[Manufacturer]\[ProductName]" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes"> <RegistryValue Type="string" Name="APIUrl" Value="http://api.blah/" KeyPath="yes" /> <RegistryValue Type="string"