Page 1 of 1 1
Topic Options
#50917 - 2000-08-08 10:39 AM logon script for auto instlall
Anonymous
Unregistered


Hello friend !
would some one help this little sweet girl?

I want to create a script that should make the server enable to install program (like office 97, IE5, and so on) if the clients (win9.x) don't have those program.

Also, You log on a NT network on a win95 client, NT server check wether the client have office97, if yes, no install make, if no, the server make a auto install of office97 to the win95 client.

Can some one help me with this script?

Mail me,

lisa

Top
#50918 - 2000-08-09 12:39 AM Re: logon script for auto instlall
Anonymous
Unregistered


Lisa,

Microsoft has a network install utility called "Network Installer" in which you can preset installation settings. In the end you get a command line of some sort. For the "CHECK FOR OFFICE" routine maybe something like :
;Check for Admin Privs

IF INGROUP("\\@WKSTA\Administrators") OR INGROUP("Domain Admins")

;Check Installation Exists

$ReturnCodeO2000 = Existkey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{00010413-78E1-11D2-B60F-006097C998E7}")
IF ReturnCodeO2000 <> 0
SHELL "<what ever the Network Install program says>"
END IF

This could/should work fine. We use a similar script with WINSTALL Installation packages.

Gillez

Top
#50919 - 2000-08-12 01:20 AM Re: logon script for auto instlall
Anonymous
Unregistered


Get the Network Installation Wizard from: http://www.microsoft.com/office/ork/appa/appa.htm#ORKappaC1

Run and admin install of Office97 "setup /a", and store on your distribution server. Then run the NIW over it to create a custom STF/LST file. NIW will give you the switches to run in silent mode upon completion.

In your login script do something like:

If exist ("C:\program files\microsoft Office\Office\Excel.exe") = 0
; Install Office
Shell '%COMSPEC% /C Start /wait \\server\share\setup.exe /q1n /b2 /l:custom.lst' ; or something like that
Endif

[This message has been edited by ADargaville (edited 12 August 2000).]

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 836 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.076 seconds in which 0.044 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org