How to uninstall an app that another user installed?

前端 未结 13 549
时光取名叫无心
时光取名叫无心 2020-12-02 09:24

I keep hitting this problem when I try to debug my Windows 8 apps and there is a copy already installed on another user account:

DEP0700 : Registratio

13条回答
  •  难免孤独
    2020-12-02 09:42

    If that doesn't work, you can also try the following, which worked for me. Note that this is for my dev machine, not a regular user's machine, so I don't know how it would affect non-devs :-P

    1. Take ownership of the folders c:\Program Files\WindowsApps and C:\ProgramData\Microsoft\Windows\AppRepository - giving Administrator full access. Make sure TrustedInstaller also has Modify rights as well. You're also taking ownership. If you're unawares, this is done via the Properties on that folder.

    2. Go to Services and stop the Windows Installer service.

    3. Open C:\ProgramData\Microsoft\Windows\AppRepository\ and delete the PackageRepository.edb file.

    4. Start the Windows Installer service again.

    5. Launch Visual Studio as Administrator.

    6. Attempt to launch your app. It should work.

    After you run the app once you should be able to run VS in user mode again.

提交回复
热议问题