This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
UnattendedInstallation
DominikPretzsch edited this page Jul 2, 2015
·
4 revisions
To deploy the mOTP-CP to multiple systems using e.g. the Windows software deployment features it is neccessary to install mOTP-CP in an unattended way.
The MSI installer package provides switches to predefine the values to be used during installation:
- PATH defines the path multiOTP.exe is installed to
- LOGIN_TEXT defines the default welcome text (default is "MultiOTP Login")
- TIMEOUT defines a maximum timout that is used while communicating with multiOTP.exe
You can deploy the software along side with, e.g. a Batch file including the following:
msiexec /qb /i MultiOTPSetup.msi PATH=C:\path\to\multiotp TIMEOUT=10 ADDLOCAL=[MainInstall | InstallAsDefault | VCRedist]
This will install mOTP-CP, configure the multiOTP.exe's path to C:\path\to\multiotp and the timout to be 10 seconds. There will almost no user interface be shown (/qb).
The ADDLOCAL-switch tells the installer wich components to include. Adding "InstallAsDefault" configures the CP to be installed as default provider.
For more information about the command-line switches of msiexec see this MS TechNet article.