Intermec IF2 IF2 Network Reader User Manual - Page 66
Create a Configuration File
View all Intermec IF2 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 66 highlights
Chapter 4 - Install Applications on the IF2 with Expanded Memory Option 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= 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. 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. 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. Note: Do not use the $JAVA_HOME environment variable in the command line. 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 52 IF2 Network Reader User Manual