<p>I think most people here understand the importance of fully automated builds.</p>

<p>The problem is one of our project is now using an integrated Visual Studio Setup project (vdproj) and has recently been ported to Visual Studio 2008. Unfortunatly, those won't build in MSBuild and calling devenv.exe /build on 2008 just crashes, apparently it does that on all multi core computer (!!!). So now I have the choice to either rollback to .Net 2.0 and 2005 or simply ditch Visual Studio deployement, but first, I'd like a second opinion.</p>

<p>Anyone knows of another automated way to build a .vdproj that will not require us to open the IDE and click on stuff?</p>

<hr>

<p>WiX was what I had in mind when saying we would ditch vdproj. Do you have any experience with it, good things, caveat?</p>

[{'answer_id': 3941, 'author': 'Chris Smith', 'author_id': 322, 'author_profile': 'https://Stackoverflow.com/users/322', 'pm_score': 4, 'selected': True, 'text': '<p>The low cost solution is to switch to using ClickOnce, which you can automate using MSBuild. But if you still need to create a Windows Installer package, you will need to convert your project to WiX (pretty straight foward) and build that with your solution. </p>\n\n<p>This will get you started:\n<a href="http://msdn.microsoft.com/en-us/magazine/cc163456.aspx" rel="noreferrer">Automate Releases With MSBuild And Windows Installer XML</a></p>\n'}, {'answer_id': 4068, 'author': 'Chris Smith', 'author_id': 322, 'author_profile': 'https://Stackoverflow.com/users/322', 'pm_score': 2, 'selected': False, 'text': '<p>I\'ve used WiX a little bit before, and generally I found that it\'s great once you figure out what to do but there is a steep learning curve. If you spend a solid day going over the WiX tutorial you should be be able to get 80% of your setup working.</p>\n\n<p><a href="http://wix.sourceforge.net/tutorial.html" rel="nofollow noreferrer">WiX Toolset Tutorial</a></p>\n'}, {'answer_id': 1337278, 'author': 'TheZenker', 'author_id': 10552, 'author_profile': 'https://Stackoverflow.com/users/10552', 'pm_score': 1, 'selected': False, 'text': '<p>I had the same requirement and ended up using what is suggested in these two links</p>\n\n<p><a href="http://geekswithblogs.net/davewill/archive/2009/03/02/129787.aspx" rel="nofollow noreferrer">David Williams Blog</a></p>\n\n<p><a href="http://msdn.microsoft.com/en-us/library/ms404859.aspx" rel="nofollow noreferrer">MSDN article</a></p>\n\n<p>Basically, since Team Build, by itself, will not build the setup projects for you, this approach has you add a new build step after the regular build is complete. This step fires off a second build by launching the devenv.exe. The IDE will build your setup files. The extra build is a bit costly but we only needed it for builds that were going to be pushed out. The Daily build at most would need this customization our CI build does not need to build setup files each time.</p>\n\n<p>After that you execute some Copy commands, once again build steps that show up in your Team System build results, to move the setup files to a network share etc.</p>\n\n<p>It feels a bit like a kluge at first, but it does work, it is also a full-fledged part of the automated build in Team System so it worked for my Continuous Integration goals.</p>\n'}]
['https://Stackoverflow.com/questions/3867', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/42/']