Install the lonmark resource files – Echelon Neuron Field Compiler User Manual

Page 12

Advertising
background image

6

Introduction

recommends that you install the Neuron Field Compiler runtime as a visible

installer.
When you run it standalone, the Echelon Neuron Field Compiler installer also

installs the L

ON

M

ARK

Resource Files installer as an embedded installation.

When the Neuron Field Compiler installer runs as an embedded installation, it

does not install the L

ON

M

ARK

resource files. Because the L

ON

M

ARK

resource

files are required by the Neuron Field Compiler, your product installer must

embed the L

ON

M

ARK

Resource Files installer, as described in the next section,

Install the LonMark Resource Files.
The Neuron Field Compiler software product uses the Microsoft Windows

Installer platform. It has an EXE wrapper that ensures that it installs with the

Administrative user privileges that it requires. Use the following command to

launch it with a basic user interface (shows only progress messages) from your

installer:

FieldCompiler400.exe /s /v” /qb REBOOT=R”

This command suppresses user interface dialogs from the wrapper EXE (/s), but

passes the command-line parameters between the quotes to the Windows

Installer msiexec.exe through the /v parameter. These parameters tell the

Windows Installer to run a basic user interface (/qb), and to set the REBOOT

property to the value “R”, which suppresses any reboots that might be needed by

this installation, so that a forced reboot will not disturb the main installation. If

you specify no user interface (/qn) instead of the basic user interface, the

installation is completely silent.

Install the LonMark Resource Files

Neuron C code generated by your application, and compiled into application

images using the Neuron Field Compiler, requires that the standard L

ON

M

ARK

resource files be installed on the computer that will deploy the built images.
You can find the L

ON

M

ARK

Resource Files installation on the L

ON

M

ARK

International Web site,

www.lonmark.org/technical_resources/resource_files/

. If

you are licensed to redistribute the Neuron Field Compiler runtime with your

application, you are also licensed to redistribute the L

ON

M

ARK

resource files.

You can install the L

ON

M

ARK

resource files with a visible installer to provide

your end users with progress cues during installation.
The L

ON

M

ARK

Resource Files software product uses the Microsoft Windows

Installer platform. It has an EXE wrapper that ensures that it installs with the

Administrative user privileges that it requires. Use the following command to

launch it with a basic user interface (shows only progress messages) from your

installer:

LonMarkResourceFiles1300.exe /s /v” /qb REBOOT=R

DEVELOPER=1”

This command is similar to the Neuron Field Compiler installation command

line, but additionally sets the DEVELOPER property to 1. This property

ensures that the additional files that are required for a development

environment, including the L

ON

M

ARK

resource include files, are installed as an

optional feature.

Advertising