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

4. Use the Execute Program from Path type of custom action. Set the Property<br />

in this custom action to MSIEXEC_PATH. The path to execute the program<br />

from is the path specified in the Property field, in this case MSIEXEC_PATH.<br />

The command line will be [MSP_PATH]. MSP_PATH is the path to the<br />

<strong>ArcGIS</strong> <strong>Engine</strong> Runtime service pack 1 .msp file that will be available on the<br />

media. Using the above syntax, MSIEXEC_PATH will be<br />

[SystemFolder]msiexec.exe. MSP_PATH will be /p \<strong>ArcGIS</strong><strong>Engine</strong>90sp1.msp /qn. These two properties will be defined in<br />

the Exit dialog box’s Finish button.<br />

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

behind the Finish button control.<br />

6. The first action sets the MSIEXEC_PATH property to<br />

[SystemFolder]msiexec.exe.<br />

7. The second action sets the MSP_PATH to /p<br />

[SourceDir]Arc<strong>Engine</strong>\<strong>ArcGIS</strong><strong>Engine</strong>90sp1.msp /qn. MSP_PATH will<br />

change depending on where the <strong>ArcGIS</strong> <strong>Engine</strong> Runtime service pack is<br />

located on the media. In this example, <strong>ArcGIS</strong><strong>Engine</strong>90sp1.msp is located on<br />

the CD in a folder named Arc<strong>Engine</strong>.<br />

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