本文介绍了RemovePreviousVersions = True但未从目标计算机中删除以前的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的机器最初安装了Visual Studio 2005。那时我创建了一个设置和部署项目。我制作了两个项目版本。一个是版本3.25.6,另一个是版本3.25.7。我在干净的XP专业版SP2虚拟机上安装了3.25.6版。然后我安装了版本3.25.7。这导致虚拟机上的一个版本的程序和添加/删除程序中的一个条目。这是我所期望的,因为RemovePreviousVersions设置为True。

My machine originally had Visual Studio 2005 installed.  At that time I created a setup and deployment project.  I made two builds of the project.  One was version 3.25.6 and the other was version 3.25.7.  I installed version 3.25.6 on a clean XP Pro SP2 virtual machine.  Then I installed version 3.25.7.  This resulted in one version of the program on the virtual machine and one entry in Add/Remove programs.  This is what I would expect since RemovePreviousVersions was set to True.

现在我的机器安装了Visual Studio Team System 2008开发版(版本9.0.21022.8 RTM)。我参加了在VS 2005中创建的安装和部署项目,并进行了两次构建。一个是版本3.26.0,另一个是版本3.26.1。我在干净的XP专业版SP2虚拟机上安装了3.26.0版。然后我安装了版本3.26.1。这导致虚拟机上的程序有两个版本,添加/删除程序中有两个条目。一个用于版本3.26.0,一个用于版本3.26.1。 RemovePreviousVersions属性仍设置为True。我在Orca中打开了两个MSI文件。 ProductCodes是不同的,UpgradeCodes是相同的。为什么不删除以前的版本?

Now my machine has Visual Studio Team System 2008 Development Edition (version 9.0.21022.8 RTM) installed.  I took the setup and deployment project that was created in VS 2005 and made two builds.  One was version 3.26.0 and the other was version 3.26.1.  I installed version 3.26.0 on a clean XP Pro SP2 virtual machine.  Then I installed version 3.26.1.  This resulted in two versions of the program on the virtual machine and two entries in Add/Remove programs.  One for version 3.26.0 and one for version 3.26.1.  The RemovePreviousVersions property is still set to True.  I opened the two MSI files in Orca.  The ProductCodes are different and the UpgradeCodes are the same.  Why isn't the previous version removed?

我将非常感谢您提供的任何帮助。如果您需要任何其他信息,请告诉我。

I would appreciate any help you can offer.  If you need any additional information please let me know.

谢谢 -
Karen Ahmad

Thank you -
Karen Ahmad

推荐答案


这篇关于RemovePreviousVersions = True但未从目标计算机中删除以前的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 23:38