Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Remove grey inactive line in 6.11 Dialogs?


2 replies to this topic

Merle

Merle
  • Members
  • 5 posts

Posted 08 April 2003 - 22:37

Is it possible (or easy) to remove the grey inactive line with the word "Installshield" embedded in it from the dialog boxes?  
I'm using IS 6.11.  I assume one would have to customize the forms somehow and that it is beyond the scope of simple IDE manipulation or preference settings.  Could some explain what would be involved to accomplish this.  Thanks in advance.

Merle

vuttex

vuttex
  • Full Members
  • 35 posts

Posted 11 April 2003 - 10:45

The way I do this is to edit the _isres.dll.

You will have to use Visual Studio or some other dev tool. Open the _isres.dll as a resource. Edit all the dialogs, remove or edit the greyed installshield "Static text". Save the _isres.dll and replace all _isres.dll files in your installshield install folder.

Not all that easy.

Xitch13

Xitch13
  • Members
  • 134 posts

Posted 11 April 2003 - 17:22

Would SetDialogTitle() work for you. I personally haven't used this functiom but it may fit your needs. Below is the text from the Help file for IS 6.31

QUOTE
SetDialogTitle (nDialogId, szTitle);

Description

The SetDialogTitle function changes the titles that appear in the title bars of some common built-in dialog boxes. Specify the dialog box using the parameter nDialogId. If you do not use SetDialogTitle, InstallShield displays the default title. Once you set the title for a particular dialog box, InstallShield uses that title for every instance of that type of dialog until you use SetDialogTitle to change the title again.

Parameters

nDialogId
Identifies the built-in dialog box whose title is to be changed change. Pass one of the following predefined constants in this parameter:
DLG_ASK_OPTIONS
Changes the title of the AskOptions dialog box.
DLG_ASK_PATH
Changes the title of the AskPath dialog box.
DLG_ASK_TEXT
Changes the title of the AskText dialog box.
DLG_ASK_YESNO
Changes the title of the AskYesNo dialog box.
DLG_ENTER_DISK
Changes the title of the EnterDisk dialog box.
DLG_MSG_INFORMATION
Changes the title of the Information-style MessageBox.
DLG_MSG_SEVERE
Changes the title of the Severe-style MessageBox.
DLG_STATUS
Changes the title of the dialog-style progress indicator. You must re-enable the dialog-style progress indicator by calling Enable(STATUSDLG) after calling SetDialogTitle with the DLG_STATUS option in order for the title change to take effect.
DLG_MSG_WARNING
Changes the title of the Warning-style MessageBox.
DLG_USER_CAPTION
Changes the MessageBox caption when you use the user-defined message box styles.
szTitle
Specifies the new title.
Return values

0
Indicates that the function successfully changed the title of the dialog box.
< 0
Indicates that the function was unable to change the title of the dialog box.
Comments

You must call SetDialogTitle separately for each type of dialog box whose title you wish to change.


InstallShield creates message boxes using standard Windows message box functions. Windows determines the OK and Cancel button text for these message boxes. InstallShield has no control over the text used in the buttons inside Windows message boxes.

There is great chaos under heaven, and the situation is excellent. (Mao Tse Tung)