Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automated release script and Visual Studio Setup projects

I think most people here understand the importance of fully automated builds.

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.

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


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

like image 338
Coincoin Avatar asked Aug 06 '08 19:08

Coincoin


1 Answers

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.

This will get you started: Automate Releases With MSBuild And Windows Installer XML

like image 198
Chris Smith Avatar answered Oct 08 '22 19:10

Chris Smith