2017-06-29 31 views
3

Inno Setupのインストールページをカスタマイズするにはどうしたらいいですか?Inno Setup - インストールページのカスタマイズ

ここでは、変更が行われる予定です。

after

before

前に、ステータステキスト 'Collecticaをインストールするには、' 静的および動的ではないだろう。

また、進行状況バーに余分な時間を追加します。

私はあなたの答えをありがとう。おかげ

+0

* "余分な時間" *の部分は、より説明し、おそらく別の質問に値します。 –

答えて

4

あなたはWizardForm.InstallingPageをカスタマイズする必要があります。

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; 

  • は、カスタム
  • は、画像最初の二つの場合

を追加ラベル追加FilenameLabelStatusLabel

  • を隠します

    enter image description here

    画像については、以下を参照してください
    Inno Setup Placing image/control on custom page

  • +0

    Innoのアイデアを探してみました。 –