You should uninstall any current version of Smart API Manager on the server before performing a silent installation.
-
Log on to the Smart API Manager web server as an administrative user for the computer and IIS.
-
Create a command prompt window with administrative privileges (Run as administrator).
-
Navigate to the Smart API Manager installation media or location.
-
Run the SAM_setup.exe executable using the following switches and parameters. Note that:
-
All switches and parameters are case sensitive.
-
Spaces are not allowed after any parameter or equal sign (=).
-
Switches
Switch |
Description |
---|---|
-install |
Installs Smart API Manager. |
-uninstall |
Uninstalls Smart API Manager. |
-q, -quiet, -s, -silent |
Silent mode. |
-l, -log |
Logs information and errors to a specified file, for example: C:\install logs\samserver\3505587.log The full path must be included in quotes if it contains any spaces. |
Parameters
Parameter |
Required or Optional |
Description |
---|---|---|
INSTALLFOLDER |
Optional |
The folder where the software will be installed. If this is not provided, it is set to: C:\Program Files\Intergraph\Smart API Management Server |
SLAACCEPT |
Required |
Approves license agreement. Must be set to YES. |
USERNAME |
Optional |
Name of the user to whom the software is licensed. Left blank if not provided. |
COMPANYNAME |
Optional |
Name of the company to whom the software is licensed. Left blank if not provided. |
Here are example command-line statements for silent install and uninstall:
"C:\Users\samadmin\SAM\SAM_setup.exe" -install -silent -log c:\temp\saminstall.log INSTALLFOLDER="C:\Program Files\Intergraph\Smart API Management Server" SLAACCEPT="YES" USERNAME="samadmin" COMPANYNAME="MyCompanyName"
"C:\Users\samadmin\SAM\SAM_setup.exe" -uninstall -silent -log c:\temp\samuninstall.log
Continue with Configuring Smart API Manager.