2017-06-29 3 views
3

Wie kann ich die Installationsseite von Inno Setup anpassen?Inno Setup - Anpassen der Installationsseite

Hier zeigt genau die Änderungen, die vorgenommen werden.

Vor

before

Nach

after

Nun Statustext 'Installation Collectica' wird statisch und nicht dynamisch sein.

Außerdem, Hinzufügen von zusätzlicher Zeit zum Fortschrittsbalken.

Ich werde Ihre Antworten zu schätzen wissen. Dank

+0

Die * "Verlängerung" * Teil mehr Erklärung verdient, und wahrscheinlich eine andere Frage. –

Antwort

4

Sie haben WizardForm.InstallingPage anpassen:

  • ausblenden FilenameLabel und StatusLabel
  • hinzufügen Sie benutzerdefinierte Label
  • Fügen Sie das Bild

Für die ersten beiden:

procedure InitializeWizard(); 
var 
    CustomStatusLabel: TNewStaticText; 
begin 
    WizardForm.FilenameLabel.Visible := False; 
    WizardForm.StatusLabel.Visible := False; 

    WizardForm.ProgressGauge.Top := WizardForm.InstallingPage.Height - ScaleY(60); 

    CustomStatusLabel := TNewStaticText.Create(WizardForm); 
    CustomStatusLabel.Parent := WizardForm.InstallingPage; 
    CustomStatusLabel.Caption := 'Installing Colectica'; 
    CustomStatusLabel.Font.Size := CustomStatusLabel.Font.Size + 4; 
    CustomStatusLabel.Font.Style := [fsBold]; 
    CustomStatusLabel.AutoSize := True; 
    CustomStatusLabel.Top := 
    WizardForm.ProgressGauge.Top - CustomStatusLabel.Height - ScaleY(8); 
    CustomStatusLabel.Left := 
    WizardForm.ProgressGauge.Left + 
    ((WizardForm.ProgressGauge.Width - CustomStatusLabel.Width) div 2); 
end; 

enter image description here

Für das Bild finden Sie unter:
Inno Setup Placing image/control on custom page

+0

Nach Ideen für Inno suchen Ich fand das, danke. –