wix

Problem with Z-index of the controls in WIXUI(Problem of overlapping)

I am trying to design a dialog box for License aggrement and other dialog boxes. Now if I set a image(.jpg/.bmp) in background of my dialog box then the checkbox will get disappear,and it is not visible until I hover the mouse over it. And the same problem appears with a pushbutton. *) I first thought it could be because of the large s...

Forcing Wix to go do a download page for a required component

When I build an MSI in Visual Studio, I have the option of specifying required components (in this case, MSXML6), and if the component isn't installed then the installer would say that it was needed, and would open a browser to the download site for the component. How can I implement this using Wix? (Note that I don't necessarily wan...

Throw a warning in WiX

I am running into a complex situation where I have two install packages. One depends on the install of the other. And uninstall must be done in the correct order as well. I am having a lot of trouble getting the conditions to work to prevent one from being uninstalled if the other is still installed. I keep making conditions that preven...

Why isn't my Wix Property being evaluated?

I'm trying to simulate the InstallURL property of a VS.net install MSI... I've got to the ponit where the WIX MSI will open a browser to the download page that I want it to go to. I thought things were going great because on my test machine, the web page opened when I didn't have the MSXML6 component installed. However things went dow...

Theme for my WiX Installer

Hi, I have seen WiX doing wonders in creating an msi which adopts to the current theme of windows. My curiosity is that whether we can hard code any theme for WiX. Whether we can design the look and feel. Is there any link where somebody has tried it and put their code for others to learn ?? Regards, tvks ...

Modify existinig WIX 2 script to add 64-bit components

I have an installer script written in Wix 2 several years ago. Now I need to add two 64-bit components. One 64-bit DLL to be copied to system32 folder and another b4-bit EXE to ProgramFiles. The installer needs to create registry key. Currently it uses a element to write a key, and a custom action (in 32-bit MSI dll) to write the seri...

Visual Studio 2010 beta 2 and WiX?

Has anybody been using WiX with 2010? I'm not able to get my install projects to work in 2010 and I can't find any info on getting this to work/future plans for support. ...

WIX ServiceInstall - Using comboBox to conditionally install service

Hi All, I have created a WIX setup script to allow the install of a Windows Service. I would like to give the user the ability to choose whether they would like to install under one of the standard accounts (Network Service, Local Service) or whether they would like to install under a user account with which they must supply a username...

Reading an xml value into a property for Wix

In my application installer, I want to read credentials for logging into a database from an xml file. Is there any way that I can do this. If I had to use custom actions, how would I assign the return value into the property? ...

Multiple SqlString actions at different sequences in Wix

I'd like to execute SQL strings at two different sequences in the InstallExecuteSequence. The problem is that it seems if you use the supplied <sql:SqlString \>, they get bundled into the 'InstallSqlData' action. Is there a way to specify that certain SqlString elements get executed at a different stage (so that I can run a separate cu...

In WiX files, what does Name="SourceDir" refer to?

WiX files always seem to include this line: <Directory Id="TARGETDIR" Name="SourceDir"> What is "SourceDir"? What is it used for? It's not a real directory name. Is it some kind of magical value? ...

Register ActiveX exe server using WiX

I have several VB6 ActiveX server exe files which need to be registered on install before they can be used. I have tried using Heat to extract the information but it only generates a file element. These files can be registered by calling them with the /regserver switch and unregister by calling them with the /unregserver switch. I unde...

How do i change my DNS host name using WIX

How do i set my dns hostname for a iis asp.net website i am installing using WIX? everything installs fine but i have to go to path http://localhost/EDSTR2F7 I want to be able to change it so i can get to the site by going http://EDSTR2F7.myhostname.local how do i do that using WIX? is it part of the iis:WebSite, iis:WebAddress, iis:...

How to manage non-file components?

What is the best way to manage components whose contents can't be easily mapped to a keypath (ie file, directory or registry key) ? Here are some of the installed entities I've dealt with over the years that had this problem: Database scripts Scheduled tasks CryptoAPI key pairs HTTP.SYS url reservations Initial installation isn't a ...

What can cause Error 2902 when installing an MSI?

One of our MSI's has started failing with Error 2902. It'll get most of the way through the installation, pop an error box, and then back out the install. We haven't made any major changes to the installer since the last working version. Running msiexec with logging turned on gives a more informative message: Action 17:21:22: Registe...

Setup detect wmp11-windowsxp-x86-enu.exe has changed since it was initially published

Hii, i am working on Bootstrapper which check for windows media player 11 before installing application's msi.i had search for bootstrapper package on google but there is no package.. So,i just download the exe of wmp 11 and make a bootstrapper package with a tool called "Bootstrapper Manifest Generator"..i use the link below for HomeSi...

WIX, Dot Net managed custom Action, dynamically fill combo box with SQL Server instances, MSI

In WIX am in-need of a dot net managed custom code to dynamically populate a combo box with the values of sql server instances in that network. I tried to google but got nothing worked Any help is greatly appreciated. ...

How can we provide absolute path of file to ApplicationFile?

In my scenario I have created two bootstrappers: With Relative Prerequisites (at the local repository). With HomeSite (download from the vendor's website). Now I have to copy my msi file for both of the bootstrappers in two different locations. So can I just put msi at one location and use it for both the bootstrapper? As it saves h...

WiX: Define a File component that may not exist

I need to define a Wix file component that may not exist in certain circumstances. Is there any way to do this? Condition elements in Wix all seem to work at install time, and I need something that'll detect at compile time if a file is present and build the installer accordingly. ...

Wix CustomAction session.Log not working

I'm using Wix to setup a Windows Installer .msi file. I have a CustomAction that sets up a ScheduledTask, and in the CustomAction, I've put in some session.Log statements. If I build everything in debug mode, the session.Log statements seem to work, but when I build in Release mode, it seems to no longer log. Is this correct? Or are ...