Vasyl Boroviak
Vasyl Boroviak

Reputation: 6128

VS2008 deployment project. Change UpgradeCode for every build

Is it possible to setup vdproj so as new UpgradeCode is generated for every new .msi?

Why I need this. We have only one deployment project, only one application. It is very convenient (for non-developing audience) to double-click .msi file and reinstall it disregarding any other application already installed. Most often it is necessary when QA guys need to install same version (but different .msi) into their system.

Thank you.

Upvotes: 1

Views: 757

Answers (1)

sourcenouveau
sourcenouveau

Reputation: 30524

You should be able to use some of the information in the first answer for the question How to keep the installer’s version number in sync with the installed assemblies' version numbers?

They reference a script at CodeProject which you could modify to do what you wanted:

http://www.codeproject.com/KB/install/NewSetupVersion.aspx

Upvotes: 1

Related Questions