Update multiple Applications with WinSparkle

67 views
Skip to first unread message

vika...@gmail.com

unread,
Sep 14, 2014, 4:40:33 AM9/14/14
to winsp...@googlegroups.com
Hi Vaclav,

 I have been using WinSparkle library in our application successfully after using your help the last time. Thank you very much.
 We are now creating another application which requires Autoupdate and I want to use Winsparkle approach for the same. In this however, we have a few requirements:
 - It should be completely silent for download and storing the Updated exe in a location. Update should take place on next launch (I have taken care of that)
 - Along with this application, we should also check if updates are available for another application which will be used by our application, and download them.

 For the 2nd point, I created 2 instances of an auto updater class with each instance initializing Winsparkle after setting the respective Appcast URLs. However, when I try it out, I am not able to get it working and either only one application (the 2nd URL) is getting downloaded or both of them fail. If I call winsparkle cleanup on first object before initializing 2nd object, only the 1st one gets downloaded and the app hangs.

Please let me know if it is possible to achieve this. If yes, is there any module in WinSparkle I need to look at specifically to get it working? Thanks for your help.

Regards
Vikas

Václav Slavík

unread,
Sep 14, 2014, 8:27:08 AM9/14/14
to winsp...@googlegroups.com
Hi,

On 14 Sep 2014, at 10:40, vika...@gmail.com wrote:
> For the 2nd point, I created 2 instances of an auto updater class with each instance initializing Winsparkle after setting the respective Appcast URLs. However, when I try it out, I am not able to get it working and either only one application (the 2nd URL) is getting downloaded or both of them fail.

That would be because such use isn’t supported. (Good) patches welcome.

> Please let me know if it is possible to achieve this.

Sure it is — but not with WinSparkle, at least not yet. And to be honest, I don’t see any particular urgently to support anything as weird as this, but as I said, patches are welcome.

Regards,
Vaclav

Reply all
Reply to author
Forward
0 new messages