Computing.Net > Forums > Programming > Installing with Batch File

Installing with Batch File

Reply to Message Icon

Original Message
Name: ocm
Date: August 19, 2007 at 22:10:29 Pacific
Subject: Installing with Batch File
OS: Windows XP Pro
CPU/Ram: AMD 6000 4GB Ram
Model/Manufacturer: AMD
Comment:

Hi,

Is there a way to use a batch file to install a program with the serial entered as it installs. Eg. Office 2003 installation without me typing in the serial or install another program that requires the username, organisation and serial.

I have 20 machine to install 3 different program and i want it to run automatically with out me being around.

I have tried using the start command but i dont know how to have the serial entered.

Thanks



Report Offensive Message For Removal

Response Number 1
Name: Mechanix2Go
Date: August 20, 2007 at 01:44:04 Pacific
Subject: Installing with Batch File
Reply: (edit)

Depens on the program. I use a 'msbatch.inf' file to install win98 which has lines like these:

===========================
BackupDir="c:\win_bak"
InstallType=3
ProductKey="P6K6V-TQD7P-WH9XD-G2R87-
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
============================

Other progs may use similar scripts.



=====================================
If at first you don't succeed, you're about average.

M2



Report Offensive Follow Up For Removal

Response Number 2
Name: bmustillrose
Date: August 20, 2007 at 13:45:08 Pacific
Subject: Installing with Batch File
Reply: (edit)

For office 2007 (will probably work with 3) you can type setup.exe /admin to create an answer fiole.
For a great list of commandline switches that automate software installs for different programs have a look at http://www.uawiki.org - click on ap swithces db.
If you want this to look nice (aka invisable) then google for cmdow or if your av says its a virus download cmdhide from siginetsoftware.com.
Also consider packaging it in something like a winzip self extractor?


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Installing with Batch File

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software