VPiattelli Posted September 9, 2005 Posted September 9, 2005 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. Quote
MadMaxx Posted September 12, 2005 Posted September 12, 2005 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. Quote
IngisKahn Posted September 13, 2005 Posted September 13, 2005 Hmm, that's fairly old. I use the Updater Application Block (in conjunction with the Enterprise Library) myself. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/updaterv2.asp Quote "Who is John Galt?"
VPiattelli Posted September 13, 2005 Author Posted September 13, 2005 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.