Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2006

Tip: Looking for answers? Try searching our database.

Updating Programs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
darksavr@texas.net - 26 Mar 2006 07:20 GMT
Ok, I wrote this program that I have offered for download. What I want
though is for the user to:

(1) Download & install the program

(2) Have the program automatically check for updates (code chages, new
forms, etc), download them, and then install them. (i.e. version 1.0
checks for updates, then downloads them and 1.0 becomes 1.1)

I have been trying to get publisher to somehow set it all up, but the
most it will do is publish the final project to my website for
installl. Anyone who knows how I might go about this I would really
appriceate your help. Thanks!
jan.hancic@gmail.com - 26 Mar 2006 11:58 GMT
Well the first step would be to split the program in various DLLs. That
way you don't have to download the whole exe when there is a update.
You jsut download the componet that has been updated.
And then you would put a XML file on your webserver in which you would
put the latest versions of all the componets. Then you make a update
utility that checks that file and compares it to the versions you have
on the computer. If there is a change offer the user to download the
updated componets.
Jason Hales - 27 Mar 2006 14:34 GMT
Have you thought of No-Touch Deployment?
http://msdn.microsoft.com/smartclient/understanding/windowsforms/deploy/default.
aspx?pull=/library/en-us/dv_vstechart/html/vbtchNo-TouchDeploymentInNETFramework
.asp

darksavr@texas.net - 30 Mar 2006 04:38 GMT
I thought that I could do this with Click Once with in Visual Studio
Pro 2005, but I am havign trouble getting it to work. Here is how it
goes:
(1) I build the program

(2) I publish it to an ftp server

(3) check " The application will be installed from" my web site
(http://...)

(4) program is built and then published to the FTP site.

(5) files verified, "publish.html" is created

(6) I go to "Http://...../publish.html" and click the "install" link

(7) I get a page with what looks like xml language
(Http://.../clickonceexample.application) and it just sits there (no
program is installed).

All I want is for the program to check my ftp server (or a web page) to
see if a new version is out and if it is, update the currently
installed one. I think ClickOnce can do this I just need a "good"
walk-through on how to use it. Thanks for the help so far.
Lawrence R. Steeger - 30 Mar 2006 18:32 GMT
> I thought that I could do this with Click Once with in Visual Studio
> Pro 2005,
[quoted text clipped - 3 lines]
> installed one. I think ClickOnce can do this I just need a "good"
> walk-through on how to use it. Thanks for the help so far.

If your using IIS, you might want to look at this:

http://forums.microsoft.com/msdn/showpost.aspx?postid=50065&siteid=1

If your using Apache, you might want to look at this:

http://groups.google.com/group/microsoft.public.dotnet.framework.windows
forms/browse_thread/thread/ae1dea6bd9c09025/d8a93e740665fb7e?
lnk=st&q=clickonce+apache+mime+group%3A*dotnet*&rnum=2
&hl=en#d8a93e740665fb7e

Watch out for wrapping.

Signature

Larry Steeger
RusSte, Inc. - http://www.russte.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.