18.04.2015 Views

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DEPLOYMENT<br />

License initialization must be built into your<br />

application. For more information, see the earlier<br />

section ‘License initialization’.<br />

The custom application is deployed to an end<br />

user machine that does not have the <strong>ArcGIS</strong><br />

<strong>Engine</strong> Runtime installed. This is the easiest<br />

deployment method for the developer because<br />

the end user must install, register, and authorize<br />

the <strong>ArcGIS</strong> <strong>Engine</strong> Runtime software.<br />

The Software Authorization Wizardopens after<br />

installing the <strong>ArcGIS</strong> <strong>Engine</strong> <strong>Developer</strong> Kit.<br />

However, installations of <strong>ArcGIS</strong> <strong>Engine</strong> Runtime<br />

do not trigger the Software Authorization<br />

Wizard to start automatically.<br />

Software authorization is the process of unlocking the underlying <strong>ArcGIS</strong> <strong>Engine</strong><br />

Runtime software components. As a developer, you did this yourself when you<br />

installed and set up the <strong>ArcGIS</strong> <strong>Engine</strong> <strong>Developer</strong> Kit. Once you had installed<br />

the software, a Software Authorization wizard opened. It asked that you navigate<br />

to the authorization file (.ecp) that had been<br />

issued to you when you registered the product.<br />

Only after the authorization file was read and<br />

accepted were you able to design and run<br />

applications that use <strong>ArcGIS</strong> <strong>Engine</strong> components.<br />

All deployed applications must be<br />

authorized in a similar manner, although there<br />

are a number of different ways to achieve<br />

authorization.<br />

As discussed earlier in this chapter, every<br />

application you build and deploy must first<br />

initialize itself with a suitable license. The store<br />

of suitable licenses that your application initializes<br />

itself against are contained within the<br />

software authorization or keycode file, whichever<br />

is applicable, on the client machine or<br />

network. If your application attempts to<br />

initialize against a license that is not contained<br />

in the authorization file or if all instances of<br />

the needed license have been checked out, then<br />

your application will not be able to run.<br />

You, as the developer, must think in advance about how your clients will acquire<br />

and access an authorization or keycode file suitable to run your application. Your<br />

clients may fall into three categories:<br />

• Licensed <strong>ArcGIS</strong> Desktop users who have access to the license features that<br />

your application uses.<br />

• Those that will acquire the <strong>ArcGIS</strong> <strong>Engine</strong> Runtime software, its authorizations,<br />

or both directly from ESRI.<br />

• Those who will receive the <strong>ArcGIS</strong> <strong>Engine</strong> Runtime software and authorizations<br />

packaged within your application and have no direct contact with ESRI.<br />

The following sections discuss the software authorization process for each of<br />

these three user types.<br />

ARCGIS DESKTOP USERS<br />

If your client is a licensed <strong>ArcGIS</strong> Desktop user, you and your client would go<br />

through the following process to install and run an application that you built:<br />

1. You review and confirm licensing requirements of your application—<br />

ArcView, ArcEditor, or ArcInfo (single use or concurrent) along with any<br />

necessary extensions.<br />

2. Your client confirms that it has the applicable <strong>ArcGIS</strong> Desktop authorization<br />

or keycode files available for use with your application, as determined in the<br />

previous step.<br />

278 • <strong>ArcGIS</strong> <strong>Engine</strong> <strong>Developer</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!