crramirez / uwp_bridge_java

Skeleton for packing Java applications for publishing them on Windows Store
42 stars 8 forks source link

Windows 10 version requirement #3

Open jdevp opened 6 years ago

jdevp commented 6 years ago

hi crramirez,

I'm reading the link from the following. It says that

"The Desktop Bridge was introduced in Windows 10, version 1607, and it can only be used in projects that target Windows 10 Anniversary Update (10.0; Build 14393) or a later release in Visual Studio."

I wonder if the restriction is just for VS or it also applies to this project.

https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-manual-conversion

Also, at end of this project, we'll get an assigned App.appx ( SwingSet.appx in this case). But we'll still need to generate *.pri files, Assets directory and package the application for the store, correct ?

The file launch4j.xml should be at the same structure level at app.exe and app.jar but in your example, it is under the root directory.

crramirez commented 6 years ago

Hello,

It applies to any Win32 application that you want to pack as an appx and upload to the Store. Windows 10 Anniversary Update is the Windows version which brings support to Win32 apps packed as appx.

To answer your question, yes this restriction applies to desktop-to-uwp-manual-conversion https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-manual-conversion as well.

Yes, due to launch4j.xml should not be included in the final package. This is only to generate the app.exe

Regards

On Mon, Oct 1, 2018 at 10:45 AM jdevp notifications@github.com wrote:

hi crramirez,

I'm reading the link from the following. It says that

"The Desktop Bridge was introduced in Windows 10, version 1607, and it can only be used in projects that target Windows 10 Anniversary Update (10.0; Build 14393) or a later release in Visual Studio."

I wonder if the restriction is just for VS or it also applies to this project.

https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-manual-conversion

Also, at end of this project, we'll get an assigned App.appx ( SwingSet.appx in this case). But we'll still need to generate *.pri files, Assets directory and package the application for the store, correct ?

The file launch4j.xml should be at the same structure level at app.exe and app.jar but in your example, it is under the root directory.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crramirez/uwp_bridge_java/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AIAiQ1IYIp646jnTmmwmkx7U1XhTGh-Tks5ugjirgaJpZM4XCWaN .

jdevp commented 6 years ago

Hi,

Thanks for information. Is there a way to manually create appxupload package without VS ? I read somewhere that MS Store only accepts appxupload package. Any other packages can only be used for testing purpose.

Thanks

crramirez commented 6 years ago

Yes of course follow the instructions I left in the README.md or https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-manual-conversion .

Check the scripts I have in the project

In fact I don't use VS

Regards

On Tue, Oct 2, 2018 at 4:53 PM jdevp notifications@github.com wrote:

Hi,

Thanks for information. Is there a way to manually create appxupload package without VS ? I read somewhere that MS Store only accepts appxupload package. Any other packages can only be used for testing purpose.

Thanks

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/crramirez/uwp_bridge_java/issues/3#issuecomment-426443354, or mute the thread https://github.com/notifications/unsubscribe-auth/AIAiQ6lsDI20zCiVyvrNQjxmAcqj6uytks5ug-BKgaJpZM4XCWaN .

jdevp commented 6 years ago

Yes, I read the instruction and your script. What you have is to create .appx package but not .appxupload package. According to MS, .appx can be loaded for testing but for the store, they recommend .appxupload. I did some research and found that .appxupload is basically a zip file which contains .msix and the .appxsym files. I can use MakeAppx.exe to create .msix the same way that you create .appx but I don't know how to create .appxsym file.

From this link https://docs.microsoft.com/en-us/windows/uwp/packaging/packaging-uwp-apps

it says "https://docs.microsoft.com/en-us/windows/uwp/packaging/packaging-uwp-apps"

So basically it says that you need to create .appxupload package if you want to distribute your app. The package .appx can only be used for testing.

"App Package (.appx or .msix) A file that contains your app in a format that can be sideloaded on a device. Any single app package file created by Visual Studio is not intended to be submitted to Dev Center and should be used for sideloading and testing purposes only. If you want to submit your app to Dev Center, use the app package upload file."

jdevp commented 6 years ago

Hi, Did you actually submit to Dev Center or just created App.appx for sideloading ? According to this link, I'll need to submit "desktop bridge form" for App.appx to be accepted.

http://answers.flyppdevportal.com/MVC/Post/Thread/2b2752c1-63a8-44b9-9caa-1c8d97e5d622?category=windowsstore

crramirez commented 6 years ago

I don't remember right now but I am sure I didn't use VS. Yes I had to fill the form and pass a testing process very strict until my application was accepted.

This is my application :

https://www.microsoft.com/store/apps/9MTC7F4TRZ0V

Good luck

On Tue, Oct 2, 2018, 9:57 PM jdevp notifications@github.com wrote:

Hi, Did you actually submit to Dev Center or just created App.appx for sideloading ? According to this link, I'll need to submit "desktop bridge form" for App.appx to be accepted.

http://answers.flyppdevportal.com/MVC/Post/Thread/2b2752c1-63a8-44b9-9caa-1c8d97e5d622?category=windowsstore

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/crramirez/uwp_bridge_java/issues/3#issuecomment-426496134, or mute the thread https://github.com/notifications/unsubscribe-auth/AIAiQ3gJnhclk_ePv0uxeVICsV5CbX29ks5uhCeCgaJpZM4XCWaN .

crramirez commented 5 years ago

Hello,

As uploading my app again, I have a comment. .appx are accepted if your application is a win32 ported one.

Regards