Important alert: (current site time 7/16/2013 2:42:49 AM EDT)
 

winzip icon

ReVive LiveUpdate with Help File and Script Editor

Email
Submitted on: 5/23/2006 3:13:24 PM
By: Bugzy 
Level: Advanced
User Rating: By 71 Users
Compatibility: VB 6.0
Views: 31553
author picture
(About the author)
 
     LiveUpdate for all your apps in 4 easy steps! Provides complete program update functionality across both LAN’s and WAN’s. Comprehensive help file included. Updates up to 99 files, any type. Registers OCX and DLL files when permissions allow (aborts when they do not). Three run modes: Auto, Notify, and Normal. Two application shutdown options: automatic and via user warning. Optionally closes and re-opens your application if killed by ReVive or the user during update. Supports any combination of HTTP and FTP file downloads. Supports multiple client directory script constants and ready for more. Validates required user rights before downloading any update files. Performs comprehensive 6-point test on all update files before any are installed (virtually every failure possibility tested). MustUpdate and MustExist tags ensure file version compatibility during updates if critical file updates fail. Replaces in use files the way Microsoft says to (plus a clever and usually successful EXE addition). Generates and displays a complete before or after HTML update report on demand. Optionally informs client of updated file functionality details. One client ReVive installation supports any number of programs via file association or command line parameters. Complete per file and total download progress display (chose of 3 different formats). Supports primary and alternate web update script download locations. Reboots client computer when required (forced or optional). Client stored web update URL's are encrypted for security. Lists all update components by file description, with optional icon of file being updated. Includes an almost complete web update script editor with tag coloring, script testing, data type validation, entry automation, distributable file creation, and complete help system. Windows 98/NT 4.0 through XP tested and compatible. Complete with a help file, logic document, version info file, and resource file documentation – this is one of the most documented submissions on PSC, which was done hoping for good feedback. I would like to apply our collective experience and make this Live Update as bullet-proof as VB allows. Please comment/vote if you suggestions or find bugs, your feedback is appreciated.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
9/9/2005 2:03:27 AMRuturaaj

Are you using Windows Longhorn? The Screenshot looks like it. If yes, then please let me know how is the performance and your opinion on this new version of Windows. mailme_friends@yahoo.com ...

That apart, your logic sounds very well planned. Just have not tested it. If, as you have said, it works over LAN and WAN as well then nothing like it.

I'll come back to vote for you. Thanks for sharing yout thoughts and code here.

Regards,

Ruturaj.
(If this comment was disrespectful, please report it.)

 
9/9/2005 4:19:28 AMDaniel M

That is some nice coded, I'd steal it if I needed a LiveUpdate in one of my programs =P
(If this comment was disrespectful, please report it.)

 
9/9/2005 4:27:21 AMmugman21

Looks very nice. Tool lazy to read threw it all so I'll just ask, how does the server side work? You just place the update script on a server and that contains the paths for the update files or what????


Mugman
(If this comment was disrespectful, please report it.)

 
9/9/2005 9:10:23 AMBugzy

Mugman21, it is very simple. You put the script written in the script editor on your server with your application files and your done. I tried to keep it as simple as possible.
(If this comment was disrespectful, please report it.)

 
9/9/2005 9:13:37 AMBugzy

Ruturaaj, no, I am not using Longhorn. The form is custom drawn.
(If this comment was disrespectful, please report it.)

 
9/9/2005 11:35:52 AMSriharish.H

Nice Code.
(If this comment was disrespectful, please report it.)

 
9/9/2005 1:03:25 PMLarry Bell

this is the best program update i have seen Good Job 5 Globes from me
(If this comment was disrespectful, please report it.)

 
9/9/2005 1:39:37 PMJane

tanks
(If this comment was disrespectful, please report it.)

 
9/9/2005 1:53:32 PMSchmendrick

Looks fantastic! Adding it to my program now. 1 question, in the .rus file I have 2 files listed (the executable and help file) when i look at the .ris file, it only lists the help file... is that normal?
(If this comment was disrespectful, please report it.)

 
9/9/2005 2:16:21 PMBugzy

Yes, it only list that file because it will get version information from EXE and OCX files on the client, but ReVive must have a method of determining the version info for files that do not contain it. The .ris file will always and only list version info for files that do not store version data.
(If this comment was disrespectful, please report it.)

 
9/9/2005 4:05:27 PMMike Douglas

