wix3

Change Wix Merge Module Package GUID?

When is it necessary to change the package GUID of a merge module? <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt; <Module Id="MyMergeModule" Language="1003" Version="1.0.0.0"> <Package Id="SOME_GUID" Manufacturer="Me" InstallerVersion="301" /> </Module> </Wix> Wix3 requires that the package GUID is explicitly specified...

Wix Compiler Extension Tutorial?

I need to create a WiX Extension to handle interacting with the HTTP API (httpapi.dll) so that I can set URLACLs and SSL bindings for a WCF service that is being installed. As I understand it, I need to create a WiX Compiler Extension, so that I can define an XML grammar (XSD), and then implement a Compiler to turn the XML into records ...

Installing Namespace Extension with Microsoft WIX

What is the best/easiest way to install a namespace extension using wix? Especially how do I install it on Windows 7 with enabled UAC. ...

Wix, Launch application after installation complete, with UAC turned on.

Good day. I've been building an installer for our product using the WIX(Windows Installer XML) technology. The expected behavior is that the product is launched, if the check box is checked after installation. This has been working for some time now, but we found out recently that UAC of Win 7, and Vista is stopping the application fro...

WiX: Utilizing multiple cabs in a very large application

Hi All, I've recently started learning and utilizing WiX, and my first true project with WiX is repackaging a custom configuration of Qt. It's been quite a challenge, as the Qt project is massive. I've managed to smash my way very inelegantly through the process, but have recently reached a snag during linking. I've been receiving Ligh...

Wix upgrade: preselect features

Hi, we're using Wix to create our installers. We're using the UI where one can select the features that need to be installed. Some features are enabled by default and others are disabled. However, these defaults are retained when we run an upgrade. We would like the installer to remember what features were installed and enable them in ...

Can UMDF drivers be packaged/shipped via WiX?

Howdy Internets: I put together a WiX 3.0 package, utilizing the DIFx extensions, with the intentions to install a Windows 7 Sensor (UMDF driver). During installation, DIFXAPP logged "No matching devices found in INF" and simply threw the driver into storage. I read I'm to populate my INF with an appropriate DriverPackageType, but a...

Patch class library / dll's using WiX 3.0

Is it possible to patch dll's using WiX 3.0 ? I am trying to create a WiX 3.0 patch for a .net 3.5 project. The patch has all the static file changes (aspx, config file etc) but the changes made to code behind (dll) is not getting picked up in the patch. ...

How to use WiX to delete a font.

I am creating an installer that also needs to delete the Arial font (I am told Arial will be recreated from a cache if it gets deleted, and that's exactly what I want). Is there a way that I can do this in WiX or will I need to write a custom action? Update: Users of my installer will 90% of the time have a hacked version of Arial whic...

Setting directory using RegistrySearch for not exist directory doesn't work

I am using RegistrySearch to set a property that is one of my directory and i see that when the registry value is of sub directory that doesn't exist than he value of the directory is not set, why is that? In my case the ROLESDIR will be set to empty if the target directory doesn't exist (while the registry still point to it) --> the end...

"Elegant" CruiseControl.Net and WiX integration

I am trying to integrate the automatic generation of MSI installers with my CruiseControl.Net installation. I can see how I can manually build an MSBuild file that calls candle and then light, but I need to make it build installers that can do upgrades, so can I use the BuildLabel (or something of that area) to regenerate new GUIDs for t...

How can I launch an application as Administrator after a WiX MSI has completed?

Hi there I want to launch an application with admin rights after I have completed an installation using a WiX based MSI. I can launch the application just fine, on XP but with Windows 7, it's an issue. The application has a manifest embedded in it that says it should run as administrator and I've changed the impersonate attribute in t...

Wix CopyFile only on target machine

I need to be able to copy a file that exists on the target machines hard-drive based on a registry setting that holds the folder path. I have been trying to get this going for a day or two and am having difficulty, can anyone help? Thanks, B ...

How do I customize what a third party MSM does?

I'm trying to convert a project in Visual Studio 2008 from static linking of the CRT to dynamic linking. This was easy enough, and I added the CRT MSM and policy MSM to my Wix file with no problems. I am not that happy with the MSI that is output though, it is much larger than what I expected. Looking at the MSI with Orca shows three co...

WiX: Prevent 32-bit installer from running on 64-bit Windows

Hi everyone, Due to user confusion, our app requires separate installers for 32-bit and 64-bit versions of Windows. While the 32-bit installer runs fine on win64, it has the potential to create support headaches and we would like to prevent this from happening. I want to prevent the 32-bit MSI installer from running on 64-bit Windows m...

Prevent MSMQ queues from being removed and recreated during a major upgrade

I have an installer which creates MSMQ message queues. During a major upgrade I am noticing that the queues are getting removed and reinstalled. Any suggestions to avoid this from happening? I am currently scheduling remove existing products after InstallInitialize <RemoveExistingProducts After="InstallInitialize"/> ...

Creating a MSI patch (.msp) by hand?

Our team has recently been considering pushing out a minor registry fix to users to modify one particular problematic key. Pretty straightforward stuff, just needed to update 1 key/value inside the registry. So at the moment, we are using Wix to build .msi installers for the product. While looking into Wix's support for generating .msp ...

Can I set IP restrictions using the Wix IIS extension?

Hi, Is it possible to set-up IP address restrictions for an IIS site through a Wix installer? I don't see it mentioned in the IIS extension documentation. I want the site to be available to only one specific IP address. Thanks! ...

How can my WiX uninstall restore a registry value change?

The installer I'm writing using WiX 3.0 uses a RegistryValue element to modify an existing registry value (originally written by our main product). I'm trying to figure out a way to restore the registry value when the user uninstalls my utility. I'd like to avoid using a custom action, but that might be the only recourse? TIA. ...

WiX - Modifying an existing service to be dependent on the service I am installing

Hi all, Using Wix3, its trivial to ensure that a windows service being installed is given a dependency on a service that is already installed on the target machine, but I need to do the opposite - i.e. as part of my install I need to modify the service dependencies of an existing service (i.e. already installed on the target machine), ...