我搞砸了,我该如何卸载我的程序? [英] I screwed up, how can I uninstall my program?

查看:26
本文介绍了我搞砸了,我该如何卸载我的程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Wix 安装程序可以安装我的程序,但卸载时它已损坏.一个文件被过早地删除了,并且需要进一步向下行.卸载程序失败并恢复其更改.

My Wix installer worked installing my program, but it's broken for uninstallation. A file is removed too early, and it's needed further down the line. The uninstaller fails and reverts its changes.

这意味着我无法从我的机器中删除该软件包,因此无法安装我的安装程序的任何其他版本(相当不便).如何强制删除包?

This means I can't remove the package from my machine, and hence can't install any further builds of my installer (a considerable inconvenience). How can I force removal of the package?

推荐答案

更新,Stein Åsmul:注入这个更新的清理方法列表.

<小时>

  1. C:WindowsInstaller 中查找您的包,Windows 会在其中保存已安装 MSI 包的副本.名称是随机生成的,因此您必须查看文件的创建日期.

  1. Find your package in C:WindowsInstaller, where Windows keeps copies of installed MSI packages. The names are generated randomly, so you'll have to look at the creation dates of the files.

使用 虎鲸.(不幸的是,orca 安装程序没有简单的下载.您可以通过安装 Windows 10 SDK,然后在 C:Program Files (x86)Windows Kits 中搜索 orca.msi.)

Open the MSI file with Orca. (Unfortunately there is no simple download for the orca installer. You can get it by installing the "MSI Tools" of the Windows 10 SDK, and then searching for orca.msi in C:Program Files (x86)Windows Kits.)

CustomAction 表

现在您应该可以卸载软件包了.

Now you should be able to uninstall the package.

更新:您可以使用 Powershell 找到实际的缓存 MSI 文件.这是一个包,你也可以得到所有包(向下滚动到第一个屏幕截图).

UPDATE: You can find the actual cache MSI file using Powershell. That was for one package, you can also get for all packages (scroll down to first screenshot).

这篇关于我搞砸了,我该如何卸载我的程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