Gave ya 5* for a beautiful project. Looks like many hours went into this one. Would be nice to see a simpler smaller updater tho (6 forms, 3 modules, 2 controls and a class is a bit clunky to incorporate). If I have time, I'll whittle this one down for my uses. Thx and kudos again.
(If this comment was disrespectful, please report it.)

 
9/9/2005 6:11:16 PMBugzy

Mike, thanks for the kudos. The idea of the project is to avoid incorporating any of this code in a project, but to just distribute the compiled exe seperately with an app. If all this was to be added to each of my projects individually I would certainly agree, but keeping it seperate keeps it simple. I will review the files and see if I can streamline, but I believe I kept it to a minimum considering the completeness of the project. Thanks for the comment, hope you enjoy the project.
(If this comment was disrespectful, please report it.)

 
9/10/2005 1:08:24 AM110100100

This is very slick. Works great and is very well documented. Great code, thank you. *****
(If this comment was disrespectful, please report it.)

 
9/10/2005 2:29:32 AMRuturaaj

Wow ! It works! It worked on LAN. Don't have routers and switches to check it on WANs, but worked well on LAN with firewall. This is a fantastic code and thanks a lot for sharing this code with us. If there is any update to this code, then please let me know about it.

Regards,

Ruturaj.
(If this comment was disrespectful, please report it.)

 
9/10/2005 2:44:09 AMBugzy

110100100, thanks for the kind words. Ruturaaj, if you would like me to add you to the mailing list please open the help file and click on my email link. I cannot get your address from here. Thanks again to all, sounds like all is well so far. :-) Chris
(If this comment was disrespectful, please report it.)

 
9/10/2005 1:08:30 PMBugzy

UPDATE: I added on-focus tip text boxes to both the New and Insert forms in the script editor to display quick help on what each script key means. Hopefully this will help - soon you won't even need the help file. LOL
(If this comment was disrespectful, please report it.)

 
9/10/2005 9:40:47 PMMike Douglas

Ahh..OK different mindset for me. This is more like the norton external updater not the internal "check for updates" option I was thinking of. In that case, nevermind, fat is beautiful. It also doesnt matter how many forms, modules and classes if its a seperate project. Kudos again.
(If this comment was disrespectful, please report it.)

 
9/11/2005 3:19:18 AMlatinarebelde

The layout of the LiveUpdate Report is user friendly and its context is great (very clever). Adding short description to the Sample Project Live Update Popup buttons by means of a right click on the buttons will allow interactive help interface without leaving the project. Source code documentation, and code structure are very clear.
(If this comment was disrespectful, please report it.)

 
9/11/2005 9:29:44 PMBugzy

Mike, you are right, this acts just like Norton's Live Update. Doing updates with an external process is obviously essential if you need to shut down the application being updated to make the updates effective immediately, which I think the ideal way to do it. Consider if you needed to update a custom OCX in use by your application and the update code was built into your app - it obviously would require a reboot to take effect. ReVive is ideal for this purpose as well as providing complete update functionality for almost any situation. Again, thanks for your comments. Chris
(If this comment was disrespectful, please report it.)

 
9/12/2005 2:26:00 AMBugzy

UPDATE: Fixed a couple of issues related to passing commandline parameters and ReVive behavior following app killing and restarting. Please keep the comments/suggestions coming! Chris
(If this comment was disrespectful, please report it.)

 
9/12/2005 12:58:46 PMMike

Excellent code, thanks for sharing.
(If this comment was disrespectful, please report it.)

 
9/12/2005 10:06:35 PMenmity

less dependencies? use no external OCXs is prefered
(If this comment was disrespectful, please report it.)

 
9/12/2005 11:21:55 PMBugzy

Enmity, I agree less dependencies would be good, and is actually a future plan as time allows. My focus has been ensuring it functions as needed and I believe I am there with that, so upgrades will include custom controls eventually when I can get to it. Thanks for the comment.
(If this comment was disrespectful, please report it.)

 
9/12/2005 11:36:45 PMBugzy

Enmity, I reviewed the dependencies again and essentially there is only one, the MSCOMCTL.ocx, which ships with VB6 and is used one way or another in most VB apps. Nevertheless I do agree eliminating the need for this one file should remain a future plan. Pitty I cannot tie Jims McImageList in to work with the Listview, I would have been halfway there with a solid replacement.
(If this comment was disrespectful, please report it.)

 
9/13/2005 7:06:36 PMCodeFester

