YehudaKremer / msix

Create Msix installer for flutter windows-build files.
https://pub.dev/packages/msix
MIT License
280 stars 70 forks source link

How to make it work on desktop/Windows without Microsoft Store?? #117

Closed Ros4111 closed 2 years ago

Ros4111 commented 2 years ago

I am trying your fantastic package, I could create a msix without problems. After create it I can install the app that works great on Windows.

I would like to upload the new versions to my hosting but I dont see how to setup the URL where the app should check for updates. Can someone tell me where is this setting? I dont want to publish it on Windows Store.

My actual setting on pubspect.yaml is: msix_config: display_name: 'My App CMS' publisher_display_name: My Company identity_name: 48434MySoftware.MyAPP msix_version: 1.4.5.0 store: false app_installer: publish_folder_path: .\instalable hours_between_update_checks: 0 automatic_background_task: true update_blocks_activation: true show_prompt: true force_update_from_any_version: false install_certificate: false

Thanks a lot. We apreciate your hard work

richard457 commented 2 years ago

If you use the windows store then you don't need to check within your app for update windows store will do that for you, however if you need to use custom server, I think at this time it is not even possible with flutter but I might be wrong on that.

markbreuss commented 2 years ago

Although this might be out of scope of this package @YehudaKremer ? We are a company looking into using flutter for a windows project and need a custom auto_update server.

YehudaKremer commented 2 years ago

Hello @markbreuss

Can your distribution be via file share? if so, you can use App Installer.

markbreuss commented 2 years ago

Thanks for the fast response!

No the app must be distributed to severs devices at different locations. Is File Share over an URL possible?

YehudaKremer commented 2 years ago

You can use HTTP protocol as long as you have the company certificate installed on all the user's pcs, also, it will need to enable the "ms-appinstaller" protocol to the company network pcs.