You can configure the PasswordSync installer for silent installation. To use this feature, you must first record configuration parameters to a file while installing PasswordSync. Future installations will reference the file and replay the configuration settings.
If you want to use the silent installation procedure then you must install the complete product on each server that will use it. Recording and replaying the configuration settings relies on the configuration application to be installed on the system.
The silent installation process utilizes a Windows utility calledmsiexec that installs .msi files from the command line.
Type msiexec /? at a command prompt to view usage information for this utility.
Documentation is also available on Microsoft's website. For example, for documentation on using msiexec on Windows Server 2003, see http://technet.microsoft.com/en-us/library/cc759262.aspx.
Follow these instructions to install PasswordSync using the installation wizard. The configuration utility captures configuration parameters and writes them to an XML file.
Remove older versions of PasswordSync before installing.
Go to the directory with the PasswordSync installation (.msi) file.
See To Install the PasswordSync Configuration Application for information.
Type the following at a command prompt. Arguments and values are case sensitive.
msiexec /i pwSyncInstallFile CONFIGARGS="-writexml fullPathToFile" |
where:
pwSyncInstallFile is the PasswordSync installation file. (Either IdmPwSync_86.msi or IdmPwSync_x64.msi).
fullPathToFile specifies where to write the XML file.
For example:
msiexec /i IdmPwSync_x86.msi CONFIGARGS="-writexml c:\tmp\myconfig.xml" |
Install the product.
You should have created an installation configuration XML file. See To Capture Installation Parameters to a Configuration File for instructions.
Remove older versions of PasswordSync before installing.
Copy your installation configuration XML file to a location where it can be read by the installer.
Type the following at a command prompt. Arguments and values are case sensitive.
msiexec /i pwSyncInstallFile ADDLOCAL="installFeature" CONFIGARGS="-readxml fullPathToFile" INSTALLDIR="installDir" /q |
where:
pwSyncInstallFile is the PasswordSync installation file. (Either IdmPwSync_86.msi or IdmPwSync_x64.msi).
installFeature specifies which PasswordSync features to install. Choose one of the following:
MainProgram — Only install the interceptor .dll file
Configuration — Only install the configuration application
ALL — Install the complete product
If nothing is specified, MainProgram is used by default if the /q option is supplied.
fullPathToFile specifies the path to the configuration XML file.
installDir specifies the full path to a custom installation directory. Optional.
/q specifies a non-GUI install that automatically reboots the server when finished. If not included, the installation wizard will display but the configuration will run with the predefined settings. Optional.
Examples:
msiexec /i IdmPwSync_x86.msi CONFIGARGS="-readxml c:\tmp\myconfig.xml"
msiexec /i IdmPwSync_x86.msi ADDLOCAL="MainProgram" CONFIGARGS="-readxml c:\tmp\myconfig.xml" /q
msiexec /i IdmPwSync_x64.msi ADDLOCAL="Complete" CONFIGARGS="-readxml c:\tmp\myconfig.xml" INSTALLDIR="C:\Program Files\Sun Microsystems\MyCustomInstallDirectory" /q