Select to view content in your preferred language

Use Runtime Deployment Tool via Command Line?

2824
2
Jump to solution
05-08-2013 10:36 AM
Labels (1)
KeithGemeinhart
Regular Contributor
Greetings,

I'd like to be able to use the WPF Runtime (10.1.1) Deployment tool via the command line. If I run DeploymentTool.exe /? on the command line, I get the dialog in the attached image. The /c option indicates support for using a config file. I cannot find documentation on the config file format. Can someone point me in the right direction?

[ATTACH=CONFIG]24134[/ATTACH]

Apparently when you create a configuration in the tool, it is stored in the registry at HKEY_CURRENT_USER\Software\ESRI\ArcGIS Runtime SDK\Settings. If any additional information is stored elsewhere, I can't find it.
0 Kudos
1 Solution

Accepted Solutions
MichaelBranscomb
Esri Frequent Contributor
Hi,

Configurations are created by the Runtime Deployment Tool in C:\Users\<UserName>\Documents\ArcGIS\Runtime Configurations. It's recommended that you create a number of configurations representing different deployments then pass those in to the deployment tool when using it via command line.

Cheers

Mike

View solution in original post

0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor
Hi,

Configurations are created by the Runtime Deployment Tool in C:\Users\<UserName>\Documents\ArcGIS\Runtime Configurations. It's recommended that you create a number of configurations representing different deployments then pass those in to the deployment tool when using it via command line.

Cheers

Mike
0 Kudos
KeithGemeinhart
Regular Contributor
Mike, Thanks for the reply!

However, I found some inconsistency between the two methods of using the tool.

1. Using the application, with a deployment folder of C:\MyProject\build\runtime, project name of TestDeploy, and a version of 0.0.1 produces the following collection of files and folders:
[ATTACH=CONFIG]24188[/ATTACH]

2. However, if I use these same arguments from the command line ...
>C:\ArcGIS\WPF10.1.1\tools\DeploymentTool.exe /t C:\MyProject\build\runtime /c TestDeploy.config
I get only a subset of the picture above:

  • The resources, client64 and client32 folders are created as siblings to the runtime (i.e. target folder)

  • Anything previously in the runtime folder is removed.

  • There is no TestDeploy0.0.1.rtf

  • There is no parent folder structure of TestDeply0.0.1/ArcGisRuntime10.1.1

  • Additionally, if the deployment target folder doesn't already exist, the command line method fails while the application will create the folder.


Do you have any insight into this?
0 Kudos