cancel
Showing results for 
Search instead for 
Did you mean: 
ralphster
Active participant

how to change dialog box title for sdWelcom dialog box

If I call one of the dialog boxes provided by InstallShield, how can I change the title at the very top of the dialog box?

 

For example if I call the below dialog box

 

nresult =sdAskDestPath(szTitle,szMsg,szDir,0)

None of the input parameters to sdAskDestPath will change to title of the dialog box. So how do I do that?

Labels (1)
0 Kudos
3 Replies
Flexera Varaprasad
Flexera

Re: how to change dialog box title for sdWelcom dialog box

For any particular dialog:

hwndDlg = CmdGetHwndDlg("<DialogName>");
SetWindowText(hwndDlg, "Custom Title");

OR

For all dialogs:

try setting IFX_SETUP_TITLE in your script as mentioned  in the below article

https://community.flexera.com/t5/InstallShield-Knowledge-Base/How-To-Set-Product-Name-During-Runtime...

0 Kudos
ralphster
Active participant

Re: how to change dialog box title for sdWelcom dialog box

Thanks for the help. I can change change part of the header title, but right after it is displayed the words :

"Install Shield Wizard". How do I get rid of "InstallShield Wizard"?

 

IFX_PRODUCT_DISPLAY_NAME = "Crostini Plus";

Sprint(DFX_SETUP_TITLE,SdLoadString(IDS_DFX_FORMAT_SETUP_TITLE),IFX_PRODUCT_DISPLAY_NAME )

0 Kudos
Flexera Varaprasad
Flexera

Re: how to change dialog box title for sdWelcom dialog box

 

Directly set IFX_SETUP_TITLE to desired value as below. 

IFX_SETUP_TITLE = "Crostini Plus";

Do not use Sprintf statement as it appends "InstallWizard" string.

0 Kudos