How to Push the CD Key with a Windows Installer Installation (223393)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • 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 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 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.

Modification Type:MajorLast Reviewed:1/15/2004
Keywords:kbinfo kbsetup KB223393