如何手动删除MSI安装? [英] how to manually remove MSI installation?
问题描述
我正在学习VS 2008安装项目,以为我们的C#应用程序创建安装。在卸载过程中尝试删除exe本身时出错。现在,我手动删除了exe文件,但该条目仍在添加删除程序列表中。我尝试安装更新的固定版本,但msi不允许我这样做。
I am learning VS 2008 setup project to create install for our C# application. I made a mistake trying to delete the exe itself during the uninstall. Now I manually deleted the exe file but the entry still in Add Remove Program list. I try to install a fixed newer version but msi doesn't allow me to do so.
如何手动删除旧版本(我可以使用regedit,没问题)?我正在使用XP机器。谢谢
How can I remove the old version manually (i can use regedit, no problem)? I am using XP machine. thanks
编辑:
在卸载注册表项中删除其子项后,我仍然无法安装较新的版本。
After I removed its subkey in that uninstall registry entry, I still cannot install my newer version.
推荐答案
使用 msiexec / x {指导产品代码}
。如果您的MSI数据库搞砸了,而这行不通,请尝试 msizap
。
Use msiexec /x {guid product code}
. If your MSI database got screwed up and this doesn't work, try msizap
.
这篇关于如何手动删除MSI安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!