Skip to main content



Automated Installation - Command Line Options

To run an automated (silent) installation, you can call the InRule installer and pass in the command line arguments shown below, specifying a response file which lists out which features to install and contains all configured options.

Command Line Arguments

/acceptEulaAccepts the End User License Agreement (EULA)
/deactivateDeactivates the InRule license; typically used during uninstallation
/response=[file]Indicates a response file containing responses to the various settings. For more information, create a support ticket via the Support request form or email support@inrule.com.

In addition, you may specify many of the Windows Installer command line options and Standard Installer command line options.

Example Command Line

c:\\\install\\\InRuleAutomatedInstall\\\InRule\_setup /quiet /acceptEula /response="C:\\\Install \\\InRuleAutomatedInstall\\\InRuleInstallResponses.xml"

A response file gets generated when you install InRule and gets stored at the root of the installed directory (i.e. C:\\Program Files (x86)\\InRule\\InRuleInstallResponses.xml). To set up an automated installation, best practice is to first install InRule via the Installer user interface, selecting all of the required options, so that a response file is created. That response file may then be used for subsequent automated installations. NOTE: Passwords will not be captured in the response file (e.g. catalog admin password), so those must be manually updated in the file.

Example Response File

<?xml version="1.0" encoding="utf-8"?> 
<Responses>
<InstalledFeatures>
<Feature Id="feat\_Documentation" />
<Feature Id="feat\_ActivationUtility" />
<Feature Id="feat\_Licenses" />
<Feature Id="irAuthor" />
<Feature Id="irSDK" />
</InstalledFeatures>
<ConfigInputs>
<ConfigInput Id="NoMsiInstall" />
<ConfigInput Id="SideBySideSuffix" />
<ConfigInput Id="InRuleInstallFolder" />
<ConfigInput Id="EventLogName"><![CDATA[InRule]]></ConfigInput>
<ConfigInput Id="ApplicationLogEventSource" />
<ConfigInput Id="IrSoaInstallationType" />
<ConfigInput Id="IrSoaWinSvcName" />
<ConfigInput Id="IrSoaWindowsServiceUri"><![CDATA[http://ComputerName:/

InRuleRuleEngineService]]></ConfigInput>

<ConfigInput Id="IrSoaWebSite"><![CDATA[Default Web Site]]></ConfigInput> 
<ConfigInput Id="IrSoaWebApplPool"><![CDATA[DefaultAppPool]]></ConfigInput>
<ConfigInput Id="IrSoaWebServiceUri"><![CDATA[http://ComputerName/

InRuleRuleEngineService/Service.svc]]></ConfigInput>

<ConfigInput Id="IrSoaWebAppl"><![CDATA[InRuleRuleEngineService]]></ConfigInput> 
<ConfigInput Id="IrCatalogInstallationType" />
<ConfigInput Id="IrCatalogWindowsServiceUri"><![CDATA[http://ComputerName:/

InRuleRepositoryService]]></ConfigInput>

<ConfigInput Id="IrCatalogWinSvcName" /> 
<ConfigInput Id="IrCatalogWebSite"><![CDATA[Default Web Site]]></ConfigInput>
<ConfigInput Id="IrCatalogWebApplPool"><![CDATA[DefaultAppPool]]></ConfigInput>
<ConfigInput Id="IrCatalogWebServiceUri"><![CDATA[http://ComputerName/

InRuleCatalogService/Service.svc]]></ConfigInput>

<ConfigInput Id="IrCatalogWebAppl"><![CDATA[InRuleCatalogService]]></ConfigInput> 
<ConfigInput Id="CatalogAuthAdminUser" />
<ConfigInput Id="CatalogAuthAdminPassword" />
<ConfigInput Id="CatalogAuthLDAPPath" />
<ConfigInput Id="CatalogAuthLDAPDomain" />
<ConfigInput Id="CatalogAuthProvider" />
<ConfigInput Id="CatalogDatabaseType" />
<ConfigInput Id="CatalogDatabaseCreation" />
<ConfigInput Id="CatalogCreationAuthType" />
<ConfigInput Id="CatalogCreationUsername" />
<ConfigInput Id="CatalogCreationPassword" />
<ConfigInput Id="CatalogDatabaseServerName" />
<ConfigInput Id="CatalogSqlServerAuthenticationType" />
<ConfigInput Id="CatalogSqlServerUserName" />
<ConfigInput Id="CatalogSqlServerPassword" />
<ConfigInput Id="CatalogEncryptPassword" />
<ConfigInput Id="CatalogDatabaseDatabaseName" />
<ConfigInput Id="CatalogOraclePortNumber" />
<ConfigInput Id="CatalogOracleSchemaName" />
<ConfigInput Id="CatalogOracleSchemaPassword" />
<ConfigInput Id="CatalogOracleServiceName" />
<ConfigInput Id="CatalogOracleOdpNetVersion" />
<ConfigInput Id="LicensingName"><![CDATA[John Doe]]></ConfigInput>
<ConfigInput Id="LicensingOrganization" />
<ConfigInput Id="LicensingLicenseKeys"><![CDATA[AUT-KEY--12345-12345-12345-12345-12345

SDK-KEY--12345-12345-12345-12345-12345]]></ConfigInput>

</ConfigInputs> 
<SuiteVersion>5.0</SuiteVersion>
</Responses>

To troubleshoot the automated installation, review the log file created by the installer. It is stored at the root of the temp directory, as specified by environment variable TEMP. (e.g. C:\\Users\\jsmith\\AppData\\Local\\Temp\\InRule_20150120113533.log.)

note

The automated installation process only supports "online" activation - the machine must be able to connect to the InRule Licensing Service.