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

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

问题描述

我的 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:\Windows\Installer 中找到您的软件包,Windows 保存已安装 MSI 软件包的副本.名称是随机生成的,因此您必须查看文件的创建日期.

  1. Find your package in C:\Windows\Installer, 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天全站免登陆