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

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

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

behind the Finish button control.<br />

In the example on the right, MSI_PATH will<br />

change depending on where the <strong>ArcGIS</strong> <strong>Engine</strong><br />

Runtime setup is located on the media. In this<br />

example, Setup.msi is located on the CD in a<br />

folder named Arc<strong>Engine</strong>.<br />

The first action sets the MSI_PATH property to<br />

[SourceDir]Arc<strong>Engine</strong>\setup.exe. This will change depending on where the<br />

<strong>ArcGIS</strong> <strong>Engine</strong> Runtime setup is located on the media. In this example,<br />

setup.exe is located on the CD in a folder named Arc<strong>Engine</strong>.<br />

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