Dynamic InPut of Product Name - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

varungoel
Posts: 3
Joined: Mon Mar 23, 2009 3:47 pm

Dynamic InPut of Product Name

Hi,

I am making an installer with AI where the customer wants that the Product Name and Installer Tittle should come dynamically or externally from a specific file where he/She can edit it.

Please suggest me someway if it can be possible to do such things.


Thanks and Regards
varun
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Dynamic InPut of Product Name

Hi Varun,

Here is what you can try:
-- you can go to Dialogs page
-- here you can select each dialog at a time
-- when selecting the dialog you will see in the right side a table called "Properties"
-- in the "Display" column you will see this : [ProductName][Setup]
-- you can delete these two values and put a public property defined by you, for example : [CUSTOM_NAME]
-- this operations should be repeated for all the dialogs from the page.
-- please note that the Dialog Editor is available only in an Enterprise project

-- now you can create a custom action in the Custom Actions page which will dynamically set your properties, i.e. "ProductName" and "CUSTOM_NAME", with the values read from the file
-- please note that the custom action should be scheduled under the Begin standard action in the InstallUISequence
-- here is an VBScript example of how you can set the value of a property:

Code: Select all

 Session.Property("CUSTOM_NAME") = "My_Custom_Name" 
Please let me know if you have any questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”