WiX v3 Setup Project, Unable to uninstall via Apps

2020-04-10 19:06发布

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:

enter image description here

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.

What am i missing here, should i be implementing something within the installer project to support the Apps & Features uninstall?

Thanks in advance.

1条回答
Root(大扎)
2楼-- · 2020-04-10 19:27

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: 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.

Exact Error Message: "Error: Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item"

查看更多
登录 后发表回答