This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Getting the Product Name
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2009
12:14 AM
Getting the Product Name
Hi All,
I need to display the product name on Custome Dialog. I have tried using
IFX_SETUP_TITLE = IFX_PRODUCT_DISPLAY_NAME. But the product name does not get displayed using this command on only Custome Dialog and all other dialog are reflected with the prodyct name.
Is any way we could pass this variable instead of manually editing under Direct Editor\Dialog\ProductName.
Thanks in Advance
Thanks & Regards
Girish Katti
I need to display the product name on Custome Dialog. I have tried using
IFX_SETUP_TITLE = IFX_PRODUCT_DISPLAY_NAME. But the product name does not get displayed using this command on only Custome Dialog and all other dialog are reflected with the prodyct name.
Is any way we could pass this variable instead of manually editing under Direct Editor\Dialog\ProductName.
Thanks in Advance
Thanks & Regards
Girish Katti
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2009
04:47 AM
In my project the product name changes frequently. I cannot hardcode the name. I want to use it as a variable i.e. IFX_PRODUCT_DISPLAY_NAME
Using this the product name does appear on Custome Dialog and mentioned earlier.
I hope to get some answer from InstallShield people
Thanks & Regards
Girish Katti
Using this the product name does appear on Custome Dialog and mentioned earlier.
I hope to get some answer from InstallShield people
Thanks & Regards
Girish Katti
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2009
11:58 AM
Changing IFX_SETUP_TITLE should change the dialog titles of all InstallScript dialogs displayed after the change is made.
What project type are you working with?
What project type are you working with?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2009
11:16 PM
Copy the following code in your OnBegin function of the script. It will display the product name in all dialogs which is defined here,
IFX_PRODUCT_DISPLAY_NAME = "";
Sprintf( IFX_SETUP_TITLE, SdLoadString( IDS_IFX_FORMAT_SETUP_TITLE ), IFX_PRODUCT_DISPLAY_NAME );
IFX_PRODUCT_DISPLAY_NAME = "
Sprintf( IFX_SETUP_TITLE, SdLoadString( IDS_IFX_FORMAT_SETUP_TITLE ), IFX_PRODUCT_DISPLAY_NAME );
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2009
01:46 AM
I am using InstallScript MSI project type.
I added this code in OnBegin Event.Still the product name does not appear on the Title bar.
IFX_PRODUCT_DISPLAY_NAME = "Name";
Sprintf( IFX_SETUP_TITLE, SdLoadString( IDS_IFX_FORMAT_SETUP_TITLE ), IFX_PRODUCT_DISPLAY_NAME );
I still cant understanf what might be the problem. The title appears for Non Custom Dialog, but for Custom Dialog it just does not appear.
Why this different behavior between Normal Dialog and Custom Dialog?
I added this code in OnBegin Event.Still the product name does not appear on the Title bar.
IFX_PRODUCT_DISPLAY_NAME = "Name";
Sprintf( IFX_SETUP_TITLE, SdLoadString( IDS_IFX_FORMAT_SETUP_TITLE ), IFX_PRODUCT_DISPLAY_NAME );
I still cant understanf what might be the problem. The title appears for Non Custom Dialog, but for Custom Dialog it just does not appear.
Why this different behavior between Normal Dialog and Custom Dialog?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2009
02:23 AM
What are the parameters you are passing with EzDefineDialog function.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2009
04:11 AM
I am using this parameter for all the custome Dialog
EzDefineDialog (szDialogName, ISUSER, szDialogName,0);
EzDefineDialog (szDialogName, ISUSER, szDialogName,0);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2009
04:43 AM
The above works for me. How ever you can search the IS help topic with the following keyword for more help.
IFX_SETUP_TITLE
This will definitely help you.
IFX_SETUP_TITLE
This will definitely help you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2009
04:58 AM
But I my case it's not working.
Have you done any thing different from your end.
Have you done any thing different from your end.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2009
06:07 PM
Do these custom dialogs contain a control with control ID 50 (this control is present on any standard dialog and on any custom dialog created with the "NewScriptBasedDialog" template in the Dialog Wizard)? If not, the script engine will not set the dialog's title. This control contains the text typically passed in the szTitle parameter to standard dialogs.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2009
08:26 AM
Hi ,
Thanks for the information. It working now.
In some of my custom dialog ControlID_50 was not present. I changed some test to ControlID_50 and so see the ProductName on the Titel Bar.
I really appreciate your efforts in resolving my problem.
Thanks again.
Thanks & Regards
Girish Katti
Thanks for the information. It working now.
In some of my custom dialog ControlID_50 was not present. I changed some test to ControlID_50 and so see the ProductName on the Titel Bar.
I really appreciate your efforts in resolving my problem.
Thanks again.
Thanks & Regards
Girish Katti