This has a tremendous amount of effort and detail included and I am really impressed. I think you really deserve to win this month. I tried it in all modes and no problems on W2k SP4. Also, I was MOST impressed with the clever nature of the InIDE function! Good Job! It's a 5 nutter from me...
(If this comment was disrespectful, please report it.)

 
9/13/2005 10:54:12 PMBugzy

UPDATE: Modifed ReVive to fully support both LAN and WAN program updates. Now all update files can be stored on either a local area network or a FTP or Web server. Chris
(If this comment was disrespectful, please report it.)

 
9/16/2005 9:51:33 AM110100100

This just keeps getting better and better. For the first time, I wish that I could vote twice. This is the kind of project I love to see here, and I look forward to using it in some of my own projects. Thanks again.
(If this comment was disrespectful, please report it.)

 
9/17/2005 1:11:23 AMAvi

Excellent! Thanks for sharing.

Can I use it with a program I'm developing?
(If this comment was disrespectful, please report it.)

 
9/17/2005 1:04:06 PMBugzy

Avi, of course. Hope you enjoy it and thanks for the kind words.
(If this comment was disrespectful, please report it.)

 
9/20/2005 10:12:51 PMRobert Simard

Simply perfect 5 globes !!
question : how to connect to FTP with user name and password ?
(If this comment was disrespectful, please report it.)

 
9/20/2005 10:16:49 PMBugzy

Robert, use this method: ftp://Username:password@ftp.yourftp.com
(If this comment was disrespectful, please report it.)

 
9/20/2005 10:28:18 PMBugzy

Another note on the question from Robert. Since the Prim and Alt URL's are encrypted the user will not know (without some intelligent investigating) what URL the files are stored when a username and password is required. I should have put the above info in the help file - will update next time. Chris
(If this comment was disrespectful, please report it.)

 
9/21/2005 10:01:26 PMMarc Gervais

You get 5 on this one, Chris. Awesome job and I'm looking foward to getting some use out of it.
(If this comment was disrespectful, please report it.)

 
9/24/2005 4:25:32 PMRaf Storr

Must be special as this is the first time that I have actually stirred myself to vote. Only trouble I had was that my site wouldn't play until I used all lower case filenames - think Chris might already have mentioned that. Excellent code and thoroughly deserves 5 stars from me.
(If this comment was disrespectful, please report it.)

 
9/26/2005 10:48:38 AMJacky Wong

This stuff is cool. But I would like to ask for a detailed manual.
(If this comment was disrespectful, please report it.)

 
9/26/2005 11:39:43 AMPhantom Man

One Of The biggest Problems With These AutoUpdate Apps Is When They Are Used With In A Terminal Services Environment. It Simply Won't Work As Most Terminal Services Consoles DON'T Give Access To The Hard Disk. Therefore No Update Can Be Applied.

This Is The Case With Yours, But Apart From That This Is Extremely Well Done.
And Deserves Top Marks For It's Ingenuity And Ease Of Use.

Note: This Is Not A Down Side To Your App, Just Highlights What Happens When Your App Is Running In A Terminal Server Environment.

(If this comment was disrespectful, please report it.)

 
9/26/2005 2:16:17 PMBugzy

Jacky, I believe the help file is pretty extensive and covers just about everything - was it not enough? Phantom, you are correct about terminal services,unfortunately such is the case with LiveUpdate apps in that environment. Perhaps one solution may be to modify ReVive to detect running terminally and either abort or provide a notice that is should not be used in that scenerio. Great input though Phanton, thanks for the point. Chris
(If this comment was disrespectful, please report it.)

 
9/26/2005 11:32:43 PMBugzy

I am having difficulty finding information about limited hard-drive access in a terminal environment. I run a network a few hundred miles away via terminal services and all ReVive updates are completing successfully when logging in using administrative mode. Is this an application mode limitation? Does anyone having any information/insight into Phantoms input above? Any information anyone of you can provide would be appreciated. Thanks - Chris
(If this comment was disrespectful, please report it.)

 
9/27/2005 4:04:57 AMJacky Wong

