How can I install and activate SmartExporter unattended?
Description
For example, you want to install or activate SmartExporter in a server or Citrix environment or via a software distribution system without requiring user input during the process.
Solution
For unattended or silent installation, you have several options to perform the SmartExporter setup:
-
Silent installation in the default directory:
setup.exe /s /v"/qn"
-
Silent installation in a specific installation directory, e.g. C:\SmartExporter\Test:
setup.exe /s /v"/qn INSTALLDIR=\"C:\\SmartExporter\\test\""
-
Installation with log file (which will be stored to the same directory as the setup.exe):
setup.exe /s /v"/l*v install.log"
-
Installation with log file (which will be stored to the specified directory):
setup.exe /s /v"/l*v \"d:\\temp\\install.log\""
You can also run an online activation of a SmartExporter license unattended. To do this, after the installation run subdirectory x86 or x64 of the SmartExporter installation directory with the following command line:
SmartExporter.exe -ACTIVATE <license key>
SmartExporter shows a message and then closes. In case of success 0 is returned as exit code and in case of error 1.