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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Installing with Batch File

Reply to Message Icon

Name: ocm
Date: August 19, 2007 at 22:10:29 Pacific
OS: Windows XP Pro
CPU/Ram: AMD 6000 4GB Ram
Product: 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




Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: August 20, 2007 at 01:44:04 Pacific
Reply:

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



0

Response Number 2
Name: bmustillrose
Date: August 20, 2007 at 13:45:08 Pacific
Reply:

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?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Batch File to find direct... how to access device mana...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Installing with Batch File

Get last line with batch file www.computing.net/answers/programming/get-last-line-with-batch-file/17019.html

Deleting lines with batch files www.computing.net/answers/programming/deleting-lines-with-batch-files/13330.html

editing text file with batch file www.computing.net/answers/programming/editing-text-file-with-batch-file/15231.html