3

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.

8
  • This is not a pre-release of Windows you are testing? Are you logged in as normal user or as an administrator? (based on what you write almost certainly the latter, but let's be sure - you could be testing on virtuals). Are you in a corporate setting with controlled application estate and lots of group policies? What security software is running on your box? See top of this answer for a "deployment mnemonic" (error check list / ideas list). Done a malware sweep? Try Windows Defender offline modus? Commented Mar 28, 2019 at 19:59
  • Windows 10 Pro, logged in as administrator, home machine. Running AVG / Windows Defender. Ran both scans, completely clean. Commented Mar 28, 2019 at 21:57
  • OK, we need the source. You on github? Or if it is small, just dump in your question. You can leave out the bulk of the normal component parts if need be. Best with whole source. Commented Mar 28, 2019 at 21:59
  • No but I've thrown it in a pastebin for you, pastebin.com/c7YNmy7v Commented Mar 28, 2019 at 22:04
  • 1
    Please see a couple of more comments in chat. Commented Mar 29, 2019 at 0:36

1 Answer 1

1

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"

Sign up to request clarification or add additional context in comments.

1 Comment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.