wix-extension

WiX - commit more than one Property to deferred Custom Action

[亡魂溺海] 提交于 2019-12-10 02:56:38
问题 I have a problem with my WiX installer in contact with deferred / immediate custom actions. Please excuse my english. I want to surrender some properties, entered by the user, to a deferred custom action. I know that I need a immediate custom action and "CustomActionData" to do that. I´ve implement it at this way. The binary: <Binary Id='myAction' SourceFile='.\TemplateGeneration.CA.dll'/> The immediate custom action: <CustomAction Id='Datenuebergabe' Property='DoSomething' Value=

Installing .NET redistributable with Wix Bootstrapper (Burn)

拜拜、爱过 提交于 2019-12-07 01:15:21
问题 I'm new to Wix/Burn and am trying to understand some of the fundamentals. I have a simple bootstrapper that installs the required .net 4.0 framework using the following chain: <Chain> <PackageGroupRef Id="NetFx40ClientRedist"/> <MsiPackage Id="MyApp" SourceFile="$(var.WixInstaller.TargetPath)" DisplayInternalUI="yes" /> </Chain> as recommended by How To: Install the .NET Framework Using Burn. The application may be used on servers with no web access so it's important that .net be installed

WiX - commit more than one Property to deferred Custom Action

≡放荡痞女 提交于 2019-12-05 03:38:20
I have a problem with my WiX installer in contact with deferred / immediate custom actions. Please excuse my english. I want to surrender some properties, entered by the user, to a deferred custom action. I know that I need a immediate custom action and "CustomActionData" to do that. I´ve implement it at this way. The binary: <Binary Id='myAction' SourceFile='.\TemplateGeneration.CA.dll'/> The immediate custom action: <CustomAction Id='Datenuebergabe' Property='DoSomething' Value='InstalllocVar=[INSTALLLOCATION]'/> The deferred custom action: <CustomAction Id='TemplateGenerationInstallKey'

WiX XmlConfig: Purpose for nesting XmlConfig in XmlConfig

岁酱吖の 提交于 2019-12-04 01:24:24
问题 What is the purpose and/or gain (other than increased readability for creating/deleting attributes) to nesting an XmlConfig element in another XmlConfig element? Example of what I'm referring to (I'm using WiX 3.6 ): <util:XmlConfig ...> <util:XmlConfig ... /> </util:XmlConfig> 回答1: The short answer: the only purpose of the option to have nested <util:XmlConfig> elements is to be able to add/remove attributes to/from the newly created elements in a more readable way. So, this is basically

The Fragment element contains an unhandled extension element 'util:RegistrySearch'

谁说胖子不能爱 提交于 2019-12-03 23:24:37
Learning how to create Wix Booloader so that I can install .NET framework with my msi install package. Anyway I am stuck with an error for an unhandled extension element. Code is below <?xml version="1.0" encoding="utf-8"?> <!-- # This comment is generated by WixEdit, the specific commandline # arguments for the WiX Toolset are stored here. candleArgs: "<projectfile>" -ext WixBalExtension lightArgs: "<projectname>.wixobj" -ext WixBalExtension --> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Bundle UpgradeCode="80B0ECBE-CAAE

How to add a UI to a WiX 3 installer?

半城伤御伤魂 提交于 2019-12-03 04:08:02
问题 I've tried <UIRef Id="WixUI_Minimal" /> , but I get "Unresolved reference to symbol WixUI:WixUIMinimal". What am I doing wrong? 回答1: The wixui extension is no longer wixui.wixlib. It was rolled into the WixUIExtension. If you are on the command line, add -ext WixUIExtension to the call to light.exe. If you have a WiX project in Visual Studio, add a reference to "WixUIExtension" by right clicking on "References" in the Solution Explorer. See the WiXUI Dialog Sets page for WIX3. 回答2: If you use

How to add a UI to a WiX 3 installer?

匆匆过客 提交于 2019-12-02 17:27:05
I've tried <UIRef Id="WixUI_Minimal" /> , but I get "Unresolved reference to symbol WixUI:WixUIMinimal". What am I doing wrong? Adam Tegen The wixui extension is no longer wixui.wixlib. It was rolled into the WixUIExtension. If you are on the command line, add -ext WixUIExtension to the call to light.exe. If you have a WiX project in Visual Studio, add a reference to "WixUIExtension" by right clicking on "References" in the Solution Explorer . See the WiXUI Dialog Sets page for WIX3 . Remus Rusanu If you use the .wixproj directly via MSBuild, without Visual Studio, the required modification is

Wix: how to uninstall previously installed application that is installed using different installer

点点圈 提交于 2019-12-02 07:25:59
Suppose that you have an installer (not a wix installer) that you downloaded from somewhere. How can you know UpgradeCode of that installer so that you can fill it in in the UpgradeCode section in the new installer that you prepare? Can I learn it from registry somehow? So the question is basically, how to know the UpgradeCode of a program that is installed in the computer. Actually my problem is that my product has been installed with another installer and I am now trying to move it to wix installer. However, I can't find upgrade code in previous installer and I want to find it from installed

wix bootstrapper

冷暖自知 提交于 2019-12-01 13:42:11
I have written a managed wix bootstrapper using WPF. The actual installation steps requires chaining of multiple msi's/exe's and batch files. <Chain> <MsiPackage SourceFile="xxx"/> <ExePackage Id="Test" SourceFile="..\TestBatch.bat" Vital="yes"/> <MsiPackage SourceFile="yyy"/> </Chain> During the execution of each package, a message should be displayed (preferably from the bootstrapper UI) indicating which msi/exe package/ batch file is being executed currently. In short, a ProgressText is needed in the bootstrapper How can I make this happen? Another question: I do not want all the msi's to

wix bootstrapper

▼魔方 西西 提交于 2019-12-01 11:51:18
问题 I have written a managed wix bootstrapper using WPF. The actual installation steps requires chaining of multiple msi's/exe's and batch files. <Chain> <MsiPackage SourceFile="xxx"/> <ExePackage Id="Test" SourceFile="..\TestBatch.bat" Vital="yes"/> <MsiPackage SourceFile="yyy"/> </Chain> During the execution of each package, a message should be displayed (preferably from the bootstrapper UI) indicating which msi/exe package/ batch file is being executed currently. In short, a ProgressText is