0
votes

I am trying to convert my app for the windows store using Desktop App Converter.

If I set the -PackageName option to the Package/Identity/Name given in the dashboard, Desktop App Converter stops with a write error for -PackageName.

But if I put -PackageName to the display name that I want, when I submit the appx file to the windows store I get: Invalid package identity name: and Invalid package family name:

*update

My Pakage/Identity/name takes the form 1234MyApp.MyApp. If I leave out the '1234' then Desktop App Converter completes its run. But of course when I try to submit the appx file to the windows store I the Invalid package identity name and Invalid package family name errors.

2

2 Answers

0
votes

You're supposed to use your own package name as the Package Name in Desktop App Converter so that you could manage to generate the appx package.

Then you will need to open the Package Manifest.xml to modify the Package Identity Name to match the value in Dev Center in order to upload it to the Windows Store.

By the way, you need to fill in and submit this form to acquire the permission to publish the Desktop converted app to the Store.

-1
votes

I just came across this issue today and was able to solve it by using the windows store package name that would be your "1234MyApp.MyApp" with an AppId of something else like maybe your executable name "MyApp.exe".

My PowerShell looked something like...

$publisher = "1234MyApp.MyApp"
$appId = "MyApp.exe"

DesktopAppConverter -Installer $binDirectory -AppExecutable InventoryAudit.WpfApp.exe -Destination $packageDirectory -AppId $appId -PackageName $packageName -Publisher $publisher -AppDisplayName $appDisplayName -AppDescription $appDescription -PackageDisplayName $packageDisplayName -PackagePublisherDisplayName $packagePublisherDisplayName -Verbose -MakeAppx -Version $version

I only provided the relevant variables. Hope this helps the next person to have this issue.