Auto update is not working.

211 views
Skip to first unread message

Umesha M S

unread,
Apr 24, 2013, 9:36:12 AM4/24/13
to winsp...@googlegroups.com

Hi

I wanted to investigate on ‘WinSparkle’ library. For the I have downloaded the latest version(0.4) from ‘Git’ I could build the project.

I have created my own win32 application and used the WinSparkle.dll. In this sample win32 code I enabled auto update by using ‘win_sparkle_set_automatic_check_for_updates(1);’ API. And time interval as ‘win_sparkle_set_update_check_interval(3600);’.

Then I launched the application and kept it for 1 hour. 10 min. but it did not launched auto update dialog.

Even for testing it in registry in reduced the time delay, still it did not worked.

Below is my code. Please let me know anything I am missing.

win_sparkle_set_registry_path("Software\\update");

win_sparkle_set_appcast_url("http://100.100.10.22/Update/appcast.xml");

win_sparkle_set_automatic_check_for_updates(1);

win_sparkle_set_update_check_interval(3600);

win_sparkle_init();

// Main message loop:

while (GetMessage(&msg, NULL, 0, 0))

{

if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))

{

TranslateMessage(&msg);

DispatchMessage(&msg);

}

}

Václav Slavík

unread,
Apr 24, 2013, 11:39:55 AM4/24/13
to winsp...@googlegroups.com

On 24 Apr 2013, at 15:36, Umesha M S <umesha...@gmail.com> wrote:
> Below is my code. Please let me know anything I am missing.

The existence of your debugger for one thing ;)

I'm afraid that's the only -- and most reasonable -- way to see what's wrong: just debug it. There may be debugging messages from WinSparkle. If not, you can still trace its execution and see why exactly it doesn't see the update.

Regards,
Vaclav

angry...@gmail.com

unread,
Oct 25, 2013, 1:33:38 PM10/25/13
to winsp...@googlegroups.com
This was posted a long time ago, but I'll just add what I experienced here.

I made a mistake in the url for the appcast file. I corrected it, but ran into a problem where the GET was still getting the cached file with the error in it.
Reply all
Reply to author
Forward
0 new messages