How can I send a product's CD key during a Windows Installer installation?

John Savill

March 27, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. Usually, when you use Windows Installer to install a program, you must still enter the product ID; however, you can send this information with the MSIEXEC command:

msiexec /a [msi file] PIDKEY="[CD key]"

Optionally, you can supply USERNAME=[user name], COMPANYNAME=[company name], USERINITIALS=[user initials].

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like