Dear Bugzy, I love your project and your help file is one of the best in planetsourcecode.com but your excellent project has so many parts and it is a little bit complex, so I think it is hard to follow for a beginner like me. Besides, I have 3 suggestions:
1. Use resource file to store all words included button and form's caption
2. Integrate Zip and Unzip in your application, so that file transfer will use less transfer time
3. Support LAN network like \\myserver\update\ (I haven't check yet, the system may already support this)
BTW, your project desires top rating, please keep it up.
(If this comment was disrespectful, please report it.)

 
9/27/2005 7:38:46 PMBugzy

Jacky, thanks for the nice comments and vote, it seems I need it now with the tough competition this month. :-) Suggestion 1: I did use a resource file extensively in the app, by I felt a one word button text might be overkill. I will keep that in mind in future updates. Suggestion 2: You may be right about using zips, but I didnt go that route for simplicity and ease of use. Rather than compressing all update file I felt it easier to simply upload/download them in their original state. If you want to run with this update I would be happy to review/post your update if it works solid. Suggestion 3. ReVive already fully supports LAN, WAN and FTP download locations - this one is already done. Thanks again for your thoughts and please keep them coming! Chris
(If this comment was disrespectful, please report it.)

 
9/28/2005 7:18:41 PMCodeFester

I can throw in that many terminal environments (when the server is in application mode not remote control mode), the local hard disk normally known as drive letter C is somewhere way down the alphabet because as each user connects, their own C: drive is mapped as C:. Probably irrelevant but you asked for terminal services thoughts... Still love the work you put in this though.
(If this comment was disrespectful, please report it.)

 
9/28/2005 7:29:01 PMVBtutor

Wonderful work, quality, and standards. Two thumps up (5*****)

(If this comment was disrespectful, please report it.)

 
10/7/2005 12:24:17 AMBugzy

Please take the time to vote and leave comments, I need your inputs for version 2.0. :-)
(If this comment was disrespectful, please report it.)

 
10/7/2005 6:11:30 AMSpector

Impressive work Bugzy! Not only has good functionality but the interfaces are professional as well. I will definately be incorporating this into my software. Keep up the great work!
(If this comment was disrespectful, please report it.)

 
10/8/2005 12:13:54 AMBrian Ail

(To the code) Oh your god...so fr*gn nice!!!
(To the first reply) How can Longhorn possibly have ugli close buttons like this? At most it is 2000 or 2003 or XP dressed up in a bad way
(If this comment was disrespectful, please report it.)

 
10/8/2005 8:10:34 PMBugzy

I guess it isnt to bad, Brian, if the close button is the only bad thing you discovered. lol. Maybe I will work on that someday.
(If this comment was disrespectful, please report it.)

 
10/14/2005 12:08:09 PMJ.Schnoor

It looks great but it doens't work for me. I did as said in the ReadMe-File but it says that ReVive encountered an error while processing the update script. And when I open the sample scripts in the script editor and press test it says that I shouldn't use alpha characters in the file version variable. Can anyone help me fixing this?
(If this comment was disrespectful, please report it.)

 
10/14/2005 8:16:20 PMBugzy

J. Schnoor, this error is likely happening because your regional settings use a comma rather than a period in numeric numbers. A fix is already built and is currently being tested. Will update as soon as I confirm success. Chris
(If this comment was disrespectful, please report it.)

 
10/14/2005 9:13:51 PMBugzy

UPDATE: Fixed regional problem in ReVive and the Script editor to recognized commas in a numeric expression. Thanks HJM Corver for the testing help and J. Schnoor for your comment. Chris
(If this comment was disrespectful, please report it.)

 
10/14/2005 11:30:07 PM

Bugzy, thank you for sharing this code, I think this will help me a lot.
It looks great for every thing but one missing part for me is creating script, it is too much job.
I am working as an in house programmer for 10 years now, so I have to manage a lot of small applications to update almost every day.
To make simplify the process, you need to add one more application to upload updated files to server and generate script in same time. May be I got a do it myself.
Today I try to implement your application in intranet environment.
I got little problem in IIS6 in Win2003 server does not allow your RUS file to view on web. My quick solution was adding NET ISAPI filter to RUS extension but I am not sure this is good, If you have any other idea then please let me know.


(If this comment was disrespectful, please report it.)

 
10/15/2005 8:18:36 AMhenricorver

chris, thanks for sharing. I also will steal your code if necessary ;-), but I already mailed that threat....
(If this comment was disrespectful, please report it.)

 
10/15/2005 10:12:41 PMBugzy

Kiho,

What do you mean by "Win2003 server does not allow your RUS file to view on web"? The RUS file is only downloaded from the server, it is not viewed. I am using 2003 Server and it downloads without error. Please specify...
(If this comment was disrespectful, please report it.)

 
10/17/2005 12:03:27 AM

