Question

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.

Was it helpful?

Solution

Try installing the latest build of WiX 3.5. This is the version that supports VS2010. I don't know if it has been updated for the beta2 release, but there was a new one built 3 days ago.


EDIT: The link above will not work for Visual Studio 2010 post-Beta. For later releases of Visual Studio 2010, use the latest release:

http://wix.sourceforge.net/releases/

and select the latest version.

OTHER TIPS

which version of Wix are you using? last I checked, there was some compatibility issues with wix >=3, votive, and visual studio.

you might have to get a custom build of votive that will load on 2010.

As of October 26, this is what I had to do to get it working:

Download latest of 3.5 http://wix.sourceforge.net/releases/3.5.1023.0/

I snagged Wix35_x64.msi, you grab the other if you run 32bit. I'm not sure what the other (less obvious) files are for (I'm looking at you, ProjectAggregator2).

After installation, Wix projects load (yay!) but don't build (boo) with an error about the path for Candle.EXE being invalid. Apparently, its still looking for "C:\Program Files (x86)\Windows Installer XML v3" on my system.

Created this directory and copied the contents of "C:\Program Files (x86)\Windows Installer XML v35" into it.

Now, apart from some build errors due to changes in some of the $vars, it works.

We added support for Visual Studio 2010 beta 2 in last Friday's build. See http://www.joyofsetup.com/2009/10/30/wix-v3-5-supports-visual-studio-2010-beta-2/.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top