Discussion Locked

Scripting Windows 2000

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Installing the business application we use in my place of work is like trying to be like bill gates: the steps are many anc confusing.

Basically the steps are like these:
1. Map network drive Q & U to some file servers
2. Add & configure some shortcuts
3. Runs some bat files from the share
4. Copy some ini files from the shares to WINNT folder
5. Run some reg files
6. Edit the enviromental variable (PATH) with extra swtiches

How can I write a windows script or an installer that can automate all these steps without user intervention as if a step is missed, the whole installation goes awry.

And mind you, i don't know anything about programming and scripting Windows 2000.

6 replies

by jackofalltech

1. Go thru the process once writing down EVERY command you type in.
2. Using your favroite text editor (probably notepad), type in each of those commands you wrote down and save the file as {whatever}.BAT
3. Go to another PC and test it.

Ralph

by ctmoore1998

I'm not sure if KIXSTART is included on the 2000 server CD, look under administrative tools for this utility, it is also avail on the internet for download. Read the manual for KIX it will help you achieve all your goals.

by beermonster

Hi,
The problem here is not the installation steps - which are pretty basic for a script, but your lack of scripting experience. I'd recommend a book by Tim Hill - windows NT shell scripting. Get hold of it and then write the script yourself as a learning experience. Scripting will make your life sooooooo much easier - you'll wonder how you ever managed without it.

by tictag

And then when you have your script you can use a ZAP file and distribute you applications using group policy!

Read up on ZAP files and Group Policy software distribution - probably easier than deploying manually!

Regards,
Tictag.

by joseph moore

This is gonna sound similar to "Name That Tune" but I can do 5 of those steps in a BAT file. The Shortcuts would be harder.

I can send you a sample BAT file if you wish. Let me know.

This discussion is closed to new replies.