Chris, If I type ‘http://members.cox.net/vbmail/PSC/UpdateMessage.rus’ to IE then download file dialog pops up, on the other hand my web server returns ‘HTTP Error 404 - File or directory not found.’.
In your application fails at Sub UserControl_AsyncReadComplete … If .BytesMax <> 0 Then … --- ReVive never connected to the file or server …
RaiseEvent DownloadComplete(s, eCONNECTERROR)

(If this comment was disrespectful, please report it.)

 
10/17/2005 2:20:32 AM

I found solution here, http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/dd07e7b2-d946 -4a21-8805-8b60c62b479e.mspx
(If this comment was disrespectful, please report it.)

 
10/17/2005 7:52:16 PMBugzy

As observed by Kiho above, if you are serving your files from a Win 2003 Server you will need to configure its Known Extensions setting to download your update files and the RUS file.
(If this comment was disrespectful, please report it.)

 
10/19/2005 4:09:31 PMBugzy

UPDATE: Refined ReVive's version parsing and comparison functionality. This is an important update for users of the project. PLEASE read the File Section topic on UpdateVersion info for important information about building the Web Update script.
(If this comment was disrespectful, please report it.)

 
11/5/2005 12:49:55 PMIan

Does your program support updates if the client is being run under a Limited User account? This situation is becoming very common.
(If this comment was disrespectful, please report it.)

 
11/9/2005 3:31:31 AMedward zhu

Perfect update tool. I am using it in my project. Thanks for sharing.
(If this comment was disrespectful, please report it.)

 
11/10/2005 12:33:42 PMEd. P.

Very usefull. Thanks for sharing.
(If this comment was disrespectful, please report it.)

 
12/2/2005 7:51:59 PMBugzy

UPDATE: It was discovered, on only one install of MS XP, that the connection error timer would not disable following a connection error. Because the timer continued to cycle until its preset time limit, an application error was occurring once ReVive automatically tried to unload while in Notify mode. This problem only occurred on a single installation of XP, and never occurred on any other XP installations. Through thorough testing, I determined the timers were actually not required because the Async method by default manages connection timeouts. Both the connection and timeout timers have been removed and the problem is resolved.
(If this comment was disrespectful, please report it.)

 
12/28/2005 9:53:49 AMFWilson

This is just what I was looking for! I distribute custom code for 50+ users and this is going to make my life a lot easier! 5 Globes from me.
(If this comment was disrespectful, please report it.)

 
2/1/2006 12:35:19 AMRobert Simard

Is this possible to auto extract a file after the update (zip,exe, Self-extract) or simply excute a shell ?
Thank
(If this comment was disrespectful, please report it.)

 
2/18/2006 9:46:33 AMMasino Sinaga

This is what I am looking for. Thank you for sharing this. 5 globes!
(If this comment was disrespectful, please report it.)

 
3/9/2006 11:42:00 PMDhani Indra Gunawan

Thx dear...i love these site..indonesia watching you darling..(if you had a girl)
(If this comment was disrespectful, please report it.)

 
3/24/2006 7:30:33 AMPhilip Zac

Dear Chris, as Mr Ruturaaj said the the form skin looks so nice, i love it, can u post the skin work as a seperate project...:)
(If this comment was disrespectful, please report it.)

 
3/24/2006 11:07:37 AMBugzy

Phil, the form is only drawn not skinned. I wish I had the time to post that section in another project but right now I simply do not. I am preparing for a career change and that is taking all my time. Please feel free to run with the code and do/post what you like with it if you have the time. Thanks for your interest! :-)

Chris
(If this comment was disrespectful, please report it.)

 
5/21/2006 3:06:56 PMgregw

Chris,

Great code. Thanks for sharing. I'll be using this in all my upcoming projects.

Greg
(If this comment was disrespectful, please report it.)

 
5/22/2006 12:46:24 PMFoundations Software

Amazing work!!! 5 globes
(If this comment was disrespectful, please report it.)

 
5/25/2006 12:30:43 AMRuturaj

Wonderful to see you back with update! I'm downloading it right now and I'm proud to say that I've used your Update System in my Project Development and no problems faced/reported by any of my clients till the date!
(If this comment was disrespectful, please report it.)

 
6/10/2006 12:04:35 PMMTIG

