wix3.5

Add a folder to installer in wix not files?

只谈情不闲聊 提交于 2019-12-03 16:07:09
My installer has to copy files into installdir... My application has around 2000 files and it is not possible for me to write the script to add each and every file to the installer. Is there any option in wix so that I can add all the files or the entire folder consisting the files at once? I am new to wix and i didnt find any option in any tutorial for this... Please do assist me and thanks in advance..... Heat is the WiX harvest tool . You can run it on a directory to generate the necessary WiX source code. EDIT: If you want to run heat before your VS project builds, add it to your project

Editing Web.Config Connection string settings with Wix

柔情痞子 提交于 2019-12-03 12:57:00
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 properties retrived from a dialog ) <connectionStrings> <add name="SSITacticalSolutionEntities" connectionString

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

倖福魔咒の 提交于 2019-12-03 11:27:37
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" Compressed="yes" InstallPrivileges="elevated" InstallScope="perMachine" Platform="x86" /> <Media Id="1"

How to execute Custom Action before RemoveExistingProducts with After=“InstallValidate” in WiX

我们两清 提交于 2019-12-03 08:34:53
I have something like this: <InstallExecuteSequence> <RemoveExistingProducts After="InstallValidate"/> </InstallExecuteSequence> Since one of the uninstallation fails i need to execute a Custom Action to solve the problem BEFORE RemoveExistingProducts. Something in the lines of: <CustomAction Id="FixStuff" .. /> <InstallExecuteSequence> <Custom Action="FixStuff" Before="RemoveExistingProducts" /> <RemoveExistingProducts After="InstallValidate"/> </InstallExecuteSequence> This of course doesn't work since Custom Action cannot be before InstallInitialize. I'd really like to remove existing

Web application install with initial IIS settings; using WiX, need upgrade files, NOT changing IIS settings

寵の児 提交于 2019-12-03 01:51:58
问题 I have a WiX install project that includes IIS setings for virtual directory and application settings with an application pool. After initial install, the customer will change the application pool identity from default network service set in wxs. How can I build an update installer that can update web files, but not change the IIS settings, application pool identity back to network service? ComponentGroupRef Id="WebPublishCmp" is the initial heat output of the web files to publish. I have

How to insert a Groupbox and image in setup dialog in wix Installer

时光怂恿深爱的人放手 提交于 2019-12-02 21:37:24
问题 Am developing an installer for my application using wix installer.installer. Wix is really new to me . In that installer am having a custom dialog and where i have kept check boxes inside it. <Control Id="InstallWORD" Type="CheckBox" X="20" Y="200" Width="200" Height="17" Property="INSTALLWORD" CheckBoxValue="1" Text="Install Word Plug-In?" /> the above is the code i used for keeping check box. But now i need to insert a small picture near the checkbox (ie) similar like this how to make it

Web application install with initial IIS settings; using WiX, need upgrade files, NOT changing IIS settings

只愿长相守 提交于 2019-12-02 15:19:09
I have a WiX install project that includes IIS setings for virtual directory and application settings with an application pool. After initial install, the customer will change the application pool identity from default network service set in wxs. How can I build an update installer that can update web files, but not change the IIS settings, application pool identity back to network service? ComponentGroupRef Id="WebPublishCmp" is the initial heat output of the web files to publish. I have tried to build a minor upgrade using Torch and Pyro , but I am having issues with Torch diff not detecting

How to insert a Groupbox and image in setup dialog in wix Installer

拜拜、爱过 提交于 2019-12-02 10:14:22
Am developing an installer for my application using wix installer.installer. Wix is really new to me . In that installer am having a custom dialog and where i have kept check boxes inside it. <Control Id="InstallWORD" Type="CheckBox" X="20" Y="200" Width="200" Height="17" Property="INSTALLWORD" CheckBoxValue="1" Text="Install Word Plug-In?" /> the above is the code i used for keeping check box. But now i need to insert a small picture near the checkbox (ie) similar like this how to make it possible in wix installer?? Thanks . Need to add a Binary element to the file: <Binary Id="MainImage"

Not able to send Wix SourceDir path with spaces to custom action ExeCommand

左心房为你撑大大i 提交于 2019-12-02 08:45:02
i am not to able to pass "[SourceDir]" path when SourceDir path has spaces. ex: SourceDir = "C:\Temp\Setup" i am able to send "C:\Temp\Setup" path to custom action SourceDir = "C:\Temp setup\Setup" wix passing only "C:\Temp" to custom action ExeCommand="[SourceDir]Setup" You need to enclose it in quotes like so: ExeCommand=""[SourceDir]Setup"" I found I also had to put in a second set of "s but with an escaping \ "\"[Path with spaces]\"" I believe this is because the text gets interpreted when it gets compiled by wix and then again when it gets installed. Or something like that. Thanks David

Wix - uninstall different product

◇◆丶佛笑我妖孽 提交于 2019-12-01 20:44:25
Our main installer is calling another product (product B) installer This creates two entries in the ""add remove programs" window. When I uninstall the main product product B is not removed from machine. Is there a way that I can uninstall product B when the main product is uninstalled? You can try using a custom action with these settings: it should be scheduled after InstallFinalize in InstallExecuteSequence it should use this condition: REMOVE = "ALL" use ExeCommand attribute to specify the msiexec.exe uninstall command line (you will use the actual ProductCode): msiexec.exe /x <product