开发者

VisualStudio 2010 Installer | RemovePreviousVersion behavior in Windows 7

开发者 https://www.devze.com 2023-02-26 15:25 出处:网络
Installer Version 1.0.7 UpgradeCode = GuidXYZ ProductCode = GuidABC RemovePreviousVersions = true DetectNewerInstallations = false

Installer Version 1.0.7

  • UpgradeCode = GuidXYZ
  • ProductCode = GuidABC
  • RemovePreviousVersions = true
  • DetectNewerInstallations = false

Installer Version 1.0.8

  • UpgradeCode = GuidXYZ
  • ProductCode = GuidDEF
  • RemovePreviousVersions = true
  • DetectNewerInstallations = false

In Windows XP installing 1.0.8 removes 1.0.7 successfully.

In Windows 开发者_开发问答7 64 bit Professional installing 1.0.8 does not remove 1.0.7. I still see the entry in the installed Programs.

What am I missing here?

Environment:

  • Visual Studio 2010 Professional SP1
  • .NET 4.0


Do both versions use the same installation type (per-user or per-machine)? This is handled through the ALLUSERS property. If the installation type is not the same, the upgrade is not performed.

You can also try creating a log and see what happens during FindRelatedProducts action.

0

精彩评论

暂无评论...
验证码 换一张
取 消