- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Change Window Title on Wizard Initialisation
- 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
Hello,
I have an InstallScript project and I would like to change the default window title from "[ProductName] - InstallShield Wizard" to something else. I know I can use the IFX_SETUP_TITLE variable, but I don't know where to set it. I tried to set it in the OnBegin event handler, and the first initialisation step still has the default title (see image below). The title only changes after the initialisation step is completed. If OnBegin is supposed to be "the first redefinable event in a setup" I'm not sure what I'm trying to do is even possible by scripting.
Anyone can help me?
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Siga2000 ,
Thanks for clarifying about Dialog window that is of Preparing setup,my assumption and from the snapshot i got that as Normal window.As well Installscript dialog table will have entries of dialogs those are added to the setup.In your case that won't help.
Since Preparing setup window comes from launcher itself that is of Installshield, it wouldn't be customizable. But you have an alternative for:
- Navigate to Releases->Release->Setup.exe tab->Set Small Initialization Dialog->Yes
- You can customize strings and other messages on this dialog by modifying 0x0409.ini which you will be able to see in your Release Folder(On uncompressed version of Setup)
Hope it helps,
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Siga2000 ,
- Can you try editing dialog code that you want to change window text like this?
case DLG_INIT:
hwndDlg = CmdGetHwndDlg("<szDlg-Dialog name">);
SetWindowText(hwndDlg, "Title you want to give");
- It can be edited via dialog table's title entry as well(Not a suggestible way though)
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Jenifer ,
I don't know where to put the code you are suggesting, because I can't seem to execute anything before the initial preparation dialog is done. I also don't know what this dialog's name is. (I'm only using default dialogs.)
I found the following : "[IFX_SETUP_TITLE] is automatically initialized to the value of the string entry TITLE_CAPTIONBAR, if that entry exists" (source). So I added a string entry for TITLE_CAPTIONBAR. Same result though; the title is only updated after the initial "preparation" step.
edit: I also found I can edit the window title in the resource files 0x0409.ini(EN) and 0x0c0c.ini(FR). This does change the window title for the preparation dialog, but I'm guessing it's not recommended and it also does not completely work. If whatever I write in the resource file doesn't contain the string "InstallShield", the words "InstallShield Wizard" are concatenated to my title...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
- Easy way for you would be GoTo Direct Editor view which you would be able to see under ADDITIONAL TOOLS group
- Search for Dialog table
- You will be able to see Title Column there.
- Try changing the value based on your requirement.It will work
Hope it helps,
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
My Dialog table is empty...
From what I understand, only custom/edited dialogs create an entry in the table.
I would try to edit the problematic dialog, but it seems to be a special case; I can't find it in USER INTERFACE > Dialogs.
To be clear, I'm talking about the very first dialog screen, where it says something like "preparing setup" and there's a progress bar.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @Siga2000 ,
Thanks for clarifying about Dialog window that is of Preparing setup,my assumption and from the snapshot i got that as Normal window.As well Installscript dialog table will have entries of dialogs those are added to the setup.In your case that won't help.
Since Preparing setup window comes from launcher itself that is of Installshield, it wouldn't be customizable. But you have an alternative for:
- Navigate to Releases->Release->Setup.exe tab->Set Small Initialization Dialog->Yes
- You can customize strings and other messages on this dialog by modifying 0x0409.ini which you will be able to see in your Release Folder(On uncompressed version of Setup)
Hope it helps,
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
You can alternatively do this : Set a Custom Property and assign the value to this property you want and set the [Custom Property] in the dialog title.
Hope this helps
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content