简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM