| Reference information | |
|---|---|
| Applies to | Windows Installer |
| Related topics | PIDTemplate, ProductID |
| External links | |
Public property that contains the part of the product identification key entered by the user. It is typically linked to a dialog box for user input. For example, the predefined FirstRun dialog box contains a MaskedEdit control CDKeyEdit that is linked to this variable.
| Usage | |
|---|---|
| How to set | You may set a default value for this variable, but it is typically linked to a MaskedEdit control (see above). Because this is a public property, you can also set it on the installer's command line. |
| How to use | Used internally by the Windows Installer action ValidateProductID. You can refer to it as <PIDKEY> (Tarma native syntax, preferred) or [PIDKEY] (Windows Installer syntax). |