Hi,
In order to avoid using a template for your serial number you can follow the steps below:
- go in the "Dialogs" page and select the "UserRegistragionDlg" dialog
- remove the "Masked Edit" box that is under the "Serial Number" text
- add an "Edit Box" control instead of it and set its property name to the "PIDKEY" property
- while the "Edit Box" is selected go to the "Control Conditions" tab and add the condition below:
- Condition: SERIAL_VALIDATION = "TRUE"
Action: Disable
- select the "Next" button of that dialog, go to the "Published Events" tab and select the "Show all events" option
- double-click on the "Validate ProductID property" event and set a false condition for it (e.g. 1=2)
- double-click on the "Execute custom action" event and set its condition to "1"
- in the "Table Editor" page select the "InstallExecuteSequence" table and set a false condition for the "ValidateProductID" row (e.g. 1=2)
- build and test your project
If you encounter other problems, just let me know.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging