Page 1 of 1

Selective installation

Posted: Wed May 01, 2019 1:04 pm
by phprates
I would like to create a selective installation package. Where the user could select before if he is server or client. Being a server, I would install SQL Server, if it were client would install without SQL Server.

How do I do this in the Actual Installer?

Re: Selective installation

Posted: Sun May 05, 2019 4:40 am
by Leo
Currently this feature is not supported.
We'll try to add it soon.

Re: Selective installation

Posted: Mon Jul 15, 2019 4:26 am
by Leo
New version of Actual Installer has this option: Interface \ Custom \ Custom ComboBox

Example of use:
Select the option "Show Custom ComboBox"
In the Text field type e.g.: Select Your Configuration
In the Items list add:
  • Client
The Default index field you may leave empty, so user has to select the appropriate item before installation. Or set default item - to make the first item selected (Client), enter 0, 2nd item (Server) - 1.

The selected item is stored in the variable <ComboBoxIndex> - if the first item is selected, this variable contains 0, 2nd item - 1.

Now to check what item is selected we use Commands (page System \ Commands).
Add the following:

Code: Select all

File: 		<SystemDir>\cmd.exe
Parameters: 	/C IF /I <ComboBoxIndex>==1 "<InstallDir>\SQL-redist.exe"
Timing: 		After Installation
Wait: 		Yes
where SQL-redist.exe is a sql server redistributable packages which should be included in your project (at the Files and Folders page).

Re: Selective installation

Posted: Fri Feb 14, 2020 5:18 pm
by AndrevanHaren
Is it also possible to give the user the choice what to install?
I have a main program and a database file. For a new installation, the user has to install both files, but for updates, he should only install the main program and not the database files. Is this possible to create in the installer?

What about something like this with checkboxes?
Screenshot 2020-02-15 at 16.39.05.png
(25.26 KiB) Not downloaded yet

Re: Selective installation

Posted: Wed Apr 08, 2020 6:53 am
by Leo
We'll add this feature in version 8.0, which will be released this month.