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.

INSTALLING ARCGIS ENGINE RUNTIME ON WINDOWS<br />

The second action calls the Launch_<strong>Engine</strong>_MSI that you previously created.<br />

During the admin installation of <strong>ArcGIS</strong> <strong>Engine</strong><br />

Runtime, you will be able to specify where you<br />

want the files installed. An admin installation<br />

does not write to your registry; it just creates a<br />

new image of the files required for clients to<br />

install.<br />

Both of these custom actions should execute only if the property<br />

Arc<strong>Engine</strong>Exists does not equal True.<br />

Example 2 (<strong>ArcGIS</strong> <strong>Engine</strong> Runtime 9.0 or 9.1 and a service pack are required.)<br />

In this example, <strong>ArcGIS</strong> <strong>Engine</strong> Runtime and a service pack are required by your<br />

application. This example results in two scenarios. Scenario 1 takes into account<br />

the users that do not have <strong>ArcGIS</strong> <strong>Engine</strong> Runtime and the service pack installed.<br />

Scenario 2 takes into account the users that have <strong>ArcGIS</strong> <strong>Engine</strong> Runtime installed<br />

but do not have the service pack installed. Both these scenarios will require<br />

the following on your CD:<br />

1. An admin installation that has been patched with the service pack.<br />

2. The required <strong>ArcGIS</strong> <strong>Engine</strong> Runtime service pack (msp file).<br />

The custom actions for scenarios 1 and 2 (described in the steps below) can be<br />

combined in the Finish button of your application’s setup program. The Finish<br />

button of your application’s setup program can then deal with both of these<br />

scenarios.<br />

For scenario 1, you will have to provide an admin installation on the CD that<br />

consists of the original .msi file that has been patched with the required service<br />

pack. When deploying <strong>ArcGIS</strong> <strong>Engine</strong> Runtime in this particular deployment<br />

method, you cannot launch the original setup.msi file followed by a .msp file<br />

(service pack file).<br />

On your CD you must provide an admin installation of <strong>ArcGIS</strong> <strong>Engine</strong> Runtime<br />

with the service pack applied. This will create a patched setup.msi file that you<br />

can install on your user’s machine. The patched setup.msi file will contain both<br />

the entire <strong>ArcGIS</strong> <strong>Engine</strong> Runtime files and those files updated by the service<br />

pack. This is required for those users that do not have <strong>ArcGIS</strong> <strong>Engine</strong> Runtime<br />

and the required service pack on their machine.<br />

To create an admin installation:<br />

a. Install <strong>ArcGIS</strong> <strong>Engine</strong> Runtime using the following command line:<br />

msiexec /a \setup.msi<br />

b. Apply the service pack to this admin location using the command line (in the<br />

following example, <strong>Engine</strong> 9.0 service pack 1 is applied): msiexec /a \setup.msi /p <strong>ArcGIS</strong><strong>Engine</strong>90sp1.msp REINSTALL=ALL<br />

REINSTALLMODE=omus<br />

c. Copy the entire contents of your admin installation—which will now have<br />

the service pack applied—to your application’s CD for redistribution.<br />

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

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

Saved successfully!

Ooh no, something went wrong!