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

Discussion in 'B4J Tutorials' started by JanPRO, Nov 26, 2017.

  1. JanPRO

    JanPRO Well-Known Member Licensed 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
     
  2. Computersmith64

    Computersmith64 Well-Known Member Licensed User

    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.
     
  3. Computersmith64

    Computersmith64 Well-Known Member Licensed User

    Sent you a PM.
     
  4. tufanv

    tufanv Expert Licensed User

    So , could anyone uploaded a app to windows store ?
     
  5. Computersmith64

    Computersmith64 Well-Known Member Licensed User

    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.
     
    JanPRO and tufanv like this.
  6. tufanv

    tufanv Expert Licensed 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:

     
  7. trueboss323

    trueboss323 Active Member Licensed User

  8. JanPRO

    JanPRO Well-Known Member Licensed User

    Hi,
    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
     
  9. JanPRO

    JanPRO Well-Known Member Licensed 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.
     
    inakigarm, Erel and trueboss323 like this.
  10. JanPRO

    JanPRO Well-Known Member Licensed 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
     
  11. trueboss323

    trueboss323 Active Member Licensed User

    Thank you Jan. That really helps a lot! So I guess the run fulltrust permission is no longer required?
     
  12. JanPRO

    JanPRO Well-Known Member Licensed User

    Hi,
    The fulltrust permission is still required. After you have uploaded you package you will receive a warning:
    You are asked to explain why your App needs to run full trust, a simple answere like the following one should be fine:
    Jan
     
    DonManfred and Erel like this.
  13. trueboss323

    trueboss323 Active Member Licensed User

    What does it mean when it can't find a folder (JavaFXJmods). I tried several times downloading OpenJDK.
    upload_2019-2-5_23-56-23.png
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    JanPRO likes this.
  15. trueboss323

    trueboss323 Active Member Licensed User

    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: Feb 6, 2019
  16. JanPRO

    JanPRO Well-Known Member Licensed User

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

    Jan
     
    Last edited: Feb 6, 2019
  17. trueboss323

    trueboss323 Active Member Licensed User

    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
     
  18. JanPRO

    JanPRO Well-Known Member Licensed 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
     
    fredo, José J. Aguilar, Erel and 2 others like this.
  19. keirS

    keirS Well-Known Member Licensed 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?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice