PDA

Click to See Complete Forum and Search --> : upgrade distribution


carolyn
Jan 7th, 2004, 08:28 PM
I need to distribute application upgrades, ie only update necessary files. I need something like what most upgrade programs do, double clicking the file and it automatically updates and registers (if required) the necessary files, including ocx / dll files residing in systems folders.

I can't seem to find such options with the VS Installer. Have I overlooked? Are there any products for this purpose?

randem
Jan 7th, 2004, 11:29 PM
carolyn


This is a job for you. You will know what changed and include it in your update. Option, you will not find.

BrianS
Jan 8th, 2004, 09:22 AM
Do a search on this site for Auto Update.

There were some good threads on how you can do some of this yourself.

carolyn
Jan 8th, 2004, 10:06 PM
Thanks BiranS. That's the keywords I was looking for!

Did a search and went through almost every posts. They were all about updating applications, which isn't a problem and have been successfully doing it so far.

I haven't had any problems in the past since only files in the application directory needs to be replaced and most of the libraries used are backward compatible. Now, one of the 3rd party controls requires new versions of ocx and dll to run. Location of these ocs / dll files are different on different Windows. What's the best product to generate this update file to automatically update in one click?

I was hoping the 'Repair' option from the setup wizard generated by VS Installer could do this. Apparently it only replaces missing files.

Any ideas or hints?

BrianS
Jan 8th, 2004, 10:21 PM
I dont think it would too difficult for your Update routine to search the current system to find out where the current files are stored and then to replace them in the same path.

Originally posted by carolyn


Location of these ocs / dll files are different on different Windows.

randem
Jan 8th, 2004, 11:11 PM
carolyn


That is why registration of the files is important. It does not matter where they are registering them will solve that for the OS. In fact if they are OS dll/ocx they should be in the Windows Systems folder and installers handle that very well (the registering also).

rekless
Oct 8th, 2004, 09:09 PM
Did a search and went through almost every posts. They were all about updating applications, which isn't a problem and have been successfully doing it so far.

Carolyn, I am trying to figure out how to include an UPDATE button on my program that will connect to a website via http or ftp or whatever and download the required files (i.e. exe, txt files).

I have done the search for AUTO UPDATE that BrianS has posted in most threads about AUTO UPDATES....??? There is still no code examples on how to do this. I am still searching, just thought I might get lucky and find some code that is relevant to my problem.

You said above that you don't have a problem doing it so I thought you might have soem useable code. Thanks.

Jay

Wokawidget
Jan 11th, 2005, 08:08 AM
Check out the link in my sig, LiveUpdate. Full code an examples given.

Woka