7.2 Unattended/Silent Installation of Repackaged Packages and Captured Applications

This applies to installation packages created with PickMeApp Pro’s Pack feature, captured applications using PickMeApp Light, and applications captured by either PickMeApp Light or PickMeApp Pro that have their settings enabled with self-extracted executable packages.
 
These applications can be run in interactive mode, as well as in unattended/silent mode using the /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, which is found under the Tools directory on the PickMeApp Light program folder, can automate installation of captured software programs.

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

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

Echo.

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

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

Echo.

:: 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 successfully.
) 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.