Thanks Matt !! I shall give it a try. Hopefully I am able to find a way to do it, hehehhe.
--- "Unicorn.PC.Support" <[EMAIL PROTECTED]> wrote: > obelix, It is usually best to have a stub program, > which checks for new > versions and if they exist run their installer, and > if they do not, run the > main program exe. However the choice is yours. > > You can have a routine that checks for a newer > version as a part of your > main exe, if the newer version exists, it shells to > the installer and > exits. > > The only caveat of using the main EXE program to do > the checking, is that it > can not be in memory when it is replaced, so you > MUST exit your main program > at some point and allow the installation to proceed > from a separate EXE. > > Your code could be something as simple as the > following. > If CVDate(FileDateTime(Localcopy)) > > (FileDateTime(ServerCopy)) Then > copyExe = True > Kill Localcopy > End If > > Or a complex check using the GetVersion API, for > examples of it in use, > check out the setup1 project in VB > > Or you could use a data file containing details to > be checked. > > Matt > > ----- Original Message ----- > From: "obelix asterix" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, September 21, 2004 5:00 PM > Subject: Re: [vbhelp] How to auto implement a setup > file to all client pc > > > > Let's say I am able to detect for the newer > version > > and I dont want user intervention, how do I write > the > > program to perform the upgrade ? I need to > uninstall > > the old version and install the new version for > each > > user. > > Sorry for being so blur but I really dont get it > and > > hope that you can clarify it for me. Thanks. > > > > --- Rick Rose <[EMAIL PROTECTED]> wrote: > > > > > Write a little function in your Form_Load that > > > checks for a newer version of > > > your program automatically, then either > instructs > > > the user to upgrade, or > > > performs the upgrade itself. > > > > > > Rick Rose > > > -------Original Message------- > > > > > > From: [EMAIL PROTECTED] > > > Date: 09/19/04 22:30:59 > > > To: [EMAIL PROTECTED] > > > Subject: [vbhelp] How to auto implement a setup > file > > > to all client pc > > > > > > I have created a dll project and make it as a > setup > > > program. When I want to implement to the users, > i > > > have > > > to manually go to each pc and run the setup > program. > > > If there is any amendments I have to remove the > > > setup > > > program from their pc and reinstall the new > version. > > > The dll file is setup into client's C: drive. > > > I am curious whether is there any way, I can > grab > > > all > > > the users in the network and perform the task of > > > uninstalling and reinstalling the setup file ? > Can I > > > do this from a server or a terminal ? Or can I > write > > > a > > > program or script file ? > > > Currently our servers are NT4 and all users are > log > > > to > > > the domain. > > > > > > > > > > > > _______________________________ > > > Do you Yahoo!? > > > Declare Yourself - Register online to vote > today! > > > http://vote.yahoo.com > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > > > > > > > > '// > > > > > > ======================================================= > > > Rules : > > > http://ReliableAnswers.com/List/Rules.asp > > > Home : > http://groups.yahoo.com/group/vbHelp/ > > > > > > > > > ======================================================= > > > Post : [EMAIL PROTECTED] > > > Join : [EMAIL PROTECTED] > > > Leave : [EMAIL PROTECTED] > > > '// > > > > > > ======================================================= > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > . > > > > > > [Non-text portions of this message have been > > > removed] > > > > > > > > > > > > > > > > _______________________________ > > Do you Yahoo!? > > Declare Yourself - Register online to vote today! > > http://vote.yahoo.com > > > > > > > > > > '// > ======================================================= > > Rules : > http://ReliableAnswers.com/List/Rules.asp > > Home : http://groups.yahoo.com/group/vbHelp/ > > > ======================================================= > > Post : [EMAIL PROTECTED] > > Join : [EMAIL PROTECTED] > > Leave : [EMAIL PROTECTED] > > '// > ======================================================= > > > > Yahoo! Groups Links > > > > > > > > > > > > _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [EMAIL PROTECTED] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
