List and description of command line switches for silent installation
You can use command line switches to perform a silent installation, which enables you to use an installation script to install SnapManager for Hyper-V.
The following table provides a list of values and describes each of the available command-line installation switches.
Switch | Value | Description |
---|---|---|
SILENT_MODE= |
1 |
Enables SnapManager for Hyper-V to properly execute the unattended install feature. This switch is required for first-time installations, upgrades, and complete uninstallations. |
REINSTALLMODE= |
Specifies the reinstall mode to be used. |
|
REINSTALLMODE= |
v |
Indicates that the installation is run from the source package and that the local package is cached. Do not use this option for first-time installations of SnapManager for Hyper-V. Reinstalls all files regardless of version, date, or checksum value. |
REINSTALLMODE= |
a |
Reinstalls SnapManager for Hyper-V files if older versions are present or if files are missing. |
REINSTALLMODE= |
o |
Indicates that all SnapManager for Hyper-V required registry entries from HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT should be rewritten. |
REINSTALLMODE= |
m |
Indicates that all SnapManager for Hyper-V required registry entries from HKEY_CURRENT_USER and HKEY_USERS should be rewritten. |
REINSTALLMODE= |
u |
Reinstalls all shortcuts and recaches all icons, overwriting any existing shortcuts and icons. |
REINSTALL= |
ALL |
Reinstalls all SnapManager for Hyper-V features. |
/Li |
filename |
Specifies that a SnapDrive installation log should be generated. |
SMHV_LICENSE= |
license |
Specifies the appropriate and valid SnapManager for Hyper-V license. |
INSTALLDIR= |
target installation directory |
Specifies the target installation directory to which SnapManager for Hyper-V is installed. This switch is required only when installing SnapManager for Hyper-V for the first time. |
SVCUSERNAME= |
DOMAIN\username |
Specifies the domain and user name that SnapManager for Hyper-V uses during the unattended installation. |
SMHVSRV_PASSWORD= |
password |
Specifies the password for the SMHVSRV_PASSWORD user. |
SMHVSRV_CONFIRMUSERPASSWORD= |
password |
Confirms the password for the SMHVSRV_CONFIRMUSERPASSWORD user. |
SMHV_WEBSRV_TCP_PORT |
port number |
Specifies which port the SnapManager for Hyper-V web service uses for Net.Tcp. The default port is 808. |
The following syntax shows a fresh installation:
setup.exe /s /v"/qn SILENT_MODE=1 /L*v SMHVInstall.log SVCUSERNAME=Domain\User Name SMHVSRV_PASSWORD=password SMHVSRV_CONFIRMUSERPASSWORD=password"
The following syntax shows an upgrade:
setup.exe /s /v"/qn REINSTALLMODE=vamus REINSTALL=ALL SILENT_MODE=1 /L*v SMHVUpgrade.log SVCUSERNAME=Domain\User Name SMHVSRV_PASSWORD=password SMHVSRV_CONFIRMUSERPASSWORD=password"
The following syntax shows an uninstallation:
Setup.exe /s /x /v"/qn SILENT_MODE=1 /L*v SMHVuninstall.log"