Very nice! Clean code, well-commented, and very well-thought-out. I am writing a comprehensive software activation system that I was going to put into the public domain as open source. I would like to set it up to work with ReVive. See next comment.
(If this comment was disrespectful, please report it.)

 
6/10/2006 12:06:21 PMMTIG

It requires much tighter security than ReVive so I will work on some security add-ins that users could optionally enable.
(If this comment was disrespectful, please report it.)

 
6/10/2006 12:16:45 PMMTIG

BTW, ***** of course. If you like, I could set up a simple open source website to provide contributors to post collaboration material.
(If this comment was disrespectful, please report it.)

 
7/27/2006 10:01:09 PMTonysComp

Ctrl + X is used for both program exit and cut inside the script editor. is the update able to register dll's? Think the program is great though
(If this comment was disrespectful, please report it.)

 
7/28/2006 9:11:00 AMTonysComp

I cant seem to get it to update using the /n (notify) switch. i works ok with the auto switch and with no switch but when i try the notify switch nothing happens. there is an update available cos the manual update method says there is
(If this comment was disrespectful, please report it.)

 
7/28/2006 12:03:02 PMBugzy

TonyaComp, yes, DLL's are registered by Revive when permissions allow. Please see help file for more details if you require.

Once again thanks to everyone for you comments and kind votes!

Chris
(If this comment was disrespectful, please report it.)

 
8/2/2006 7:30:05 AMTonysComp

According to the help files there are only 2 reasons why this should happen. 1st if the user does not have the correct privialages. Although I am logged in as admin and it works ok with auto update, the 2nd if there is some sort of error. But then why does it work with auto and manual. The test program seems to work ok but mine does not and I cant find out why. I have re-read the help files many times but cant find out why this does not work. Please if anyone has any suggestions let me know. Thanks in advance.
(If this comment was disrespectful, please report it.)

 
8/11/2006 1:55:33 PMNCrawler

Found a bug... This only seems to happen on WinXP, but if the list of files to be updated fills the listbox, then the text is AFU, doubled.
(If this comment was disrespectful, please report it.)

 
9/4/2006 1:12:32 AMAbhilash C.B.

This is really a great code. I enjoyed it. But i would like a setup.exe in the server to be downloaded and run the setup wizard. If there is an option for this it would be helpful.Kindly tell where can i modify for this option
(If this comment was disrespectful, please report it.)

 
10/6/2006 4:12:33 PMDavid Nguyen

Very strong and usefull code I haven't ever seen for this topic.
(If this comment was disrespectful, please report it.)

 
10/12/2006 8:08:58 PMDon Nesci

This is excellent coding. When your considering an update, when using th /n switch, could Revive wait to restart a program until the user closes the Revive status window. Currently, it ends up begin the application it restarts.
(If this comment was disrespectful, please report it.)

 
10/30/2006 6:24:54 PMJosé Sanz

This is really a solid code, just what I needed, just what I was looking for. Very good programming style, great comments along the code, fantastic help file. Please, keep me informed about any update or any new application you are planning to do... Of course, * * * * *
(If this comment was disrespectful, please report it.)

 
11/28/2006 7:18:12 PMTerrece

Excellent code, however, i am using it over a LAN and everything works except for the /n (Notify) mode. it wont display the notification dialog. if I run it in normal mode I can see the updates and install them. Anyone else having this issue?
(If this comment was disrespectful, please report it.)

 
1/26/2007 11:11:19 PMSpector

Great program but one thing needs to be addressed. Most programs use more than one file for the same function so you need to allow multiple files to be attached to one description.
(If this comment was disrespectful, please report it.)

 
1/27/2007 3:55:53 PMBugzy

Spector,

Thanks for your feedback, I am glad you find the project useful.

All you need to do in this situation is enter the same description in the .rus script for each file the description applies to. I will say that every file I update on all my apps has a specific purpose and therefore a unique description, whether it is a dll, ocx or exe they are all unique in one way or another and my descriptions reflect that.

Chris
(If this comment was disrespectful, please report it.)

 
1/28/2007 3:53:38 PMSpector

[Chris]: Thanks for the reply. When I try to use the same description name for more than one file, Revive will stop with an error and won't process the .rus script. The problem is I have multiple files that are required "core" files for my program and need to be updated and I would like all of them to be listed under "Core Program Files". While other file updates are optional and can be listed seperately. Many other update programs function like this such as Symantec's LiveUpdate. It would just be better than having a list of 20+ files since I am constantly fixing bugs.
(If this comment was disrespectful, please report it.)

 
2/4/2007 5:59:34 PMBill

