Installing Maya 2020 for Mac as a deployment silently via command line

Autodesk Support

Oct 8, 2023


Products and versions covered


Issue:

You would like to silently deploy Maya 2020 software using terminal command lines.

Solution:

  1. Double click on the DMG file to mount it.
  2. Copy Install Maya 2020.app from the mounted drive to a network share.
  3. The deployment_maya.xml file will be located in Install Maya 2020.app/Contents/Helper/manifest. However, there cannot be any spaces in the path to deployment_maya.xml. Rename the directory to eliminate spaces.
    • Important: When you copy the installation files to the network share, make sure that the path to the deployment_maya.xml file contains no spaces. If the path contains spaces, the deployment will fail.
  4. Open deployment_maya.xml and modify the following sections:
    • <Eula><Status>
      Set this to Accept
    • <Eula src="https://www.autodesk.com/eula">
           <Status>Accept</Status>
      </Eula>
    • <LoggingSettings>
    • Set it to the name and location of the log file. The file must be accessible to the hosts on which Maya is being deployed. For example:
    • <LoggingSettings>
          <Logging>true</Logging>
          <Path>\\myserver\logfiles</Path>
          <Name>AutodeskMaya2020_deployment.log</Name>
      </LoggingSettings>
    • <Applications><Application><Name>Maya</Name><LicenseSetting><Name>
      Set it to the type of license your deployment will use. The types of licenses are MayaNetworkLicense, MayaRedundantNetworkLicense, MayaDistributedNetworkLicense, MayaUserLicense, and MayaStandaloneLicense. For example, if you are using a network license, set the name to MayaNetworkLicense:
    • <Applications>
          <Application>
              <Name>Maya</Name>
              <UPI2>{0A7D849C-C36E-4AA0-A559-68E93DC6BC6A}</UPI2>
              <Manifest>manifest/app.maya.xml</Manifest>
              <Core>true</Core>
              <Install>true</Install>
              <LicenseSetting>
                  <Name>MayaNetworkLicense</Name>
                   <SerialNumber>000-00000000</SerialNumber>
                   <ProductKey>657L1</ProductKey>
                   <ProductVersion>2020.0.0.F</ProductVersion>
                   <ConfigFile>x64/Maya/MayaConfig.pit</ConfigFile>
              </LicenseSetting>
          </Application>
       
      • Note: If you are using a standalone license, you will need to provide a serial number in the <SerialNumber> field.
    • <Applications><Application><Name><Install>
      You can choose to install MtoA, Bifrost, and Substance by setting <Install> to true in their respective sections:
    • <Applications>
         [...]
         <Application>
            <Name>MtoA</Name>
            <UPI2>{8E5AFC23-0DD5-4AC9-8839-D6E66C410EED}</UPI2>
            <Manifest>manifest/app.mtoa.xml</Manifest>
            <Core>false</Core>
            <Install>true</Install>
         </Application>  
         <Application>
            <Name>Bifrost</Name>
            <UPI2>{E6BE52E1-779B-4CD5-8B03-DF6033F7303E}</UPI2>
            <Manifest>manifest/app.bifrost.xml</Manifest>
            <Core>false</Core>
            <Install>true</Install>
         </Application>
         <Application>
            <Name>Substance</Name>
            <UPI2>{1884DD82-56E4-4513-A73F-29A38E8BDA4A}</UPI2>
            <Manifest>manifest/app.substance.xml</Manifest>
            <Core>false</Core>
            <Install>true</Install>
         </Application>
      </Applications>
    • <LicenseSettings><LicenseSetting><Name>LICENSE_TYPE</Name>
      Find the entry for the LICENSE_TYPE that corresponds to the type of license your deployment is using, and enter the information for that license type. For example, if you are using a network license, find the entry for <Name>MayaNetworkLicense</Name> and modify it as necessary:
    • <LicenseSettings>
          <LicenseSetting>
              <Name>MayaNetworkLicense</Name>
              <NetworkLicense>
                  <Single>
                      <Server>MyLicenseServer</Server>
                  </Single>
              </NetworkLicense>
          </LicenseSetting>
  5. Once you have modified the deployment_maya.xml file, install Maya using the silent installation option.
  6. The Setup command is located in Contents/Helper/Setup.app/Contents/MacOS/ under the installation directory on the network share. Run the Setup command using its full path regardless of your current directory, for example:
    • sudo Contents/Helper/Setup.app/Contents/MacOS/Setup -i deploy --silent -o ../Helper/manifest/deployment_maya.xml

Products:

AutoCAD; Maya;

Versions:

2020;


Was this information helpful?


Need help? Ask the Autodesk Assistant!

The Assistant can help you find answers or contact an agent.


What level of support do you have?

Different subscription plans provide distinct categories of support. Find out the level of support for your plan.

View levels of support