wix3.5

patching using purely WIX

孤街醉人 提交于 2019-12-05 02:53:25
问题 I am struggling with creating a patch purely using WIX and I was hoping if someone could guide me in the right direction. I have a few hundred source files and I run heat against them to create a harvest file followed by creating a package using candle and light. I need to change a few configuration files and I create a 2nd package with the changes. Using Torch and pyro I create the .wixmst file and then when trying to create the msp file, pyro complains with the following error. pyro.exe :

WiX unresolved reference to symbol media 1 in section fragment

匆匆过客 提交于 2019-12-05 01:59:31
I am trying to build my WiX Project in Visual Studio 2010, but everytime I build, I receive the following error messages: Unresolved reference to symbol 'Media1' in section 'Fragment:' Unresolved reference to symbol 'Media1' in section 'Product{67DC7AE3-030F-4A24-AC3F-7AE7D0C32D07}' The project includes one Product.wxs file and one heat-generated wxs someComponents.wxs (my fragment) file. I am referencing components in the heat-generated wxs file in Product.wxs. The sections where I am getting the errors are as follows: Product.wxs file <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id

Editing Web.Config Connection string settings with Wix

醉酒当歌 提交于 2019-12-04 20:19:52
问题 I am currently attempting to modify my Wix(V3.5) installer to edit the Web.config settings of the .NET application i want to install. This is fine for normal ASP.NET applications but now im attempting to apply my Wix set up project to an Entity Framework .NET application , which as you may know has a more complicated Connection string setting with model .csdl and .ssdl settings. So if my web.config connection string setting looks somehting like this :(where [DBSERVER] & [DBNAME] are

How can I set recovery-options of a service with WiX?

邮差的信 提交于 2019-12-04 16:16:34
问题 I have following .wxs-file: <?xml version="1.0" encoding="UTF-8"?> <?define ProductVersion="x.x.x.x" ?> <?define UpgradeCode="{**MYGUID**}" ?> <?define Manufacturer="My Company" ?> <?define ProductName="My Product" ?> <?define SkuName="MyProduct" ?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)"> <Package InstallerVersion="301"

How can I get WiX to call a method in a .NET assembly as part of the installation process?

拜拜、爱过 提交于 2019-12-04 15:43:24
I'm migrating some existing products to use WiX 3.5 (I'm using the Votive VS integration). Some of the items I'm installing need to be registered with a third-party framework. The requirement is that I must call a Register() method in a third party .NET assembly to inform it of the presence of the items I'm installing. It expects a COM ProgID. I can't figure out how to get WiX to do this. I thought about creating a binary Custom Action, but I can't find a way of passing a parameter (a string containing the ProgID) into that custom action. I don't want to hard-code it because I need this to be

WIX radio button group

谁说胖子不能爱 提交于 2019-12-04 13:06:55
问题 I am stuck in doing with WIX radio group button,I want to know Whether i can able to disable text box based on selection of WIX radio group button like mentioned in the image below. And how is it possible to save selection of radio group button value.As i needed the selected radio box value and save in registry. for registry is it possible to assign the 1st text box value based on this condition? <Condition><![CDATA[if (RADIOGROUP=1)<Property Id="RADIOGROUP" Value="[TEXTBOX1]" />]]><

WiX CustomActionData is empty in called CustomAction

浪尽此生 提交于 2019-12-04 00:32:07
once again I'm stuck at a problem, that is probably easy to solve. I want to extend a setup, created with WiX, to make changes in the configuration file of the installed program. In order to do this I've created a CustomAction . To be able to change the configuration file, I need to know the (install-)location of it within my CustomAction . Therefore I try passing the INSTALLLOCATION and Filename to my CustomAction . Here lies the problem: The CustomActionData -Attribute is always empty and the setup throws an exception. My CustomAction is a C# DLL file: DemoDatumErzeugen.CA.dll . It contains

WiX install error 2762 while invoking a CustomAction from dialog

别来无恙 提交于 2019-12-03 23:28:47
I am a beginner, started learning WiX. I want to capture and validate and register user details during the installation process. I have created a dialog to capture user registration and invoking a custom action once user clicks on 'Next'. But here I am getting installer error 2762. Though the error description says that "The action must be scheduled between InstallInitialize and InstallFinalize", I am not able to figure out how to resolve this problem. Here is my XML script: <Binary Id="mycustom" SourceFile="..\CustomAction1\bin\Debug\CustomAction1.CA.dll" /> <CustomAction Id="myCustomValidate

Wix 3.5 preprocessor extension - undefined preprocessor function

旧时模样 提交于 2019-12-03 21:38:31
I just using Wix 3.5 with Visual Studio 2010, Windows 7. I unable to make a custom Preprocessor Extension run. I create the extension project in .NET 3.5. and copy the compiled dll into Wix 3.5 program files , plus set the Reference Path in the extension project properties but the Wix project build still failed with " undefined preprocessor function " on my extension. Example: Extension project: WixFileVersionExtension (from wixfileversionext.codeplex.com) Wix program files: "C:\Program Files\Windows Installer XML v3.5\bin" Am I missing something? Google can't answer me. Update: This is a bug

patching using purely WIX

◇◆丶佛笑我妖孽 提交于 2019-12-03 16:33:48
I am struggling with creating a patch purely using WIX and I was hoping if someone could guide me in the right direction. I have a few hundred source files and I run heat against them to create a harvest file followed by creating a package using candle and light. I need to change a few configuration files and I create a 2nd package with the changes. Using Torch and pyro I create the .wixmst file and then when trying to create the msp file, pyro complains with the following error. pyro.exe : error PYRO0252 : No valid transforms were provided to attach to the patch. Check to make sure the