Greetings one and all,
You might be able to help me out of a real jam.
Our network here needs hotfix kb935843 (to fix a SQL reporting
services problem)
There are 2 versions of this hotfix, one for XP and one for 2000.
I need to roll this out as a logon script as there are over 1000 PC's
needing this update.
Now my query is this.
How, using KIX script, do i roll out the right update to the right
version of the OS, but only run it once.

Something like.
IF already installed then exit
Else IF OS = XP then run XP install
Else IF OS = 2000 then run 2000 install.

Help.
I'm new to using KIX, I seem to remember it is possible but exactly
how to do it i'm not sure.

Any help would be welcome.

Peter Phillips
Network Analyst
Redcats UK PLC

Re: KIX Scripts & installing hotfix's by mr_unreliable

mr_unreliable
Mon Jun 18 13:02:04 CDT 2007

hi Rogue,

It is possible to determine the os you are running on.

There have been several postings here showing how to
do it.

You can find them using google advanced group search.

http://groups.google.com/advanced_group_search

Once you know the os, the rest is all "downhill".

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)




Rogue wrote:
> Greetings one and all,
> You might be able to help me out of a real jam.
> Our network here needs hotfix kb935843 (to fix a SQL reporting
> services problem)
> There are 2 versions of this hotfix, one for XP and one for 2000.
> I need to roll this out as a logon script as there are over 1000 PC's
> needing this update.
> Now my query is this.
> How, using KIX script, do i roll out the right update to the right
> version of the OS, but only run it once.
>
> Something like.
> IF already installed then exit
> Else IF OS = XP then run XP install
> Else IF OS = 2000 then run 2000 install.
>
> Help.
> I'm new to using KIX, I seem to remember it is possible but exactly
> how to do it i'm not sure.
>
> Any help would be welcome.
>
> Peter Phillips
> Network Analyst
> Redcats UK PLC
>

Re: KIX Scripts & installing hotfix's by ItsMillerTime4u

ItsMillerTime4u
Mon Jun 18 16:25:30 CDT 2007

This is a VBscript Usenet group not Kixtart, however your lucky
because I know both. Kixtart has a Macro for determining the OS it
@BUILD. @BUILD returns back 2195 for Windows 2000 and 2600 for Windows
XP. In regards to not having the command run twice, you need to look
at what files/registry keys are added from the kb935843 update. Once
you find this out you need to check for the presence of the keys/
files. If they don't exist apply hotfix see "Exist" and "KeyExist" for
more info.


Re: KIX Scripts & installing hotfix's by Mike

Mike
Wed Jun 27 04:14:29 CDT 2007

Rogue wrote:
> Greetings one and all,
> You might be able to help me out of a real jam.
> Our network here needs hotfix kb935843 (to fix a SQL reporting
> services problem)
> There are 2 versions of this hotfix, one for XP and one for 2000.
> I need to roll this out as a logon script as there are over 1000 PC's
> needing this update.
> Now my query is this.
> How, using KIX script, do i roll out the right update to the right
> version of the OS, but only run it once.
>
> Something like.
> IF already installed then exit
> Else IF OS = XP then run XP install
> Else IF OS = 2000 then run 2000 install.
>
> Help.
> I'm new to using KIX, I seem to remember it is possible but exactly
> how to do it i'm not sure.
>
> Any help would be welcome.
>
a)
You could do this quite simply in ordinary batch: ask in
news://alt.msdos.batch.nt ffi

b)
There is probably a world of difference between VBscript and Kixscript

c)
a quick Google (on "kixscript os version") led me to
http://www.adminscripteditor.com/forum/tm.asp?m=3371
which gives the branching on OS structure that you want.

d) This was easy for me to do with barely any kixscript knowledge:
try looking for yourself.