FreeCAD / FPA

The FreeCAD Project Association
24 stars 22 forks source link

Publish FreeCAD on the Microsoft store #5

Open yorikvanhavre opened 2 years ago

yorikvanhavre commented 2 years ago

Need to check:

luzpaz commented 2 years ago

IIRC, Tantacrul recently posted a tweet about the Microsoft store (it was about removing imposter MuseScore apps that were masquerading as the official MuseScore project). Perhaps he could offer us some tips? CC @Tantacrul

Tantacrul commented 2 years ago

I've just contacted a former colleague at Microsoft to see if there's someone who can reach out and take you through the process. There might be a free option for a FOSS product, so you don't have to pay the upfront registration fee (approx $100). If I get any info back, I'll get in touch to let you know.

It is infinitely easier to publish on the MS store than it used to be. Basically, if you have an .exe file and can do a silent install, you're there.

luzpaz commented 2 years ago

Thanks a lot @Tantacrul for weighing in and also for the referral.

Tantacrul commented 2 years ago

Question from Microsoft: Sure! Did they want to publish an unmodified win32 app, use an MSIX package with win32app or do a full UWP app?

luzpaz commented 2 years ago

CC @donovaly do you mind participating in this thread as well given your experience with Windows packaging for FreeCAD ? TIA

donovaly commented 2 years ago

Question from Microsoft: Sure! Did they want to publish an unmodified win32 app, use an MSIX package with win32app or do a full UWP app?

Hi @Tantacrul, I am Uwe and responsible for the Windows installer of FreeCAD. If you could help me to bring FreeCAD to the Windows store, I will be happy. Our installer is built with NSIS. It is a .exe and 64bit only. Here is for example our latest release: https://github.com/FreeCAD/FreeCAD/releases/download/0.19.4/FreeCAD-0.19.4-WIN-x64-installer-2.exe

Tantacrul commented 2 years ago

Perfect. I've sent that through and let's see what they say. Incidentally (I forgot about this), they very confusingly use the term 'win32 app' when talking about uploads to the store. We also just used a 64bit .exe but for some reason were classified as a 'win 32 app'. God knows why.

Anyway, when I get a response, I'll let you know. I'm hoping they'll offer you a contact to help you through the process.

Tantacrul commented 2 years ago

Can you get in touch with me so I can send some documentation through?

yorikvanhavre commented 2 years ago

@luzpaz do you want to follow up with this one? May I assign it to you?

luzpaz commented 2 years ago

@yorikvanhavre, Sure, but lets ask @donovaly first.?...since he can make changes directly to the Windows installer and there would be less liaising necessary.

yorikvanhavre commented 2 years ago

Yes, in any case we all look into it. Thanks a bunch, @Tantacrul ! the windows store and its policies look like a maze...

luzpaz commented 2 years ago

Email sent + CC'd yorik

donovaly commented 2 years ago

Email sent + CC'd yorik

I did not get any mail. I sent @Tantacrul an email but since I don't know the email addresses of luzpaz nor Yorik, I could not CC you guys.

adrianinsaval commented 2 years ago

was there progress here?

donovaly commented 2 years ago

was there progress here?

Yes, but this requires up to months. We are on it.

yorikvanhavre commented 1 year ago

Whole process at https://learn.microsoft.com/en-us/windows/apps/publish/publish-your-app/overview?pivots=store-installer-msi-exe

luzpaz commented 1 year ago
luzpaz commented 1 year ago

Maybe we can enable a github project for this since there are multiple steps to walk though? Each of them can be a ticket

yorikvanhavre commented 1 year ago

Maybe, but there will likely be only one same person doing all these steps, so creating separate issues might be counter-productive...

yorikvanhavre commented 1 year ago

I'm reading the docs already, and in the first one they say your name will be reserved for 3 months. So we'd better do it only when we are ready with the other steps. Iḿ still reading the rest to get an idea

luzpaz commented 1 year ago

uwe should take a look at step 5 since he's generating installer. https://learn.microsoft.com/en-us/windows/apps/publish/publish-your-app/upload-app-packages

CC @donovaly 👋👆

yorikvanhavre commented 1 year ago

I created a Microsoft Partner ID for the FPA, but it's crazily complex and looks nothing like in the docs :sweat_smile:

maxwxyz commented 7 months ago

Any news on this?

yorikvanhavre commented 7 months ago

We now have an EV certificate that we can use to sign the FreeCAD executable, but it might be that we got the wrong kind of EV cert... We need to test first and see what happens. But as far as I understand that's a different story than putting FreeCAD on the MS store.

I haven't looked more at it, I'll try to get back to it this month

maxwxyz commented 2 months ago

@yorikvanhavre / @adrianinsaval any news on this? Would be great if 1.0 could be shipped in the MS store.

maxwxyz commented 2 months ago

There is a lot of crap in the store from fake organizations, all paid. I hope no one will pay for these if they want to try 1.0 when the news spread: grafik

adrianinsaval commented 2 months ago

I believe we don't have a singing key yet. From what I had researched I think this is the option that makes the most sense for us: https://shop.certum.eu/open-source-code-signing.html

adrianinsaval commented 2 months ago

or alternatively this: https://shop.certum.eu/open-source-code-signing-on-simplysign.html

yorikvanhavre commented 1 month ago

or alternatively this: https://shop.certum.eu/open-source-code-signing-on-simplysign.html

I would say this one may be more interesting for us, as it does not require a physical device?

manfromarce commented 1 month ago

If you package the app as MSIX, signing is not needed as it is automatically done by Microsoft when publishing to the Store and users would benefit from automatic updates. An MSIX package can be created from the classic installer (and has been done by many Win32 applications such as Inkscape, Blender, LibreOffice): https://learn.microsoft.com/en-us/windows/msix/packaging-tool/create-app-package

adrianinsaval commented 1 month ago

I'm under the impression that the binaries still need to be signed before submitting

yorikvanhavre commented 1 month ago

or alternatively this: https://shop.certum.eu/open-source-code-signing-on-simplysign.html @adrianinsaval me and @sliptonic think we should go with that one as it does not have a physical device and therefore will be easier for you to use. Ok for you? I can buy it right away so we have it ready for the release

yorikvanhavre commented 1 month ago

There is a bit of an administrative process of course :sweat_smile: https://support.certum.eu/en/code-signing-required-documents/

maxwxyz commented 2 weeks ago

any news on this, will this be possible for 1.0?