Forum Discussion
dicksonchan
May 17, 2019Copper Contributor
How to get installed package's full name (C++)?
Hi I am trying to uninstall a MSIX package through C++ program, and know of the RemovePackageAsync method. However, for that method to work, you require the package's full name (i.e. MSIXSample_x...
jvintzel
May 28, 2019Former Employee
dicksonchan If you are using the PacakgeManager.RemovePackage you can also use the FindPackage option as well: https://docs.microsoft.com/en-us/uwp/api/windows.management.deployment.packagemanager.findpackage
dicksonchan
May 28, 2019Copper Contributor
jvintzel If I use FindPackage(), I would require the package's full name for the method to work, which is what I am still having trouble looking for
- jvintzelMay 28, 2019Former Employee
dicksonchan Sorry, it should be FindPackages.
https://docs.microsoft.com/en-us/uwp/api/windows.management.deployment.packagemanager.findpackages
John.