WiX v3 安装项目,无法通过应用和功能卸载
WiX v3 Setup Project, Unable to uninstall via Apps & Features
我很难找出导致这个奇怪问题的原因。
所以我按照 WiX v3 安装项目文档创建了一个非常基本的 .msi,几乎只是提供的模板,但无论我尝试什么,每当我通过 Windows 10 Apps & Features
界面,我不断得到这个:
但是,当我通过 Control Panel\Programs\Programs and Features
或通过右键单击并点击 .msi 上下文菜单中的“卸载”进行卸载时,它可以正常卸载。
我在这里缺少什么,我是否应该在安装程序项目中实现一些东西来支持 Apps & Features
卸载?
提前致谢。
AVG Anti Virus: In this case it was AVG anti virus
. Uninstalling this product made the uninstall run correctly when
invoked from the new settings GUI in Windows 10.
Blocking:像这样的错误通常意味着某些东西正在阻止卸载。请禁用或卸载任何防病毒和/或安全软件,然后重试。
一般检查清单:请检查此答案以获得 "deployment check list" 或 "mnemonic" 以调试类似问题: (mid-page). Also see comments above. Sweep for malware with Windows Defender Offline.
- 微软提示:Windows cannot access the specified device, path, or file...
- 生成日志文件:要进行调试,请始终生成 MSI 日志文件:
Exact Error Message: "Error: Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item"
我很难找出导致这个奇怪问题的原因。
所以我按照 WiX v3 安装项目文档创建了一个非常基本的 .msi,几乎只是提供的模板,但无论我尝试什么,每当我通过 Windows 10 Apps & Features
界面,我不断得到这个:
但是,当我通过 Control Panel\Programs\Programs and Features
或通过右键单击并点击 .msi 上下文菜单中的“卸载”进行卸载时,它可以正常卸载。
我在这里缺少什么,我是否应该在安装程序项目中实现一些东西来支持 Apps & Features
卸载?
提前致谢。
AVG Anti Virus: In this case it was
AVG anti virus
. Uninstalling this product made the uninstall run correctly when invoked from the new settings GUI in Windows 10.
Blocking:像这样的错误通常意味着某些东西正在阻止卸载。请禁用或卸载任何防病毒和/或安全软件,然后重试。
一般检查清单:请检查此答案以获得 "deployment check list" 或 "mnemonic" 以调试类似问题:
- 微软提示:Windows cannot access the specified device, path, or file...
- 生成日志文件:要进行调试,请始终生成 MSI 日志文件:
Exact Error Message: "Error: Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item"