| Reference information | |
|---|---|
| Objects on this page | none |
| Related topics | Working with project pages |
The Customer Registration page contains options that determine if and how Tarma Installer will support customer registration during installation.
The customer registration functionality uses three symbolic variables, UserField1, UserField2, and UserField3, to hold up to three pieces of registration information (typically the user's name, organization name, and registration code). The variables are linked to the predefined RegistrationDlg dialog box on the Installer Dialogs project page, and are also used by the LoadCustomerInfo and SaveCustomerInfo standard actions on the Action Sequences project page. Furthermore, they are also accessible from any extension DLL that you use in the installer on the Installer Options project page.
It is up to you to decide how your product uses this information; apart from some rudimentary data validation done by the RegistrationDlg dialog box, Tarma Installer does not check or modify the customer registration fields.
The following attributes and options are available on the Customer registration page.
| Attribute | Description |
|---|---|
| Include customer registration page | Check this box to enable the RegistrationDlg and related processing; clear it to skip registration-related processing. This option sets or clears the value of the UIRegistrationPage variable, which is used to control registration-related actions in the UIFirstInstall action sequence. |
| Load user fields from and store to registry |
Check this box to initialize the customer registration fields from information in the registry and store it back later; clear it for no initialization or storage. If you check this box, the LoadCustomerInfo and SaveCustomerInfo standard actions will perform the registry I/O, using the information from the following four attributes. |
| Registry key | Enter the path to the registry key that contains the customer registration information for your product. The actual information is stored as REG_SZ values under this key. |
| User field 1 |
Check this box and enter the name of the registry value that will be used for the UserField1 variable; clear it if no registry I/O must be performed for the variable. Note: The default value for the UserField1 variable is <RegOwner>, i.e., the name of the registered owner of the target system. The default value will be used if you don't check the User field 1 box, or if the corresponding registry value does not exist or is empty. |
| User field 2 |
Check this box and enter the name of the registry value that will be used for the UserField2 variable; clear it if no registry I/O must be performed for the variable. Note: The default value for the UserField2 variable is <RegOrganization>, i.e., the name of the registered organization of the target system. The default value will be used if you don't check the User field 2 box, or if the corresponding registry value does not exist or is empty. |
| User field 3 |
Check this box and enter the name of the registry value that will be used for the UserField3 variable; clear it if no registry I/O must be performed for the variable. |