I am attaching dozens of database files to a SQL Server instance and then I have to run sdesetup command to update the geodatabase license by pointing to my ArcGIS Server license. I am trying to find a way to automate this process.
Two ways to update the license (as to my knowledge are):
1.Connect to geodatabase instance as administrator user in ArcGIS Desktop (ArcMap for instance) and then use the Update ArcGIS Server License window to browse to the .ecp file or keycodes file.
2.Use sdesetup –o update_key ArcSDE command line to update the license. These command line utilities are going to be deprecated soon, though.
Neither of these alternatives provide any way to automate the process. In the latest Esri blog post on this topic, there was no information on this apart from what I have outlined above. I have not found any related ideas on ArcGIS Ideas either.
Is there any other way I am not aware of? Do you know if Esri is going to provide tools for automating license update process?