Blog Archives

Disk Cost Issue with ReserveCost!

  This was an interestingly annoying issue I came across with Windows Installer, when you use the ReserveCost Element to specify the disk space by populating the disk cost for your components in the ReserveCost Table. Here is the scenario:

Posted in Programming, Windows Installer XML Tagged with: ,

CustomActionData in WiX with Deferred Custom Actions

Here is a major gotcha that you will encounter when you try to configure your product with deferred actions using configurable properties during the installation. Deferred actions do NOT have access to the MSI session objects which means that if

Posted in Programming, Windows Installer XML Tagged with: ,

How to print EULA from WiX

Again there is absolutely no documentation out there on this, WiX provides out of the box support for doing this though. Just define a custom action into wixca.dll with entry point PrintEula <CustomAction Id="PrintEula" BinaryKey="wixca" DllEntry="PrintEula" Return="ignore" Execute="immediate" /> And

Posted in Programming, Windows Installer XML Tagged with: , ,

How to customize the install directory dynamically in WiX?

This is one of those elusive topics whose answer is hard to find with googling around, but you will discover that it’s pretty easy, again if only you knew the magic words.   Define this in your Main.wxs: <Property Id="_BrowseProperty"

Posted in Programming, Windows Installer XML Tagged with: ,

WiX tools, Logging and Silent installation

Some useful WiX tools and Windows installer notes: WiXEdit WiXEdit is a decent WiX editor (open source). I used it extensively during the initial UI design, it works for most purposes but don’t expect it to be very intuitive like

Posted in Programming, Windows Installer XML Tagged with: ,

WiX and Databases

Since WiX is still fairly new and is an Open Source project, don’t be surprised if you hear a lot of noise about the little or no documentation available . In this and the coming few posts I am going

Posted in Programming, Windows Installer XML Tagged with: , , ,

Windows Installer XML (WiX)

WiX is an XML based wrapper around the Windows Installer which lets you create Installer packages without you having to get your hands too dirty with the obscurities of dealing with the Windows Installer directly or for that matter if

Posted in Programming, Windows Installer XML Tagged with: ,