18.04.2015 Views

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

INSTALLING ARCGIS ENGINE RUNTIME ON WINDOWS<br />

If the JavaRuntime feature was not installed<br />

during the initial installation of <strong>ArcGIS</strong> <strong>Engine</strong><br />

Runtime, it can be installed at a later date by<br />

opening the Add/Remove Programs dialog box,<br />

clicking Change on the <strong>ArcGIS</strong> <strong>Engine</strong> Runtime<br />

listing, then clicking Modify. When the Select<br />

Features dialog box opens, right-click on the Java<br />

feature and choose Will be installed on local<br />

hard drive.<br />

<strong>ArcGIS</strong> service packs are cumulative.<br />

7. The JavaRuntime feature of <strong>ArcGIS</strong> <strong>Engine</strong> Runtime requires some additional<br />

postinstallation steps to be performed.<br />

a. Click Start, Control Panel, and System. Double-click System Properties<br />

to open its dialog box.<br />

b. Click Environment Variables on the Advanced tab.<br />

c. In the System variables window, click the Path variable and click Edit.<br />

d. Scroll to the end of the Variable value text box, and add the path to the<br />

<strong>ArcGIS</strong>\Bin directory. Separate it from previous entries with a semicolon.<br />

e. Continuing on at the end of the same text box, use a semicolon<br />

separator and add in the path to the <strong>ArcGIS</strong>\Java\jre\bin directory.<br />

The installation of <strong>ArcGIS</strong> <strong>Engine</strong> Runtime is now complete. Proceed to the<br />

installation steps for if needed.<br />

Installing an <strong>ArcGIS</strong> <strong>Engine</strong> Runtime service pack<br />

If your application also requires an <strong>ArcGIS</strong> <strong>Engine</strong> service pack, you can either<br />

instruct your user to download the service pack from http:\\support.esri.com, or<br />

you can provide the service pack (.msp file) on the <strong>ArcGIS</strong> <strong>Engine</strong> Runtime CD<br />

that you provided.<br />

You should distribute the following steps or similar instructions to your users (the<br />

steps assume <strong>ArcGIS</strong> <strong>Engine</strong> Runtime is already on the target machine.):<br />

1. Check whether the <strong>ArcGIS</strong> <strong>Engine</strong> Runtime service pack required has been<br />

installed to the target machine by doing the following:<br />

a. Click Start > Run. Type “Regedit” to open the Registry Editor.<br />

b. Check for the SPNumber registry key under the following registry hive:<br />

HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\. The SPNumber value<br />

reflects the service pack number installed.<br />

2. Install the service pack using the following command line:<br />

msiexec.exe /p \<strong>ArcGIS</strong>.msp REINSTALL=ALL<br />

REINSTALLMODE=omus<br />

<strong>ArcGIS</strong> <strong>Engine</strong> Runtime setup is included in your application’s installation<br />

program<br />

The second way to distribute the <strong>ArcGIS</strong> <strong>Engine</strong> Runtime is for you to incorporate<br />

its setup into your own <strong>ArcGIS</strong> <strong>Engine</strong> software-based application’s installation<br />

program. This is possible because <strong>ArcGIS</strong> <strong>Engine</strong> Runtime can be installed<br />

without a graphical user interface by running the setup using Windows Installer<br />

command-line parameters. This process utilizes the .msi file and client-side installer<br />

service (msiexec.exe) command-line parameters.<br />

Appendix D • Installing <strong>ArcGIS</strong> <strong>Engine</strong> Runtime on Windows, Solaris, and Linux • 467

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!