B4J Tutorial [Tool] WindowsStorePackager - publish your App to the Windows Store

Computersmith64

Well-Known Member
Licensed User
Longtime User
Hi,

you can send me a mail (feedback@alphatick.tk) or upload on Dropbox/Google Drive ... and send me the link via pm.

Jan
OK - I'll put it on Google Drive & send you a PM. I'm just running through the conversion process again to make sure it wasn't an anomaly & if it still doesn't work I'll get the files to you...

- Colin.
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
So , could anyone uploaded a app to windows store ?
I got as far as the Windows AppConsult Engineer signing the app & testing it on Windows 2010 & Windows 10 S (Simulation) machines. It failed the tests on the Windows 10 S machines, so until I fix the issues they won't give me permissions to upload to the store.

- Colin.
 

tufanv

Expert
Licensed User
Longtime User
Same happened to me now. The consultant created the appx for me she said the same , it crashes on windows 10 s these are the logs:

 

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi,
Has Microsoft changed their process?
Yes indeed, it seems that Mircosoft changed something.
When I wrote the tutorial Windows 10 S wasn't a required plattform, however as you can see in the last posts, now it is. Windows 10 S seems to be more restrictive than the normal Windows 10, therefore the access of certain libraries by Java causes trouble.

First of all, it needs to be checked whether there is a chance to upload B4J/JavaFX Apps to the Store at all now. Moreover, if the result is positive this tutorial needs to be rewritten.

Currently I am updating the packager for Mac, which takes a bit more time than I thought. After that, I will start to recheck this whole process.

Have a nice weekend.

Jan
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Just an info: I've just submitted a App (Java 11 build) to the Windows Store. In an info box I explained why the App needs to run full trust. The App is in review now, let's see what happens ...

Off-Topic: "TinyPasswordGenerator" which was developed in less than 20 minutes was rated by a big German computer magazine: https://www.chip.de/downloads/Tiny-Password-Generator-Windows-10-App_124991155.html I think it demonstrates that the Windows store attracts more attention (at least in Germany) than you might think in the very first moment.
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Good news: My app is in the store (it just took 3 days) https://www.microsoft.com/store/apps/9MZH00NRC68J No problems with Windows 10 S.

I have developed a small tool to create the Appx package, so the whole creation process becomes a lot easier. The tutorial was already updated

Jan
 

trueboss323

Active Member
Licensed User
Longtime User
Thank you Jan. That really helps a lot! So I guess the run fulltrust permission is no longer required?
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi,
So I guess the run fulltrust permission is no longer required?
The fulltrust permission is still required. After you have uploaded you package you will receive a warning:
Package acceptance validation warning: The following restricted capabilities require approval before you can use them in your app: runFullTrust.
You are asked to explain why your App needs to run full trust, a simple answere like the following one should be fine:
This app is originally developed in JavaFX. I have used the DesktopBridgeConverter in order to create the Appx, therefore the runFullTrust permission is needed.

Jan
 

trueboss323

Active Member
Licensed User
Longtime User
What does it mean when it can't find a folder (JavaFXJmods). I tried several times downloading OpenJDK.
 

trueboss323

Active Member
Licensed User
Longtime User
Have you downloaded it from here: https://www.b4x.com/b4j.html ?

Thank you Erel, I was trying to download it from the official site which is why I couldnt get it to work.

@JanPRO
I think there is a problem with the Package/Identity/Name field. If I set the -PackageName option to the Package/Identity/Name given in the dashboard, the program 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:

My Pakage/Identity/name takes the form 12345MyApp.624C374D8B5. If I leave out the '624C374D8B5' and the period then the program 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.
 
Last edited:

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi,
My Pakage/Identity/name takes the form 1234MyApp.624C374D8B5
Is 624C374D8B5 a placeholder or really a number? The Pakage/Identity/Name normally has the following format: 4DigitNumberYourName.AppName

Jan
 
Last edited:

trueboss323

Active Member
Licensed User
Longtime User
Hi,

Is 624C374D8B5 a placeholder or really a number? The Pakage/Identity/Name normally has the following format: 4DigitNumber.YourName.AppName

Jan

Yes that is the actual number. And there is only one period in the package name, with 5 digits instead of 4 in the front. So the format is like 12345MyName.624C374D8B5
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Update v. 1.0.1

In the case of Trueboss, WindowsStorePackager has created an invalid AppID (the AppID shouldn't contain numbers) based on the PackageName. I have created a new version 1.0.1, which uses the B4J package name as AppID (note that the AppID can be any string of your choice).

You can find the link to the new version in the start post (before you install the new version, remove the old one).

Jan
 

keirS

Well-Known Member
Licensed User
Longtime User
This suffers from the same issues as B4Jpackager11 had which Erel has fixed. See here for details. Is there anyway to solve these issues?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…