EasyManua.ls Logo

Intermec 1009FF01 - Create a Configuration File

Intermec 1009FF01
119 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 — Install Applications on the IF2 with Expanded Memory Option
52 IF2 Network Reader User Manual
Create a Configuration File
When you package your application for installation on the IF2, you
need to include a configuration file in the root directory of the
archive. The file must be named “userapp.conf” and must include this
syntax:
AUTOSTART=true|false
RUNAFTERINSTALL=true|false
CMDLINE=<command line to start the application>
where:
AUTOSTART specifies whether or not the application should
automatically be executed when the IF2 boots. When
AUTOSTART=true, the Auto-Start check box for this application on
the Application Control screen will be checked.
RUNAFTERINSTALL specifies whether or not the application should
be started immediately after installation.
CMDLINE specifies the application name and optional parameters it
accepts. Specify command line parameters as if the application is
being executed from inside the directory containing the application.
This example runs a C# application named “testapp.exe” using the
Mono runtime:
CMDLINE=./testapp.exe
For Java applications, CMDLINE should specify the Java interpreter
location, the classpath, and the class containing the application’s
entry point. This example runs the class “HelloWorld”:
CMDLINE=/usr/java/bin/java -cp . HelloWorld
Note: After you install the application on the IF2, you can enable or
disable the auto-start feature from the web browser interface. For
help, see “Manage Applications” on page 56.
Note: Do not use the $JAVA_HOME environment variable in the
command line.

Table of Contents

Related product manuals