Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I downloaded the .NET Application Updater from http://windowsforms.net/articles/appupdater.aspx to give one of my programs the ability to automatically update itself over a LAN.

 

I set up IIS 6.0 with directory browsing and WebDAV as required by the documentation and got the bundled sample app to update correctly.

 

But unfortunately I am having problems getting it to work with my application. I added the component, set the component properties and fired up the application. It appears to be hitting the server as evidenced by my IIS log:

 

2005-09-09 18:30:36 192.168.1.150 GET /program/UpdateVersion.xml - 8080 - 192.168.1.104 - 200 0 0

2005-09-09 18:31:06 192.168.1.150 GET /program/UpdateVersion.xml - 8080 - 192.168.1.104 - 304 0 0

2005-09-09 18:31:36 192.168.1.150 GET /program/UpdateVersion.xml - 8080 - 192.168.1.104 - 304 0 0

2005-09-09 18:32:06 192.168.1.150 GET /program/UpdateVersion.xml - 8080 - 192.168.1.104 - 304 0 0

 

So it gets the server manifest file, copies it locally, and then continually checks for changes to that file. A reasonable behavior, but I'd like it to actually download the updates at some point. UpdateVersion.xml contains the path to the newest version of my app, and both the .xml and the app can be accessed fine through a web browser.

 

In sample app that I got to work, the component followed a GET request with a PROPFIND request and then proceeded to download all the files as desired.

 

If anyone has any experience in working with this .NET Application Updater Component and could offer some advice, I would greatly appreciate it.

 

Thanks.

Posted

Sorry I can't help you out here but I always found it easier to write my own updater instead of trying to figure out someone elses.

 

They're easy to write and don't take long.

Posted
Thanks for the suggestions. It looks like the UAB requires XP Pro, and my audience is a mixed 2000/XP group, so I may just try writing my own if I can't get the .Net Application Updater going.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...