Can I change the title bar of your installer window using Inno Setup?

Can I change the title bar of your installer using Inno Setup?

Default:

AppName=My Program 

and when you start the setup, the following message appears in the title bar:

Settings - My program

Can the word "Setup" be hidden?

+5
source share
6 answers

There is a default.isl file in the InnoSetup installation folder, open this file in a text editor, find the entry SetupWindowTitle and change the right side of Setup - %1 only to %1 . Also repeat the process for additional languages ​​that you use in the settings, you will find the corresponding .isl files in the "Languages" folder.

+2
source

Add the following lines to the InnoSetup script file:

 [Messages] // define wizard title and tray status msg // both are normally defined in innosetup default.isl (install folder) SetupAppTitle = Setup YourApplicationShortName SetupWindowTitle = Setup - YourApplicationName YourApplicationVersion 

This will change the “title” and “application title” in the tray.

I would suggest not changing the default configuration in /innosetup/default.isl , as Sertak Akuz noted. Think of this file as a backup configuration. If you do not define a setting, the parameter value is taken from default.isl . Just change your file; not the default settings!

+12
source

If you want to change the title of the main form, try the following:

 [code] procedure CurPageChanged(CurPageID: Integer); begin if CurPageID = wpWelcome then WizardForm.Caption := 'Welcome to My Program'; end; 

This, unfortunately, will not change the "Settings" heading in the taskbar. Since this is a delphi application, you will need access to the global variable Application to change this effortlessly, but this object is not exposed to a pascal script, and I don’t know how to do it directly. I think you can follow @satuon's advice to change it using windows posts.

+3
source

The best solution (also if you want your iss settings file to be correctly compiled on any computer) is to override a specific line of the language in the Messages section after defining the language file.

For instance:

 [Languages] Name: de; MessagesFile: compiler:Languages\German.isl ;Name: en; MessagesFile: compiler:Default.isl [Messages] WizardReady=I am ready. 
+1
source

You must do this using Pascal scripts. Inno Setup allows you to call SendMessage and PostMessage from the Pascal section. Try using this to send a WM_SETTEXT message to your window.

0
source

Just no codes

 [Messages] SetupWindowTitle=Your Programme Name 
0
source

Source: https://habr.com/ru/post/1340769/


All Articles