Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Sample XML for Scripted Install of AMS and CMS

Created: 26 Jun 2012

You can launch the Symantec Installation Manager from a command line and pass it an XML based config file. This allows you to do a silent install of any suite or solution. All you have to do is identify the product or suite you want to install. The Product Guid can be pulled out of the symantec.pl.xml file. You should load this into some type of tool like Notepad++ and pay attention to all the tags. There are a number of items in here that give you complete flexibility. This example is installing CMS 7.1 and AMS 7.1 to the D: drive and enabling SSL for example.

<?xml version="1.0"?>
<simConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <!--The automation operation that must be specified (optional, unless running silent process)- Valid options are
'Install', 'Repair', 'CreatePackage', 'DownloadLicenses', and 'Uninstall'.  To specify the product(s) that this
operation should be performed on, set the 'products' attribute.  Valid products attribute options are 'SpecifiedProducts' and 'AllProducts'.
SpecifiedProducts requires that you populate the <products> node with applicable productInstallGuids for the operation. AllProducts will
automatically select everything in the current product listing.  All products option cannot be used with 'Install' operation (all available
products cannot be selected for install)-->
  <operation products="SpecifiedProducts">Install</operation>
  <products>
    <!--This is the list of products that corresponds with the automation operation (optional)- Note that the automation operation 'products' attribute
should be set to 'SpecifiedProducts' for this list to be applicable.  Also, if dependencies are not listed and in explicit order, the latest versions of
required dependencies will be automatically selected for you-->
   <productInstallGuid comment="Altiris Client Management Suite 7.1 SP2b (7.1.32)">af887b4f-7785-47d6-8f08-9e7ae91adf44</productInstallGuid>
   <productInstallGuid comment="Altiris Asset Management Suite 7.1 SP2">C7B6C26C-8754-46D8-8B62-58D3D052919D</productInstallGuid>
  </products>
  <!--This is the list of optional installs (LanguagePacks, DocumentationPacks and MigrationWizard) that corresponds with the automation operation (optional)- Note that the automation operation 'products' attribute
should be set to 'SpecifiedProducts' for this list to be applicable. -->
  <optionalInstalls languagePacks="true" documentationPacks="true" migrationWizard="false" />
  <!--The directory where package build output will be written (optional)- omitting this will use current default settings-->
  <packageDestinationPath>C:\Users\Administrator\Desktop\</packageDestinationPath>
  <!--The directory for product installations (optional)- omitting this will use current default settings-->
  <installPath>D:\Program Files\Altiris\</installPath>
  <!--The download information (optional)- omitting this section will cause SIM to use current default settings-->
  <downloadConfig>
    <!--The product listing information for the product listing that will be used for this session (required for downloadConfig)-->
   <productListing>
      <path>PATH\Altirissymantec.pl.xml.zip</path>
    </productListing>
    <!--The location where the packages will be downloaded on the local machine for this session (optional)- omitting this will use current default settings-->
   <localRepositoryPath></localRepositoryPath>
    <!--The directory where the requested product licenses will be downloaded on the local machine for this session (optional)- omitting this will use current default settings-->
   <localLicenseStorePath></localLicenseStorePath>
    <!--The TradeCompliance parameters that are required for downloading products (optional)- omitting this will use the current default settings-->
   <tradeComplianceConfig>
      <!--The personal information required for trade compliance (required for tradeComplianceConfig)-->
    <personalInformation>
        <organization>COMPANY</organization>
        <firstName>NAME</firstName>
        <lastName>NAME</lastName>
        <email>E-MAIL</email>
        <address1>ADDRESS</address1>
        <address2 />
        <country>COUNTRY</country>
        <city>CITY</city>
        <stateProvince>STATE</stateProvince>
        <zipCode>12345</zipCode>
        <phone>123-456-7890</phone>
      </personalInformation>
    </tradeComplianceConfig>
    <repositories />
  </downloadConfig>
  <!--The NS configuration information that must be specified if installing the platform (optional, unless running silent process)-->
  <nsConfig>
    <!--Set 'encryptedPassword' attribute to false to specify clear credentials-->
   <!--The NS application identity credentials (required for nsConfig)-->
   <nsServerCredentials encryptedPassword="false">
      <userName>DOMAIN\ACCOUNT</userName>
      <password>PASSWORD</password>
    </nsServerCredentials>
    <!--The SQL Server configuration information (required for nsConfig)-->
   <sqlServer>
      <serverName>SERVER\INSTANCE</serverName>
      <databaseName>Symantec_CMDB</databaseName>
      <useWindowsAuthentication>true</useWindowsAuthentication>
      <databaseTimeout>1600</databaseTimeout>
    </sqlServer>
    <!--The web configuration information (required for nsConfig)-->
   <webConfig>
      <webSiteSsl>true</webSiteSsl>
      <webSiteHost>SERVER</webSiteHost>
      <webSitePort>443</webSitePort>
      <nsWebSite>Default Web Site</nsWebSite>
    </webConfig>
  </nsConfig>
</simConfig>