Skip to content

Invoke BALTECH Uploader from a custom application

With BALTECH Uploader, you can deploy configurations or firmware updates. To automate deployment, you can invoke Uploader from your own application or script.

This feature requires Uploader v4.26.02 or above.

Uploader EXE

Uploader is available for download as part of BALTECH ToolSuite. Once you've installed ToolSuite, you can find the Uploader EXE file here:

C:\Program Files (x86)\Baltech\Tool Suite\bf2uploader.exe

Command line arguments

You can invoke Uploader without any arguments; then Uploader will simply start and wait for user interaction. With the following arguments, you can further automate the deployment process.

Argument Supported values Description
Path to firmware or config file
  • File path, e.g.C:\{path}\1100_1.30.00.bf2
  • defaultFirmware

This must be the first argument.

The firmware or config file will be preselected when Uploader starts. If you want to deploy the firmware file that is included in Uploader (see C:\Program Files (x86)\Baltech\Tool Suite\uploader_firmware), use defaultFirmware.

Mode and reader serial number
  • wired={serial number}
  • wireless={serial number}
  • configCard={serial number}
Uploader selects the reader with the specified serial number and starts the specified upload mode, i.e. Wired Upload, Wireless Upload (using the specified reader as a transfer reader), or ConfigCard creation.
No user interaction noInteraction

This argument only works with Wired Upload, i.e. wired={serial number} must be specified as well (see previous argument).

Wired Upload is automatically started. Upon successful completion, Uploader terminates with exit code 0, without showing a success message. In case of an error, Uploader shows an error message. Once the user has closed the error message, Uploader terminates with exit code 1.

Example

The following example causes BALTECH Uploader to deploy the included firmware file via Wired Upload to the reader with the serial number 12345678, and terminate itself upon completion.

"C:\Program Files (x86)\Baltech\Tool Suite\bf2uploader.exe" defaultFirmware wired=12345678 noInteractions
Back to top