Re: Login Script - Installing HotFix/Patches

From: Moe Szyslak (moe_szyslak_at_bigpond.com.news)
Date: 10/30/03


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
>
>



Relevant Pages

  • Re: Startup Script install software
    ... I granted the computer account everything but full permissions. ... the startup script so I can use the local system rights for the install, ... My script works if you run it manually so I ... It does allow my script to create a flag in ...
    (microsoft.public.windows.server.active_directory)
  • How to use scripting to secure your Win2K network--part 2
    ... script a self-contained script that automatically installs hotfixes on a ... Hotfix folder for hotfixes that apply to both Windows 2000 ... "Install script has started to install Hotfix " + hotfixid); ...
    (NT-Bugtraq)
  • Re: Startup Script install software
    ... it does a silent install. ... the startup script so I can use the local system rights for the ... strValueName = "flag" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Deploying Office 07 with Group Policy
    ... computer I tested it on took 30 minutes to install. ... the following script to the Computer Startup Script. ... REM Get ProductName from the Office product's core Setup.xml file. ... REM Set ConfigFile to the configuration file to be used for deployment REM ...
    (microsoft.public.office.setup)
  • Re: Startup Script install software
    ... the startup script so I can use the local system rights for the install, ... My script works if you run it manually so I don't ... It does allow my script to create a flag in ...
    (microsoft.public.windows.server.active_directory)