NCrawler,

The listbox being filled problem (text overwriting itself) can be fixed - at least it was for me - by adding the line "Me.lvFiles.Refresh" in the ListScanResults routine. Put it after the "With FileList/End With" section at the beginning.

Bill

(If this comment was disrespectful, please report it.)

 
2/24/2007 5:31:28 PMBill

Maybe everyone else figured this out, but to those having problems with the "/n" switch, it seems as though you HAVE to make sure you use a valid NotifyIcon file. If you don't define one that exists, the /n won't work.
(If this comment was disrespectful, please report it.)

 
6/20/2007 12:02:21 PMIdeas Software Inc.

ya problems with the "/n" switch, but one major problem i found that i am not able to update ".exe" our a downlaod a ".exe", i tried several times, i dont know that its problem from my side or its not working.
(If this comment was disrespectful, please report it.)

 
6/22/2007 9:32:36 PMBugzy

Ideal,

Are you serving files from a 2003 server? If so, you have to set up your Known Extentions as mentioned above for your 2003 server to make them available for download.

Chris
(If this comment was disrespectful, please report it.)

 
7/21/2007 8:24:53 PMdagauff

Great code! What about adding another variable that goes along with the LaunchIfKilled variable to allow a parameter. So when the orignal app is launched, you can pass a startup parameter that can be checked in code. I noticed in the shellexecute portion of the app to re-launch for parameters is null. I have a zip file that contains a bunch of report files being updated. When the original app is launched after a successful update, I'd like to know on startup thru a parameter if I need to unpack the zip file and distribute the new report files. There are a ton of files that I don't want to individually keep track of and update, it's easier to update a zip file and unpack.
(If this comment was disrespectful, please report it.)

 
7/24/2007 9:47:17 PMDooda

This is REALLY SOMETHING, man! Cool sample code. I find it every useful to learn from as well. However, I wonder why it seems to give a few second delay when launching the Liveupdate, even in the Script Editor when I click on the Options button.

Again, great masterpiece!

Dooda
(If this comment was disrespectful, please report it.)

 
1/18/2008 11:54:20 PMDonBox

I did not know how to use
(If this comment was disrespectful, please report it.)

 
1/30/2008 7:35:47 PMBugzy

All,

First let me apologize, haven't been visiting the site often, but I will ry to more often as the interest for this app seems to remain fairly consistent.

I noticed (Thanks to Mark) that my ISP deleted all the sample files due to email inactivity, which I don't use the associated account. I have recreated the directory structure on the server and tested the sample - all is well.

I will also try to find the time to review your update requests as well as look at the Notify icon issue.

Please keep the feedback coming, I appreciate it! Votes are cool to, just cause they warm my heart to see. :-)

Thanks again for your interest.

Chris
(If this comment was disrespectful, please report it.)

 
5/2/2008 2:27:56 PMJorge Colaccini

All,
when the updated file is not where must be, frmDLError is showed, sayin that LiveUpdate has experienced a connection error, but when I press Cancel or Retry buttons LiveUpdate application crash.

Why?

TIA.

(If this comment was disrespectful, please report it.)

 
5/2/2008 6:32:35 PMJorge Colaccini

About my previous post, I have detected that the problem reported is made due to some conflicts with ccXPButton because if I replace ccXPButtons in frmDLError form, it run without problems.

Any comments?

TIA.
(If this comment was disrespectful, please report it.)

 
6/5/2008 8:41:59 AMfuzzy

hi, program looks great but i am having a problem getting it working, no matter what update.ris file i point it to, it still goes back to your server and looks for your default files. PLEASE HELP
(If this comment was disrespectful, please report it.)

 
6/6/2008 8:23:29 PMBugzy

TIA,
I have not experienced your problem and cannot duplicate it. Are there any more details you can share?

Fuzzy,
You are suppose to point it to a RUS file on your server, not a RIS file. Please see the help file, usage is explained extensively.

Chris
(If this comment was disrespectful, please report it.)

 
8/31/2008 9:51:17 PMpeter jack

Chris
5*, Some suggestions:
It is better to include install and uninstall. In this way we do not need the third partys like INNO or NSIS.

if isInstall()=false then
install.show
elseif instr(command$,"/uninstall") then
uninstall.show
else
liveupdate.show
endif

(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.