"Error applying transforms. Verify that the specified transform path are valid." 卸载时

"Error applying transforms. Verify that the specified transform path are valid." when uninstalling

我正在尝试卸载 Crystal Visual Studio 2011 报告,并安装 Crystal Visual Studio 2019 报告。我收到错误消息“应用转换时出错.验证指定的转换路径是否有效。”卸载程序时。因此,无法安装较新版本的 Crystal Report for VS 2019。

我四处搜索,有些帖子说 windows 注册表项导致了问题。我找不到解决方法。

非常感谢您的回复。

Crystal 报告:我想知道您是否从不再可用的网络共享安装,或者指定给您的转换的 UNC 路径被阻止或以其他方式不正确的路径。您需要的是一个合适的日志文件。请看下面。在这里快速浏览一下:https://apps.support.sap.com/sap/support/knowledge/en/1220433

还有一些安全转换问题,以及由此和更新的 Windows 设置和安全功能引起的复杂性。 Maybe have a quick look here。只是关于该主题的几个链接。

你在多少台机器上看到这个?只是你自己的?


准备:首先要做两件事:

  1. 重新启动:在尝试下一次卸载之前重新启动。只是为了有一个干净的石板。允许系统在重启后稳定下来(给它几分钟时间稳定下来)。
  2. 损坏的安装文件:重新下载您的新安装程序以确保其安装文件未损坏。也尝试用恶意软件对其进行扫描。还有 finally set it unblocked as shown here.
  3. 管理员权限:其次,确保您运行具有适当的管理员权限? 运行 来自提升的命令提示符的 msiexec.exe 命令。请启动提升的 cmd.exe(右键单击 => 运行 以管理员身份)。
  4. Anti-Virus:首先禁用您的防病毒软件以防止任何锁定导致卸载失败。

调试“想法列表”:Common causes of setup runtime issues


Logging: Now the most important. You must also ensure proper logging for the uninstall effort. You can either use logging by policy or define it at the command line level. It would be best to enable the logging policy so the log file is automatically created in the tmp folder. .

When you have done the "Preparation" above, please run the uninstall and create a proper log file. Here is the command line (prefer the policy):

msiexec.exe /x "mysetup.msi" /L*V "C:\Temp\msilog.log"

Please open the log you created (or get the log from the temp folder if you have logging policy enabled). Then inspect the log and match against this sample log here: https://www.itninja.com/question/transform-issues

What do you see? Just read line by line and don't be intimidated by all the "line noise".


常见技术问题:如果您对所有其他 MSI 软件包及其操作,你可能会遇到更大的问题。那么你应该排除一些运行时间问题。请注意,某些问题通常是由恶意软件引起的(或者有时只是随机发生的技术问题):

  1. Visual C++ 运行时间 - 重新安装它。有很多版本。查看您的包裹需要什么。 The latest supported Visual C++ downloads.
  2. Unregister / re-register msiexec.exe(由于恶意软件或正常的技术故障,可能是必需的)。
  3. 运行 chkdsk.exesfc.exe 检查文件损坏和损坏 OS 个文件。

Microsoft FixIt:您可以使用 Microsoft FixIt 方法作为清理现有安装的最后手段。这通常有效(除非你已经破解太多),但并不理想:http://support.microsoft.com/mats/Program_Install_and_Uninstall/ - 这种方法不会清理或卸载,它只是取消注册已安装的包并保留其所有文件和注册表设置。您可以尝试安装新版本,但留下的垃圾可能会导致一些干扰问题。是的,您可以尝试手动清理,但我会先尝试覆盖。


链接: