Install Software Data Licenses Programmatically

Idea created by johnmdye on Jan 6, 2015
    New
    Score10
    • johnmdye
    You can completely install ArcGIS for Desktop and even license the software or connect it to your License Server silently, all through a simple batch script.

    The one thing you can't do however is install a Data License (*.sdlic) and the only reason you can't do it is because the executable which does this does not ship with ArcGIS for Desktop. It ships with ArcGIS for Server.

    What. The. Heck.

    To install a Data License programmatically, all one needs to do is copy the DataLicInstall.exe that can be found on any ArcGIS for Server installation at:
    "C:\Program Files\ArcGIS\Server\bin\DataLicInstall.exe"
    to:
    "C:\Program Files (x86)\Desktop<version>\bin64"
    on any machine installed with ArcGIS for Desktop. ArcGIS for Server does not need to be installed on that machine.

    Once that executable is copied over, all one has to do is call it and pass in the absolute path to the *.sdlic file they want to install.
    "C:\Program Files (x86)\ArcGIS\Desktop10.2\bin64\DataLicInstall.exe", "C:\MyDataLicense.sdlic"

    0EME0000000UXWA

    So it's completely possible to do this but one who doesn't have a copy of ArcGIS for Server is pretty much out of luck unless some kind soul is willing to give them a copy of the exe. 

    That my friend, is what is called complete and utter nonsense.