Skip to main content
Kofax

MarkView All Components - Installers : Is there a way to record all of the input by the user when running the installer? Is there a way to automate the installer; so I do not have to type any input into the installer?

Summary 

3874

Is there a way to record all of the input by the user when running the installer?

Is there a way to automate the installer, so I do not have to type any input into the installer?

Yes. There are additional command line prompts you can use to execute the installer to keep all of the input that the user has selected, as well as reuse the input from a previously saved session.

To record the input by a user, change your working directory to the installer location and use the command:

setup.exe -options-record session.txt

or (for Unix)

./setup.sh -options-record session.txt

This command will create a text file names session.txt. The file will contain a listing of all of the responses by the user.

Creating this file can be extremely helpful in multiple ways. First, it creates a log of the responses by the user. For auditing, it will allow a user to go back and look at the information stored in this file. Second, if the installer errors, Kofax Support will be able to reproduce the exact install parameters that the customer is using. Third, it is a valid migration script. If a user wishes to mimic the exact setup from one environment to another, they can use the script generated from one environment, modify it, and use it to install into another environment.

To reuse a script in a second environment, use the "-options" command line switch. For example, to reuse the script from the previous example, run:

setup.exe -options session.txt

or (for Unix)

./setup.sh -options session.txt

When re-executing the installer, all of the prompts will be defaulted to the values stored in the session.txt file.
If you wish to skip the user interaction, and go straight to installation, you may use the following command lines:

setup.exe -silent -options session.txt

or (for Unix)

./setup.sh -silent -options session.txt

Please note that this command spawns a new process and will run in the background. There will be no visual indication that the process has
successfully begin execution. The command prompt will return immediately, as if nothing has happened, but a background process with be kicked off.

Keywords: silent, installer, options, background, record, session, setup, input, command, switch, line, quiet, migration, automate, audit, log