Problem building a Setup project

I'm working on a tool to simplify an application's deployment. Hence I'm aiming to automate the build of the setup project.

The Situation: When I use Visual Studio to build the setup project this, creates the msi and exe files and concludes successfully. The problem occurs when I run a command in the command prompt, I keep getting this error "ERROR: Cannot find outputs of project output group '(unable to determine name)'"

The command for the command prompt is:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv "C:\Project's Directory\Project.Setup.vdproj" /Build

Can anyone help me with it. I'm really stuck.

EDIT: The solution to my problem was to create a solution which contains the setup project and the project which is actually the output project of the setup project.

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv "C:\Project's Directory\Project.Setup.sln" /Build

Thanks to everyone.


You can't do this.

The issue is that you have defined your inputs to the setup project as outputs from the other projects in the solution. You have to build the entire solution to use this method.

You can do this but you have to manually link all the files you want into your setup project. It is a bit more tricky but just as doable.

I suspect that you have a setup project that is referencing the output of another project. in this case you need to use

devenv [solutionname] /build

the reason you are getting the error is because visual studio has not compiled the referenced project.

side note: if you are trying to automate a build in vs 2005 or later I would investigate wix as it is easier to automate using msbuild.

Need Your Help

Using Meteor Google Auth with Google Drive API

javascript node.js meteor google-drive-sdk

I'm trying to use Meteor Google Auth with Google Drive API but meteor auth give only an access token, and Google Drive need a lots of other information (

CouchDB - passing MapReduce results into second MapReduce function

performance couchdb mapreduce

Rank amateur at both Map/Reduce and CouchDB here. I have a CouchDB populated with ~600,000 rows of data which indicate views of records. My desire is to produce a graph showing hits per record, ove...