• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

LOGIN SCRIPT HELP PLEASE

FiLeZz

Diamond Member
I need to know the command to load a program at login( I have this part) and check to see if it is installed if its installed it will not install it agian..

LET Me know what you can thanks
 
well is 2000 advanved server for the most part all workstations comming into the domain..

The clients are 9x boxes and 2k pro

 
getting the small app to install was a breeze.. I need the install to continue till all clients have the install. But I want clients that have the install not to waste bandwidth on the lan/wan if its been installed.. I I need the install script to check
 
I would do it in Windows Scripting Host since its installed in Windows with IE and thats what I know.
Run the script at login using Windows 2000 policies if you can.

Check out some good sites for how to write them:

http://msdn.microsoft.com/scripting
http://cwahsington.netreach.net

Here is a hint for some Vbscript code:

Set fso =CreateObject("Scripting.FileSystemObject")
If Not fso.FileExists("C:\Program Files\InstalledSoftware.exe") Then 'if the app doesn't exist
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "\\server\apps\install.exe" 'run the installation
End If
 
Is there are reason why you're not using a software GPO to handle the Installed/NotInstalled issue?

It's a lot slicker than running a stub of code to see if the application exists. Besides, that way you don't even have to download the stub of code to see if you need to do the install. Pro: When you have to revise the software, you can use a GPO to make the update optional or mandatory, including removal of the existing version. Really neat-o.

The downside would be that you have to turn the installation files into an MSI.
Another downside --- the Win98 workstations would NOT get the software.

--Woodie

 
Back
Top