Unattended Installation
Unattended installations can be used by system administrators to automate the installation of SweepMe! e.g. on a large number of devices without requiring user interaction. If you just want to install SweepMe! on your computer, we recommend to download and install SweepMe! using the WebInstaller which can be found on the SweepMe! download page.
Download
The conventional way of installing SweepMe! via the WebInstaller does not support a silent installation. It is necessary to download the full installer, which can be found in the Dashboard after you have logged-in to your sweep-me.net account.
Command
SweepMe! (starting with version 1.5.6) can be installed in silent mode using following command (example uses powershell). Use the respective version number of the installer you have downloaded.
.\SweepMe_1.5.6.4_64bit_Setup.exe /S /AcceptLicense /AllUsers /D='C:\Program Files\SweepMe!'
The parameters have following meaning:
Parameter | Description |
---|---|
/S | Silent mode without showing GUI. |
/AcceptLicense | Required to accept license without user interaction. |
/AllUsers | Install for all users. The installer must be started with elevated permissions. |
/CurrentUser | Install for user running the installer. Mutually exclusive with /AllUsers option. |
/D='<path>' | Set installation directory to <path>. The installer will automatically add a directory with the version number if not present. Single quotes around the path are necessary if the path contains spaces. |
Limitations
The installer does not provide silent error handling. In case of an error, the installation is paused and the GUI reappears. Check the following before running the installer to avoid such interruptions:
- The installation directory must not exist yet
- There must be enough disk space
- Installations for all users must be started with elevated permissions
- The installer must have permission to write to the installation directory (i.e. elevated permissions in case of protected folders like C:\Program Files)