How does the silent installation work?

How does the silent installation work?

On Windows the Excire Foto Office Edition Installation provides the possibility to be called in silent mode. The installation must be called with administrator privileges.

All calls return 0 on success. During the installation the install logfile install.log is written into the directory "%AppData%/Excire Foto Office Edition". Errors during uninstallation are also written in this file. A successful uninstallation deletes the logfile.

Installation

Parameters for silent installation:
/S
Silent installation
/NCRC
Disable CRC check (is always shown in a windows)
/AcceptEula
Accept the EULA
/NoShortcuts
Disable the creation of desktop and start menu shortcuts
/D
Specify a user defined installation directory

Notes
All following examples are given for Windows Command Prompt and batch scripts, not for Powershell

Example call (with standard options):
  1. start "" /wait "ExcireFotoOfficeEdition-1.1.0-x64.exe" /S /NCRC /AcceptEula
Example call (with custom installation directory and without creation of desktop and start menu shortcuts):
Attention: Parameter /D must be the last and it's value must not be in quotation marks, even if it contains spaces.
  1. start "" /wait "ExcireFotoOfficeEdition-1.1.0-x64.exe" /S /NCRC /AcceptEula /NoShortcuts /D=C:\Program Files\Excire Foto Office Edition


Uninstallation

Parameters of silent uninstallation:
/S
Silent uninstallation
/DeleteDatabases
Delete standard database of each user on this device

For an installation in a custom path, use your custom installation path instead of "C:\Program Files\Excire Foto Office Edition".
Attention: Parameter =? must be the last and it's value must not be in quotation marks, even if it contains spaces.

Example call (with standard options):
  1. copy "C:\Program Files\Excire Foto Office Edition\Uninstall.exe" . & start /wait Uninstall.exe /S _?=C:\Program Files\Excire Foto Office Edition
Example call (with deletion of default user database for all users):
  1. copy "C:\Program Files\Excire Foto Office Edition\Uninstall.exe" . & start /wait Uninstall.exe /S /DeleteDatabases _?=C:\Program Files\Excire Foto Office Edition