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?
Selective installation
Re: Selective installation
Currently this feature is not supported.
We'll try to add it soon.
We'll try to add it soon.
Re: Selective installation
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:
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:
where SQL-redist.exe is a sql server redistributable packages which should be included in your project (at the Files and Folders page).
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
Server
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
-
- Posts: 14
- Joined: Mon Jul 15, 2019 6:01 am
Re: Selective installation
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?
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?
Re: Selective installation
We'll add this feature in version 8.0, which will be released this month.