IWR.exe command-line tool
Use this lightweight tool to execute WorkflowXMLs. If you have templated workflow, you can replace the first input and first output file names in second and third parameters. This tool can be used from command prompt or from an application.
IWR works with default license installed to a physical computer or on Central Licensing Server (No OEM).
IWR.exe is basically a development tool but you can easily implement your own version of it. Its source is located in the Samples\WorkflowRunner\IWR subfolder within the Samples folder.
You cannot change the built-in samples available in the sample viewer applications. If you want to modify and compile a sample yourself, use the sources copied to the Samples folder under the path selected during the installation. On the Start menu, click the shortcut according to your CSDK edition to open the folder:
-
32-bit edition:
-
64-bit edition:
If you have multiple input files for a workflow, you can also specify them, therefore /i:inputA.tif, inputB.tif means replacing this:
<Inputs type="array">
<Input type="string" value="$inputfile1$" />
</Inputs>
With this:
<Inputs type="array">
<Input type="string" value="inputA.tif" />
<Input type="string" value="inputB.tif" />
</Inputs>