System information
PC-Duo Host Guide
144
The first example silently runs the Host installer file located in the C:\Program
Files\...\Host directory and suppresses the REBOOT at the end of the installation,
and then, through PHSETUP commands, assigns the Host computer name to “apple,” sets
the password to “core.”
msiexec /qn /I Host.msi LICENSE=1234567890 REBOOT=Suppress
HOSTSETTINGS=”name:””apple password:core”””
INSTALLDIR=”c:\Program Files\...\Host”
NOTE: For the MSI install, follow the "/I" immediately by its parameter, the package name.
NOTE: If there are embedded quotes, MSIEXE requires that they be quote-quoted; i.e., "
becomes "". For example, the PHSETUP comand line:
PHSETUP name:”hello there” ip:on ipx:off
becomes:
MSIEXEC /I Host.msi HOSTSETTINGS=”name:””hello there”” ip:on ipx:off”
The second example silently runs the the Host installer file Host.msi and applies the
transform file STANDARDHOST.MST. Transform files can be created using the
Deployment Tool. This example assumes all files are in the current working directory with
the appropriate paths specified as needed.
msiexec /qn /I Host.msi TRANSFORMS=”StandardHost.mst”
SETUP
The following example silently installs the Host from the SETUP.exe file located in the
C:\Program Files\...\Host directory and suppresses the REBOOT at the end of the
installation, and then, through PHSETUP commands, configures the Host computer name
to “apple,” sets the password to “core.”
setup.exe /s /v”/qn LICENSE=1234567890 REBOOT=Suppress
HOSTSETTINGS=\”name:””apple password:core\”””
INSTALLDIR=\”c:\Program Files\...\Host”
NOTE: Make sure that INSTALLDIR is the last argument in the sequence when using
long file names.
Start/Wait
The following example is identical to the msiexec example, except that it uses the
start/wait syntax to wait for the installation to be complete before continuing in a
batch file.
start/wait msiexec /qn /I Host.msi LICENSE=1234567890
REBOOT=Suppress HOSTSETTINGS=”name:””apple password:core”””
INSTALLDIR=”c:\Program Files\...\Host”