LizaJet Installer
for Delphi Developers
  Search    
HomeProductsSupportDownloadBUY
Home
In short
Unique Advantages
Features
Design
Automatic upgrade
Release Management
Technology
Usability
FAQ
Delphi
Deployment
Design
Script Engine
General
Technical FAQ
General
Database
Applications
How to check
How to Install
10 reasons to buy
Privacy Statement
About
Awards and Links
Applications FAQ

Q: How do I run Windows Installer?
A: Use the ShellExec function to start installation of the specified MSI file. The installer will start automatically:

ShellExec(‘’, ‘MyFile.msi’, ‘’, ‘’, 0);

Before starting it you can check if the Windows Installer is installed at the computer of the end user. If it is not installed, you can use the technique described in the .NET Framework installation question.


Q: How can I let the user open a Web page during the installation?
A: Use ShellExec function and pass the URL to it:

ShellExec(‘’, ‘http://www.mycompany.com’, ‘’, ‘’, 0);

Q: How do I stop a service before a file is copied?
A: Call the SvcStop function before the call to the DeployFiles function:

procedure TMyPackage.ExecSetupAction(Sender: TObject);
begin
  SvcStop(‘MyService’, 60000);
  DeployFiles;
end;

Or do it in a separate installation Action which executes before the Action which copies the files.