Wednesday, February 6, 2008

storing Office CD key in setup.ini file

Doing Office installs became so much easier when I found that I could store the CD key in a way so that it would populate during the install so that I didn't have to type it in manually.

In x:\files\setup\setup.ini - find the [options] section and add in values as appropriate (you can also add company name, which is nice):

[Options]
; The option section is used for specifying individual Installer Properties.
USERNAME=User name
COMPANYNAME=Company name
PIDKEY=ABCDEFGHIJKLMNOPQRSTUVWXY


Please note the PIDKEY - which is the CD key is added with no dashes

No comments: