Microsoft KB Archive/223393

= How to Push the CD Key with a Windows Installer Installation =

Article ID: 223393

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q223393



SUMMARY
When you publish and assign programs by using Microsoft Windows Installer (MSI), by default users have to provide the program's CD Key number if one is required. Microsoft Office 2000 is an example of this. It is possible to create an administrative install so the CD Key number is automatically pushed down with the Installer package. This prevents users from being prompted for the CD Key number.



MORE INFORMATION
To create an administrative install so the CD Key number is automatically pushed down with the Installer package, type the following command at a command prompt, and then press ENTER:

msiexec /a  PIDKEY="[CD-Key]"

You can add the following additional parameters to the Msiexec command-line switch:

USERNAME=[ ] COMPANYNAME=[ ] USERINITIALS=[ ]

For more information about how to manipulate the contents of MSI packages and using command-line switches, please see the Microsoft Windows 2000 Software Development Kit (SDK) and the Microsoft Office 2000 SDK.

Additional query words: Darwin

Keywords: kbinfo kbsetup KB223393

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.