Registration of the app failed error in Windows Store or Universal app

5

Visual Studio shows the following error when I execute my Windows Store or Universal project:

Error 1 Error : DEP0700 : Registration of the app failed. Another user has already installed an unpackaged version of this app. The current user cannot replace this with a packaged version. The conflicting package is dff9bf13-e639-46ad-a6ed-61b27be58eed and it was published by CN=owais. (0x80073cf9) tiles

windows-store-apps
win-universal-app
asked on Stack Overflow Aug 18, 2015 by Owais Alam • edited Dec 15, 2016 by tronman

3 Answers

9

You probably are trying to install an app on your machine that already has been installed. Maybe you installed it once during development and are now trying to install it from either another account or using a different deployment method.

There are several ways to fix this.

Best way: Remove the installed application, e.g. using Powershell Remove-AppxPackage and specify the package, then try to reinstall.

Another way: Change the package name in the Package.appxmanifest of the app you're trying to install, compile it and install it again.

Example:

<Package ...>
   <Identity Name="5a0c511a-fdfd-4417-80b8-2bedbf437971" ...>

change to:

<Package ...>
   <Identity Name="5a0c511a-fdfd-4417-80b8-SomethingElse" ...>
answered on Stack Overflow Aug 18, 2015 by Daniel Meixner • edited Jun 25, 2017 by Shimmy Weitzhandler
1

Use the Powershell command Remove-AppxPackage to remove the old package. If the package was installed by a different user, run as admin and use the -AllUsers switch. Find the package full name from the package name with Get-AppxPackage.

For example, if the package is Contoso.ZiplineSimulator, use this command to find it:

Get-AppxPackage -AllUsers Contoso.ZiplineSimulator

Then remove the package with whatever PackageFullName is displayed, something like this:

Remove-AppxPackage -AllUsers Contoso.ZiplineSimulator_1.53.2912.0_x64__8wekyb3d8bbwe
answered on Stack Overflow Apr 4, 2019 by Edward Brey
0

Open As an Admin the Powershell...

1- Find the package full name from the package name with:

Get-AppxPackage -AllUser

2- Copy the packagefullname to clipboard so you can use it later. 3- use this command as it, and don't forget to replace the packagefullname with one in your clipboard;

Get-AppxPackage packagefullname -AllUsers|Remove-AppxPackage -AllUsers

// Don't forget the -AllUsers ... then You are Done..

answered on Stack Overflow Apr 27, 2020 by Nader

User contributions licensed under CC BY-SA 3.0