卸载基础设施的问题

issue with uninstalling infragistics

我的部门正在升级到更新版本的 infragistics,我被告知需要卸载旧版本并安装新版本。

我进入了控制面板,简单地浏览了列表,并尝试卸载每个 Infragistics 软件包或任何您称之为的软件包。

其中一些卸载得很好,其中一些给我一个错误提示:

There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. contact your support personnel or package vendor.

当我尝试卸载时出现这个特定错误:

Infragistics NetAdvantage Windows Forms 2012.2 Help 

这似乎发生在几乎大多数软件包中,所以另一个我遇到了同样的错误:

Infragistics NetAdvantage Reporting 2012.2 Help
Infragistics NetAdvantage ASP.NET 2012.2 Help

我想通了... 使用旧版本的 Infragistics,每个包最终会得到 3 个不同的文件:

Infragistics NetAdvantage Windows Forms 2012.2
Infragistics NetAdvantage Windows Forms 2012.2 Samples
Infragistics NetAdvantage Windows Forms 2012.2 Help

我卸载前两个没有问题,只有 'Help' 个文件有问题。

经过一些研究,我能够卸载所有这些 'Help' 文件并安装更新版本的 Infragistics 并使其成功运行。

这是我所做的:

-转到注册表编辑器 -HKEY_LOCAL_MACHINE --> 软件 --> 微软 --> 帮助

-在帮助下,您将有 1 个或 2 个名为 v1.0 or/and v2.0.

的文件夹

将 v2.0 更改为 v2.9 - 如果你们都只更改 v2.0,或者如果您只有 v1.0,则将其更改为 v1.9。返回控制面板 --> 程序和功能 --> 修复有问题的 Infragistic 'Help' 文件,您应该能够卸载它们。完成所有文件后,只需将 v2.9 或 v1.9 文件夹重命名为之前的名称即可。

我相信您已经找到了 Infragistics 的论坛帖子,我在其中处理了类似的问题,并准确描述了我在那里描述的解决方法。

安装和可能破坏安装的整个过程就像下面从论坛线程中完全复制的那样:

https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/89266/uninstallation-of-infragistics-windows-forms-2013-3-help

  1. Install VS 2010 and VS 2012 on a Windows 7 machine.

  2. Install Infragistics Windows Forms 2013 vol2 and Infragistics Windows Forms 2014 vol1 on that machine.

  3. Uninstall VS 2012 from the machine.

  4. Uninstall Infragistics 2013 vol2 Help.

Since the above operations completed successfully, we have reinstalled some of the packages back and started to corrupt them in order to try to get similar behavior as in your case. At the end we got similar behavior as you have mentioned after the following steps were taken:

  1. Visual Studio 2012 Uninstalled, and HelpViewer 2.0 installed (Basically this help viewer 2.0 comes and goes with the Visual Studio 2012)

  2. Then when you start the installer "it believes" that you still have Visual Studio 2012 installed on your machine(which isn't true anymore).

  3. When it reaches the point to actually uninstall the content from Visual Studio 2012 it looks for the following catalog name VisualStudio11 in here - C:\ProgramData\Microsoft\HelpLibrary2\Catalogs , which in that case might be not there anymore.

The easiest approach to uninstall the Infragistics Windows Forms Help 2013 vol2 would be to go to your registry entries (if your machine is x64 bits) and temporary Rename the following one - HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.0 to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.9. If the machine is 32 bits, the registry entry would be like - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Help\v2.0. So the next time when you run your .msi installer, it won't find that Help Viewer 2.0 (which actually should work only with Visual Studio 2012 installed), and the Uninstallation process may complete successfully.

If for some reason the uninstallation fails again, you would have to first "Repair" the Help 2013 vol2 .msi, and then "Uninstall" it, while still keeping the registry entry changed. Once you are done with that process and you the help is uninstalled successfully you could rename back the registry entry to its initial value.

实际上,Infragistics 的版本可以并存,当您想升级到较新的版本时,不需要卸载以前的版本。

很高兴能在这里间接帮助到您,但事实证明您的研究能力很强:)

此致,