Thank you for information. I can nowcosmin wrote:Hi,
Currently this dialog is available only when you use the Serial Number Validation feature. However, I have added this feature to our TODO list and it will be available in a future version of Advanced Installer.
Thank you for your suggestion.
Until then this can be done by creating a custom dialog or modifying an existing one in the "Dialogs" page. You simply add two Static Text controls ("User Name" and "Organization") and two Edit boxes.
We have a tutorial for creating a custom dialog, please take a look:
http://advancedinstaller.com/user-guide ... ditor.html
Note that you can create a custom dialog only in an Enterprise project.
Regards,
Cosmin
Here are the steps:However, I need to be able to store the values input by the users to the registry keys under "Current user/Local machine->Software->Manufacturer=>ProductName->Settings->UserName" and machine->Software->Manufacturer=>ProductName->Settings->Organization",
Code: Select all
Name: Username
Value: [USERNAME]Great reply. I think I managed to get that part done.cosmin wrote:Hi,
Here are the steps:However, I need to be able to store the values input by the users to the registry keys under "Current user/Local machine->Software->Manufacturer=>ProductName->Settings->UserName" and machine->Software->Manufacturer=>ProductName->Settings->Organization",
- you set the property of the user name edit box in the custom dialog to USERNAME (in the "Properties" section of the edit box in the "Property Name" field)
- in the "Registry" page you go to "Current user/Local machine->Software->Manufacturer->ProductName" and create the "Settings" registry key
- in the "Settings" key you create a new registry value like this:- you repeat these steps for the "Organization" registry valueCode: Select all
Name: Username Value: [USERNAME]
You can read more about the "Registry" page here:
http://www.advancedinstaller.com/user-g ... istry.html
Regards,
Cosmin
Code: Select all
USERNAME (for the user name)
COMPANYNAME (for organization)Thank you for your help.cosmin wrote:Hi,
In order to give the Edit box controls default values you can use these properties in the "Property Name" field:Note that these properties don't need to be initialized in the "Install Parameters" page.Code: Select all
USERNAME (for the user name) COMPANYNAME (for organization)
Regards,
Note that the properties USERNAME and COMPANYNAME are set by Windows Installer from the registry at runtime. Any change made to these properties during the installation process will not have any effect on the values stored in the registry.However, i afraid that if you use the "USERNAME" registry and modify it directly, will it have other consequences?
FOLLOW US
Get the latest news in Application Packaging