Skip to content

arcgis‐desktop Cookbook Recipes

Pavel Bobov edited this page Aug 10, 2016 · 8 revisions

arcgis-desktop cookbook is used to install and configure ArcGIS for Desktop and ArcGIS License Manager.

Brief descriptions of arcgis-desktop cookbook recipes along with cookbook attributes are available at README.md. This page provides more detailed descriptions of the recipes and specifies attributes used by each recipe.

Some cookbook attributes are not used directly by the recipes but used to set the default values for other attributes. For example, node['arcgis']['version'] attribute affects default values of node['arcgis']['...']['product_code'] attributes.

default

Installs and configures ArcGIS Desktop.

Attributes used by the recipe:

{
  "arcgis": {
    "version": "10.4",
    "desktop": {
      "setup": "C:\\ArcGIS\\10.4\\Desktop\\Setup.exe",
      "install_dir": "C:\\Program Files (x86)\\ArcGIS",
      "authorization_file": "C:\\ArcGIS\\10.4\\Authorization_Files\\Server.prvc",
      "authorization_file_version": "10.4",
      "install_features": "ALL",
      "software_class": "Viewer",
      "seat_preference": "Fixed",
      "desktop_config": true,
      "modifyflexdacl": false
    }
  },
  "python": {
    "install_dir": "C:\\Python27"
  },
  "run_list":[
    "recipe[arcgis-desktop]"
  ]
}

❗ Software authorization for ArcGIS for Desktop is only supported by the cookbook when "seat_preference" attribute value is "Fixed".

❕ Chef cookbook ms_dotnet could be used to install .Net Framework version required by ArcGIS for Desktop.

For example:

{
  "ms_dotnet" : {
    "v4" : {
      "version" : "4.5.1"
    }
  },
  "run_list":[
    "recipe[ms_dotnet::ms_dotnet4]"
  ]
}

licensemanager

Installs and configures ArcGIS License Manager.

Attributes used by the recipe:

{
  "arcgis": {
    "version": "10.4",
    "run_as_user": "arcgis",
    "licensemanager": {
      "setup": "C:\\ArcGIS\\10.4\\LicenseManager\\Setup.exe",
      "install_dir": "C:\\Program Files (x86)\\ArcGIS"
    }
  },
  "python": {
    "install_dir": "C:\\Python27"
  },
  "run_list":[
    "recipe[arcgis-desktop::licensemanager]"
  ]
}

❕ run_as_user attribute is ignored on windows.

lp-install

Installs and configures language packs for ArcGIS for Desktop and ArcGIS License Manager.

Attributes used by the recipe:

{
  "arcgis": {
    "version": "10.4",
    "desktop": {
      "lp-setup": "C:\\ArcGIS\\10.4\\Desktop\\Japanese\\Setup.exe"
    },
    "licensemanager": {
      "lp-setup": "C:\\ArcGIS\\10.4\\LicenseManager\\Japanese\\Setup.exe"
    }
  },
  "run_list":[
    "recipe[arcgis-desktop::lp-install]"
  ]
}

❗ Currently lp-install recipe is supported on windows only.

uninstall

Uninstalls ArcGIS Desktop and ArcGIS License Manager of the specified ArcGIS version.

Attributes used by the recipe:

{
  "arcgis": {
    "version": "10.4",
    "run_as_user": "arcgis",
    "desktop": {
      "install_dir": "C:\\Program Files (x86)\\ArcGIS"
    },
    "licensemanager": {
      "install_dir": "C:\\Program Files (x86)\\ArcGIS"
    }
  },
  "run_list":[
    "recipe[arcgis-desktop::uninstall]"
  ]
}

❕ run_as_user attribute is ignored on windows.

Clone this wiki locally