Discussion Locked

Automate Office2K installations?

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

What file do I edit, and specifically what is the syntax, to automatically fill in the product key number during setup? My version of Office2k from my MSDN CD does this. How do I make this happen for my retail version?

For example, with Win98, I can edit the file MSBATCH.INF, create a section called [SETUP] with a line under it reading ProductKey="11111-11111-11111-11111-11111" or whatever my CD-key is for Win98 install. Then the number is auto-filled in during install. How do I do this withOffice2k?

6 replies

by mr. origami

Do you recall which MSI file you pointed to? I have tried Data1.msi, Msowc.msi, and Owc.msi. All had the same result - an error saying the installer package could not be opened and the verify it is a valid installation package.

by beermonster

The file is data1.msi - i checked this on my system again this morning to confirm i was remembering correctly. I have the files locally on my machine, and run -
msiexec /a c:\msoff2k\data1.msi PIDKEY="1111-1111-1111-1111"

This opens a config gui that allows me to set the property for all future installs that use that file. If you have problems, and would rather specify the key on a per install basis, then use -
c:\msoff2k\setup.exe PIDKEY="1111-1111-1111-1111"

setup will call the requsite MSI files, and pass them any parameters you have specified. Note that the cd key is one of many configurable parameters that can be given to an msi package. check out technet article Q230781 for a list of them.

This discussion is closed to new replies.