• Loading...
Sign in to follow this  
Karb10

Inno setup - Silent Install [izah]

Recommended Posts

Inno Setupda heç bir pəncərə görünmədən (silent) yükləmə etmək üçün aşağıdakı kodları proyektə daxil edirik:

[Setup]
AppName=My Application
AppVersion=1.5
DefaultDirName={pf}\My Application

[code]
function ShouldSkipPage(PageID: Integer): Boolean;
begin
  Result:=true;//  
end;

procedure WizardFormShow(Sender: TObject);
begin
  WizardForm.NextButton.OnClick(nil); // Avtomatik növbəti düyməsini basır
end;

procedure InitializeWizard();
begin
  with WizardForm do
  begin
    Left:=-10000; //  
    Show; //  
    OnShow := @WizardFormShow;
  end;
end;

2 ci üsul : Silent key finder proqramı ilə setupu açırsız.Göstərilən kodu bat faylda setupun adı ilə birlikdə bu formada yazırsız və yadda saxlayırsız

CCleaner.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • loading...