Can't install the application through the graphical installer
I have a problem right now and I don't know how to get more information on this.
I converted the desktop application via Microsoft Desktop App Converter, made some manual changes about visual assets, and reworked it via "makeappx.exe". Then I signed it.
Everything went well. Also, when I double click on appx to check it, I have the following window:
Which roughly translates as "Could not open the appx or appxbundle file" and "Reason: Failed for unknown reason."
It doesn't help me much: /
However, if I try to install the package via a simple "Add-appxpackage MyPackage.appx" it works fine.
Can anyone help me find some conclusions about what is going on here? I already checked the event viewer as described here , but I couldn't find anything out of the ordinary.
Thank,
Skefrep
source to share
The problem might be that when you convert your application with DesktopBridge, the resources are signed with the manifest information and store this information in the files .pri
you found in the PackageFiles folder. Later, when you change something like publisher or name, this signature doesn't match. To fix this, you only need to recreate the .pri files.
-
rm *.pri
... Delete old.pri
files. -
cd C:\foo\PackageFiles\
... Change the current directory to the PackageFiles folder. This step is essential for the next step. -
makepri createconfig /cf priconfig.xml /dq en-US
... Create a config file for resources. -
makepri new /pr "C:\foo\PackageFiles" /cf "C:\foo\PackageFiles\priconfig.xml"
... Create new*.pri
files. - Then you can make the package as usual:
MakeAppx
etc.
You can find more information about this issue in Failed error by mistake when trying to disable Desktop Bridge - Consult Team application .
source to share