wix3

WIX 3: Cannot open source files

Hi guys, I have recently cloned the Wix 3 repository from Codeplex to my local machine using TortoiseHG. But when I took a look at the source files, all of them seems to have "i" file extension (eg. _browse_dlg.wxs.i, etc). When I try to open the files in Visual Studio 2008, the contents are encrypted. Is there any solution to this? I n...

How to set a Property in Wix

I'm confused about the correct procedure for setting a Property in Wix. Is it necessary to use an Event? Are there existing, built-in, events and can they be tailored to custom Wix Properties? What I'm trying to do (with Wix 3.0) is install a IIS Virtual Directory using a custom UI. The problem here is that the property I'm attempting to...

Is it possible to run Managed custom action which is written by .net 2.0 in WIx 3.0 on a machine which only installed .net 4?

I am using Wix 3.0 and developed a managed custom action which dotnet framework version is 2.0. Now, I faced a problem. This custom action can not be run in dot net 4.0 only machine, say WinXP SP2 + dotNet 4.0. (For a managed EXE application, I can add app.config to indicate the supportedruntime with 2.0 and 4.0. But for Wix 3.0, I do ...

WiX UI elements in wrong order for Screen Readers

When I create a custom dialog in WiX, I put elements down in the order "Text" "Edit" "Text" "Edit" et. For example: <Control Id="NameText" Type="Text" X="25" Y="50" Width="100" Height="10" Text="Enter Name:"/> <Control Id="NameEdit" Type="Edit" X="25" Y="60" Width="100" Height="15" Text="jo_bob55"/> <Control Id="AgeText" Type="Text" X="...

Cancel an MSI without showing the "installation interrupted" dialog.

I am wondering if it is possible to have the "Cancel" button on my welcome screen completely quit the installer without showing the final "Installation interrupted" dialog. I consider this redundant when the user hasn't even begun the installation yet. I still want the dialog to be shown if the user cancels an installation that has alre...

WiX Installer: How to switch to repair-mode if already installed?

I am new to WiX 3.0 and writing my first installer based on WiX (coming from Wise). If the product is already installed (in the current version), I want the installer to switch to "repair"-mode automatically. It should behave exactly like as if I would have clicked "repair" in the Windows software dialog. It must behave like this to f...

Installer Running When Application Launched As Different User

I have an installer built using WIX 3.0 and have a problem when trying to run the installed application as a different user than the user that ran the installer. When I try to run the installed application as a different user than the user that ran the installer, the installer tries to run again (it's already installed at this point) an...

Wix3 Optionally selecting features

In Wix, how can I construct a feature tree such that when the parent feature is selected via "Will be installed on local drive" some of the child features get selected by default? I see that only when I select "Entire feature will be installed.." option I see that the sub features are also getting selected, but all of them get selected....

How do you get the default IIS Directory in a Wix install package?

I Would like to set my default install location in Wix to go the default IIS directory usually C:\inetpub\wwwroot\ in the XML i have <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="myProduct"> I Assume i can change either the ProgramFi...

Wix properties not being persisted from a WXI (<Control>) to a WXS (<InstallExecuteSequence>)

Hello, I hope you can help me with the following WIX issue: In my main.wxs, I initialize "MYPROPERTY" that then in ui.wxi, I put up a dialog box with a checkbox (that is checked/enabled from the MYPROPERTY that I've setup in the .wxs). I can verify that by unchecking the checkbox, it does flip the value because I enable/disable the "N...

WIX: Heat duplicate id issue with multiple features/folders

Hi, I am newbie to Wix and creating a multi feature Wix project. Our product is having 4 modules and each module has to be included as a feature in the Windows installer. But all features are sharing the same folder structure. I am using commandline to build my Wix project. After harvesting every module into different wxs fragments, t...

ICE32 Error from MSM

I have 4 MSM's that are needed for one of my products and they are all producing ICE32 errors when included. This would normally not bother me cause they are external errors and I still get my MSI and it works perfectly. The problem arrises though, that I can not request help from Microsoft with ANY issues that arise from this particul...

WiX3 major upgrade not working

I have a major upgrade that I am trying to do, but it just doesn't work. It simply installs the new program along side the old one. They are in different directories (as I changed the directory structure with the new version) so there are no conflicts, but the old one NEEDS to be erased in order for my product to function properly. <Pro...

How to specify Assembly attribute in a WiX Fragment generated using Heat.exe from the command line

I am using Heat.exe to harvest a directory containing my DLLs that need to go into the GAC. The fragment is correctly created and I can build my MSI. The problem I am having is that after the wxs source file is created I have to manually edit the file adding the File/@Assembly =".net" attribute. Is there a way to have heat include Assem...

Speeding up WIX compiles

I have a WIX 3.0 installer that is building 88 slightly different builds (cross product of 32 and 64-bit, 11 locales, four editions (Beta, Retail, Evaluation, Different Evaluation). Each build has slightly different contents in addition to localized UI, so I can't just build one configuration with multiple locales. The resulting MSI is...

MSIEmbeddedChainer & MSIEmbeddedUI

i am finding some example source codes for the MSIEmbeddedChainer & MSIEmbeddedUI. wix v3.0 has <EmbeddedChainer> command, but there's no info of how to use (or probably incomplete implementation). i want to chain my msis. however, there are very little details to this topic. msi 4.5 has very nice features with MSIEmbeddedChainer & MSIEm...

Copying multiple files using wildcards/recursively using Wix

Hi, I'm a total noob on Wix (and installers in general) so please forgive me. My goal is to be able to traverse a directory, search for all, say, *.exe files and copy them to a predefined destination folder. Thing is, I don't know what these files are and their names so I can't type them out one by one in the wxs file... hence wildcard...

How to include files in an msi installer using wix?

Hi, I'm pretty sure that this is a basic question but I really don't know where to start... so any help would be really appreciated. I'm creating an msi installer using WiX but how do you include, say an exe file, into the msi installer itself? I mean, when the msi installer is created, I want the exe file to be part of that installer s...

Correct way to implement Wix companion files?

We're currently in the process of upgrading our build scripts from 3.0 to 3.5, and fixing a bunch of old ICE errors along the way. I've read through a number of articles, but I'm slightly confused as to what is usually the best approach to using companion files. Now, assuming File A.manifest is a companion file to A.exe... Originally: ...

WIX: Only check or get IIS settings when web features are being selected for installation

Hi gurus, I am using WIX here. 3.0 to be specific. I have created an installer in which I have about 6 features. 2 of which are websites for IIS. the problem is that, when I deselect the 2 web features, the installer still looks for IIS. How can I avoid that? Especially when I want to install the 4 features on a machine that does not hav...