Friday, November 21, 2008

Build setup project and msi file using command-line

Command build the VS2005 deployment (or setup) project and create the msi file:

"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" SOLUTIONNAME.sln /Build "Release" /project SETUPPROJECTNAME.vdproj /projectconfig "Release"

2 comments:

ramnath said...

hi ashwin ,
not able to build my solution with the command above
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" D:\bck\reports\TriskReportsDeployment_2008.sln /Build "Release" /project D:\bck\reports\Setup1\Setup1.vdproj /projectconfig "Release"

any sugesstion

ramnath said...

hi ashvin,
tried my project not working

"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" D:\bck\reports\TriskReportsDeployment_2008.sln /Build "Release" /project D:\bck\reports\Setup1\Setup1.vdproj /projectconfig "Release"