Configure Visual Studio “Setup Project” via code

In my solution I have added a Setup Project to deploy my application. For some reason I want to configure it pragmatically not through VS wizards, that is, set “Project Output”, needed assemblies etc. via code. Also I need to make final setup file, again via code.

Thanks for your kind help.

Regards, Behzad


Have you looked at WIX? It may take longer to setup what you need initially, but will be more flexible in long term.

While not strictly an answer to your question, the Github project CLIDE is a command line utility that simplifies creating and managing Visual Studio projects, and makes it easier to manage and build projects using only the compiler (csc.exe) and msbuild.exe . Use it to create a test project that does what you need, and you should be able to figure out the rest from the files it creates.

Need Your Help

How do I discern a country from X/Y Coordinates (or Long/Lat)?

google-maps maps latitude-longitude geocode

I have a number of XY coordinates and am looking to discern which country each of these are in, who knows a good service/way of doing this?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.