How to Push the CD Key with a Windows Installer Installation

ID: Q223393


The information in this article applies to:
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server


SUMMARY

When you publish and assign programs using 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:

misexec /a path to .msi file PIDKEY="[CD-Key]"
You can add the following additional parameters to the Msiexec command-line switch:
USERNAME=[user name], COMPANYNAME=[company name], USERINITIALS=[user initials]

For more information about manipulating 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 : kbsetup kbtool
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.