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 />

Follow these steps to launch the setup.exe file for <strong>ArcGIS</strong> <strong>Engine</strong> Runtime when<br />

it’s located in an Arc<strong>Engine</strong> folder on your application’s media:<br />

1. Create Properties MSI_PATH and Arc<strong>Engine</strong>Exists and initialize them to 1 in<br />

the Property table.<br />

2. Perform a system check for <strong>ArcGIS</strong> <strong>Engine</strong> Runtime at the beginning of your<br />

setup program. The system check should search for the RealVersion and<br />

SPNumber registry key and set the property Arc<strong>Engine</strong>Exists to True if the<br />

registry values returned match your requirement.<br />

3. Create a custom action called Launch_<strong>Engine</strong>_MSI. Use the Execute Program<br />

From Path type of custom action. Set the Property in this custom action to<br />

MSI_PATH. The path to execute the program from is the path specified in the<br />

Property field—in this case, MSI_PATH. Leave Command Line blank, as<br />

setup.exe is being launched.In the Exit dialog box of your application’s setup<br />

program, add two actions behind the Finish button control.<br />

In the Exit dialog box of your application’s setup program, add two actions<br />

behind the Finish button control.<br />

474 • <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!