Install applicatoins on Windows 2000

I want to install several applications on almost 100 Windows 2000 PCs. How can I make all these applications to start their installation process automatically, rather I need to trigger the installations manually one by one?

Thanks in advance for help
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It can be very easy if you have an active directory domain and server. Some of the tools that you'll want to use include group policy software installation and logon scripts.

Both of these can be setup from the same place in 'active directory users and computers' from the server or PC with the administration tools installed.

you can still do logon scripts and group policy on individual machines, not on the domain. but it requires touching each one, either physically or though the network and shared drives. Let me know you scenario and I will expound on either.

Paul Hieb
Network Engineer
M Technology Services
kuanfaiAuthor Commented:
The PCs are in one workgroup, but there is no server to control them. Since my application utilized several other applications or tools, I want to install them on these PCs with one command or script something like the shell script on Linux. I know that there is a tool called ON Command CCM 4.5 that can do this. However it out of my budget to buy this tool. I believe there should be a way to do this in Window 2000 with some command, isn't it?
If these applications require lots of feedback to install you might be best off programming a VB script using Windows scripting host. you can also use windiff.exe to 'build' packages. of these I know, but have never implemented. food for thought though.

However, you can write simple batch files to map drives, begin installation of programs, even if they require input, and to copy shortcuts, other files or import registry files. then it's as simple as dropping the bat file in the startup folder or imoporting a regfile that adds a 'run' or 'runonce' reference to the batch file. pretty much any command you can use in command line mode you can batch. And there are some other cool tricks to automate batch jobs. I have some samples and step by steps if you like.
kuanfaiAuthor Commented:
Thanks for the comments. I would very appreciate if you can email me the samples on how to achieve this. my email address is:
Here's some of the scripts we're using....

printers.bat.... automatically sets up network printers.

@Echo off
if exist %temp%\Sales5.txt goto SkipPrinter1
if errorlevel 1 goto SkipPrinter1
 echo Installing Sales5.  Press Yes to any questions....
 start \\mtserv\LJ5Sales
 echo Installed > %temp%\Sales5.txt
if exist %temp%\MTS4.txt goto SkipPrinter2
if errorlevel 1 goto SkipPrinter2
 echo Installing MTS4.  Press Yes to any questions....
 start \\mtserv\mtslj4
 echo Installed > %temp%\MTS4.txt
if exist %temp%\tektronix.txt goto SkipPrinter3
if errorlevel 1 goto SkipPrinter3
 echo Installing Tektronix.  Press Yes to any questions....
 start \\mtserv\tektronix
 echo Installed > %temp%\tektronix.txt

Here's one to run a backup job from the comand line.
this only works if you use the RSM utility to discover the GUID of you tape drive. -- Only for backup, but it shows some methods of if-then logic, variables, and using the output of other commands down the line.

for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do  set dt=%%i-%%j-%%k-%%l
for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
set tm=%tm::=-%
set dtt=%dt%%tm%
rsm.exe refresh /pg85C01307D4C24BDFB7AA3AA3BDD3E509
ping -n 30>nul
for /f %%a in ('rsm.exe view /cg85C01307D4C24BDFB7AA3AA3BDD3E509 /TPhysical_media /guiddisplay /b') DO set media=%%a
set partition=%media%
rsm.exe erase /pg%partition%
ping -n 30>nul
rsm.exe refresh /pg85C01307D4C24BDFB7AA3AA3BDD3E509
rsm.exe freemedia /pg%partition%
rsm.exe refresh /pg85C01307D4C24BDFB7AA3AA3BDD3E509
ping -n 30>nul
ntbackup.exe backup @D:\Full.bks /n "%dtt%" /d "%dtt%" /n "%dtt%" /v:yes /r:yes /rs:no /hc:on /m normal /j "%dtt%" /l:f /p "4mm DDS"
rsm.exe eject /LG85C01307D4C24BDFB7AA3AA3BDD3E509 /astart

The following text in a .reg file can be directly imported into the local registry or scripted by appending the file name and path of the file as an argument to the 'regedit' executable. the following, if imported enables remote desktop sonnections to XP Pro Machines.

example: 'regedit -s myregfile.reg' (the -s to suppress confirmation dialogs)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]

Or open up your windows 2000 TCP stack a little (good for LAN communication)

Windows Registry Editor Version 5.00


Now you see how easy it would be to install as many apps as you wanted if you had every file and registry entry stored from an app and just put the copy and import commands into a batch file. Let me know how it goes. if you run into anything, I'd be glad to help on it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.