When you change the Version
property in your Setup project, Visual Studio should prompt you to also change the ProductCode
. You must do this. Then, you must also set the RemovePreviousVersion
property to true. Make sure the UpgradeCode
stays the same.
This is probably the easiest way and, from reading your question, what you are looking for. Note that this is more of an uninstall, then reinstall, than an "upgrade" per se.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…