简体   繁体   English

WiX v3安装项目,无法通过应用和功能卸载

[英]WiX v3 Setup Project, Unable to uninstall via Apps & Features

I'm having a hard time trying to figure out what is causing this odd issue. 我很难弄清楚造成这个奇怪问题的原因。

So I've created a very basic .msi by following the WiX v3 Setup Project documentation, pretty much just the provided template, but no matter what i try, whenever i go to uninstall it via the Windows 10 Apps & Features interface, i keep getting this: 所以我通过遵循WiX v3安装项目文档创建了一个非常基本的.msi,几乎只是提供的模板,但无论我尝试什么,每当我通过Windows 10 Apps & Features界面卸载它时,我保持得到这个:

在此输入图像描述

However, when i uninstall via Control Panel\\Programs\\Programs and Features or by right-clicking and hitting Uninstall in the .msi's Context Menu, it uninstalls fine. 但是,当我通过Control Panel\\Programs\\Programs and Features卸载或右键单击并在.msi的上下文菜单中点击卸载时,它卸载正常。

What am i missing here, should i be implementing something within the installer project to support the Apps & Features uninstall? 我在这里缺少什么,我应该在安装程序项目中实现某些东西来支持Apps & Features卸载吗?

Thanks in advance. 提前致谢。

AVG Anti Virus : In this case it was AVG anti virus . AVG Anti Virus :在这种情况下它是AVG anti virus Uninstalling this product made the uninstall run correctly when invoked from the new settings GUI in Windows 10. 从Windows 10中的新设置GUI调用时,卸载此产品使卸载正确运行。

Blocking : Errors like these often mean something is blocking the uninstall. 阻止 :像这样的错误通常意味着阻止卸载。 Please disable or uninstall any anti-virus and / or security software and try again. 请禁用或卸载任何防病毒和/或安全软件,然后重试。

General Check List : Please check this answer for a "deployment check list" or "mnemonic" to debug similar problems: Deployment Mnemonic (mid-page). 常规检查列表 :请检查此答案以获取“部署检查列表”或“助记符”以调试类似问题: 部署助记符 (中间页)。 Also see comments above. 另见上面的评论。 Sweep for malware with Windows Defender Offline . 使用Windows Defender脱机扫描恶意软件。

Exact Error Message : " Error: Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item " 确切错误消息 :“ 错误:Windows无法访问指定的设备,路径或文件。您可能没有相应的权限来访问该项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM