Re: Login Script - Installing HotFix/Patches
From: Moe Szyslak (moe_szyslak_at_bigpond.com.news)
Date: 10/30/03
- Next message: sgopus: "One Popup Left"
- Previous message: Cubit: "Re: Webpage dialed my modem to ?"
- In reply to: Torgeir Bakken (MVP): "Re: Login Script - Installing HotFix/Patches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 31 Oct 2003 09:30:54 +1100
thanks.
By using the qcahin file to create a log file and getting the file to check
for it on startup it now works sweet thanks
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:3FA143FB.36226827@hydro.com...
> Moe Szyslak wrote:
>
> > When I install the hotfix's patches via login script they work fine.
What I
> > want to accomplish is that when the login script exicutes if the patch
is
> > allready installed it will not install them again. Currently the scripts
> > installes the patches everytime they login, I have to remove the scripts
so
> > they will not execute again. Anyhelp appreciated.
>
> Hi
>
> Some methods:
>
> 1)
> You could let the script make a flag file (e.g. in the
> windows folder) or a flag in the registry to indicate that
> an update is done. Then the script test for this flag next
> time, and if it exists, it does nothing.
>
> Batch file example:
>
> :: Using this file to test for KB828750
> IF EXIST %WINDIR%.\KB828750.LOG GOTO CONT01
>
> \\Server03\Software\q828750.exe /q:a /r:n
> ECHO.KB828750 is now installed>%WINDIR%.\KB828750.LOG
>
> :CONT01
>
>
> 2)
> Check in registry if the hotfix is already installed or not, vbscript
examples:
>
> http://groups.google.com/groups?selm=3F965641.4A8303F1%40hydro.com
> http://groups.google.com/groups?selm=3F85429B.CF23CFAE%40hydro.com
>
>
> 3)
> Check the version number of a dll/exe file that the hotfix includes to see
if
> the hotfix is already installed or not, vbscript example:
>
> http://groups.google.com/groups?selm=3F4C8082.80E083AF%40hydro.com
>
>
>
> --
> torgeir
> Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of the 1328 page
> Scripting Guide: http://www.microsoft.com/technet/scriptcenter
>
>
- Next message: sgopus: "One Popup Left"
- Previous message: Cubit: "Re: Webpage dialed my modem to ?"
- In reply to: Torgeir Bakken (MVP): "Re: Login Script - Installing HotFix/Patches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|