Appcenter: Example available for AppCenter.Distribute with WPF?

Created on 11 Jan 2020  路  8Comments  路  Source: microsoft/appcenter

Hi!

First of all I want to thank you for this great tool. The Crashes and Analytics module have already spared me lots of frustration and tedious debugging time :-)

Now I would like to take my WPF app a bit further. With Azure pipelines, I have set up a chain where a msi is created and deployed to AppCenter. Users in the distribution list get an email that a new version is available, which is great. However: Can the WPF app auto-detect updates via the AppCenter.Distribute package? I can't really seem to find a good example/walktrough for this on the documents page or anywhere else...

if I try this:
Distribute.SetEnabledAsync(true)
the Enabled property stays false..

Can someone guide me in the good direction?
Thanks for the help!

Stale feature request sdk

Most helpful comment

Hi @ilyashumihin

Thanks for the update!
Any idea when this will be supported?

All 8 comments

Hi @TheElectricCo,
Thanks for getting in touch!

Currently WPF doesn't support in-app updates.

Hi @ilyashumihin

Thanks for the update!
Any idea when this will be supported?

While I wait for this to be put on the road map #1621 ...

I will:
copy my msix and appinstaller files to a web site and allow users to install/sideload the app from there.

https://github.com/Squirrel/Squirrel.Windows/blob/develop/docs/getting-started/0-overview.md
or
https://winsparkle.org/

@TheElectricCo Does this example from the appcenter-sdk-dotenet project work as the requested example?

Hi @OzBob ,

not sure where to look. In the WPF demos I don't immediately see an implementation of the in-app updates (or I am looking over it, it is still morning). Can you point me where to look in the example?

Thanks,
Lens

Hi Lens/ @TheElectricCo
my bad, the example doesn't have auto-update.
I am investigating win.sparkle and windows.squirrel as packages to make my own.
I am searching for an example using the AppCenter 'sparkle' URL or the CI build files pushed to my own webserver.

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.

Was this page helpful?
0 / 5 - 0 ratings