7.2 Unattended/Silent Installation of captured application.

PickMeApp Light captures and packages installed programs as single executable setup.

This setup can be run in interactive mode as well unattended/silent mode using /S switch.

For example running "KeePass 2.39.1.exe /S" in a command line to install captured KeePass silently.

The following InstallSilent.bat script can be used to automate installation of captures software programs.
(The script can be located in the "Tools" directory of PickMeApp Light setup).

:: To call installing in silent mode, we can call like
:: InstallSilent.bat "7-Zip 9.38.exe"

@ECHO OFF
start "" /WAIT %1 /SD

Echo.

IF %ERRORLEVEL% == 0 ( Echo The application was installed succufuly.
   ) Else If %ERRORLEVEL% == 1 ( Echo Installation ended with error.
        ) Else If %ERRORLEVEL% == 2 ( Echo Installation failed.
          ) Else If %ERRORLEVEL% == 3 ( Echo Permission Denied.
             ) Else If %ERRORLEVEL% == 4 ( Echo License is Invalid.
               ) Else If %ERRORLEVEL% == 5 ( Echo Installation canceled. The program is already installed on the computer.
                 ) Else Echo Failed without reason
               
Echo.