Microsoft KB Archive/831178

= &quot;You have not entered a valid Product Key&quot; error message when you use a custom MST file to install Office 2003 =

Article ID: 831178

Article Last Modified on 3/24/2006

-

APPLIES TO


 * Microsoft Office Professional Edition 2003
 * Microsoft Office Small Business Edition 2003
 * Microsoft Office Standard Edition 2003
 * Microsoft Office Outlook 2003

-



SYMPTOMS
When you use a custom transform file (MST) to run a silent setup for Microsoft Office 2003, the installation may not be completed successfully.

If you view the setup log file, you may find the following information:

MSI (s) (38:18): Transforming table CustomAction. You have not entered a valid Product Key. Please check the number located on the sticker on the back of the CD case or on your Certificate of Authenticity. MSI (s) (38:18): Product: Microsoft Office Professional Edition 2003 -- You have not entered a valid Product Key. Please check the number located on the sticker on the back of the CD case or on your Certificate of Authenticity. Action ended 12:06:35: SkuredPidkey. Return value 3.



CAUSE
This problem may occur if you use the Custom Installation Wizard (CIW) to edit and then save over an existing MST file. When you do this, the Product ID Key (PIDKEY) command variable may be lost.



WORKAROUND
To work around this problem, use one of the following methods.

Method 1: Configure Your MST to Locally Cache the Installation Source (Recommended)
To configure your transform (MST) file to locally cache the installation source on the computer of each user, follow these steps:
 * 1) Start the Custom Installation Wizard.

To do this, click Start, point to All Programs, point to Microsoft Office, point to Microsoft Office Tools, point to Microsoft Office 2003 Resource Kit, and then click Custom Installation Wizard.
 * 1) In the Custom Installation Wizard, click Next.
 * 2) In the Open MSI File pane (2 of ...), select the MSI file that you want to use, and then click Next.
 * 3) In the Open the MST File pane, click Open an existing MST file, select the MST file that you want to use, and then click Next.
 * 4) In the Select the MST File to Save pane, select the MST file that you want to save to, and then click Next.
 * 5) Click Yes to confirm that you want to overwrite your existing MST file.
 * 6) In the Specify Default Path and Organization pane, click the down-arrow on the 5 of 24 button, and then click 8 Configure Local Installation Source.
 * 7) In the Configure Local Installation Source pane, click Configure local installation source, type the product key in the Product Key box, click to select the I accept the terms in the License Agreement check box, and then click Finish.
 * 8) Click Exit to quit the Custom Installation Wizard.

Method 2: Add Your Product ID Key to Your Setup.ini File
To add your Product ID Key (PIDKEY) to your Setup.ini file, follow these steps:  Locate and then click to open your Setup.ini file in Notepad. Locate the [Product] section. Add the following to the [Product] section:

PIDKEY=&quot; &quot;

Note &quot; &quot; is your Product ID Key enclosed in quotation marks.

Method 3: Include Your Product ID Key on a Command Line
In your batch file or script that you use to install Office, specify a command line that is similar to the following to include your Product ID Key (PIDKEY):

Setup.exe TRANSFORMS=&quot; \ .mst&quot; PIDKEY= /qb-

Method 4: Add Your Product ID Key to Your MST File
To add your Product ID Key (PIDKEY) back to your transform (MST) file, follow these steps:  Start the Custom Installation Wizard.

To do this, click Start, point to All Programs, point to Microsoft Office, point to Microsoft Office Tools, point to Microsoft Office 2003 Resource Kit, and then click Custom Installation Wizard. In the Custom Installation Wizard, click Next. In the Open MSI File pane (2 of ...), select the MSI file that you want to use, and then click Next.</li> In the Open the MST File pane, click Open an existing MST file, select the MST file that you want to use, and then click Next.</li> In the Select the MST File to Save pane, select the MST file that you want to save to, and then click Next.</li> Click Yes to confirm that you want to overwrite your existing MST file.</li> In the Specify Default Path and Organization pane, click the down-arrow on the 5 of 24 button, and then click 23 Modify Setup Properties.</li> In the Modify Setup Properties pane, do one of the following: <ul> If your Product ID Key is listed in the Property name list, modify your PIDKEY. To do this, follow these steps:  In the Property name list, click PIDKEY.</li> Click Modify.</li> If your Product ID Key is correct, click OK to close the Add/Modify Property Value dialog box.</li></ol> </li> If your Product ID Key is not listed in the Property name list, add your PIDKEY. To do this, follow these steps:  Click Add.</li> In the Add/Modify Property Value dialog box, type PIDKEY in the Name box, type your Product ID Key (for example, ) in the Value box, and then click OK.</li></ol> </li></ul> </li> Click Next in the Modify Setup Properties pane.</li> <li>Click Finish in the Save Changes pane.</li> <li>Click Exit.</li></ol>

Method 5: Create an Administrative Installation Location
To create an administrative installation location, follow these steps: <ol> <li>Click Start, and then click Run.</li> <li>In the Open dialog box, click Browse.</li> <li>Locate and select the Setup.exe file on your Office 2003 CD-ROM disk, and then click Open.</li> <li>In the Run dialog box, the Open box should now have the full path of the Setup.exe file listed.

Click in the Open box and move the insertion point to the end of the path statement after the closing quotation mark. Type a space, and then type /a. The path in the Open box should now look similar to the following:

&quot; \Setup.exe&quot; /a

Note The /a should not be enclosed inside the quotation marks.</li> <li>Click OK to start your administrative installation of Office 2003.</li> <li>In the Administrative Installation pane of Office 2003 Setup, type your Organization, type (or locate) your installation location, type your Product Key, and then click Next.</li> <li>Click OK when your administrative installation of Office 2003 has completed successfully.</li></ol>

Keywords: kbwindowsinstaller kbsetup kberrmsg kbprb KB831178

-

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

© Microsoft Corporation. All rights reserved.