Specifying a package identity name with Desktop App Converter

心已入冬 提交于 2019-12-12 10:23:02

问题


I am using DesktopAppConverter.exe to create an appx for Windows Store.

I get the following errors on upload to MS:

Invalid package identity name: XXXX (expected: 184YYY.XXX)
Invalid package family name: XXX_eqm6jq3xyprpt (expected: 184YYY.XXX_eqm6jq3xyprpt)

How can I specify a package identity name anf family name, I am currently using the command:

DesktopAppConverter.exe 
-Installer C:\input\XXX.exe 
-InstallerArguments /VERYSILENT 
-Destination C:\output 
-PackageName "XXX" 
-PackagePublisherDisplayName "YYY" 
-Publisher CN="00000000-E45F-4F04-9805-00000000000" 
-Version 3.0.0.0 
-sign 
-MakeAppx 
-Verbose

I tried all the parameters from here

https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter

However none of them is what I am looking for.


回答1:


I think the command line is supposed to be :

DesktopAppConverter.exe 
-Installer C:\input\XXX.exe 
-InstallerArguments /VERYSILENT 
-Destination C:\output 
-PackageName "XXX" 
-Publisher CN="00000000-E45F-4F04-9805-00000000000" 
-Version 3.0.0.0 
-sign 
-MakeAppx 
-Verbose

You just need to set the Identity Parameters to match the App identity info (package identity name and publisher) in Dashboard. Other optional parameters will be set to the value passed for them.

You could try modifying your converted package by changing the package identity name in appxManifest file to match the info in Dev Center. And to publish your app package to the Store, you need to fill out this form and Microsoft will contact you to start the onboarding process.




回答2:


The answer is no command will work.

After spending months dealing with Microsofts very slow to respond developer support the issue was discovered.

The desktop app converter does not support the app manifest value format required, it gives errors stating that the format of the values is outside the specification of the format allowed.

The solution from Microsoft is to export using any value, then edit and app manifest xml file to the correct values, then use the app x packager to re package app.

My guess is that the desktop app converter has not updated to reflect current app store manifest requirements.



来源:https://stackoverflow.com/questions/42580695/specifying-a-package-identity-name-with-desktop-app-converter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!