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

The following examples also show the use of a batch file; however, these illustrate<br />

the command-line parameters that should be used to install the <strong>ArcGIS</strong><br />

<strong>Engine</strong> Runtime Java or .NET features, respectively:<br />

JavaRuntime:<br />

REM ############################<br />

REM Set variables<br />

SET MSI_PATH=\Setup.msi<br />

REM ############################<br />

REM Launch MSI Silently - NO UI<br />

msiexec.exe /i "%MSI_PATH%" /qn ADDLOCAL=JavaRuntime<br />

In the example on the right, if .NET<br />

Framework 1.1 is not detected on the machine,<br />

the DotNetRuntime feature will not be installed.<br />

DotNetRuntime:<br />

REM ############################<br />

REM Set variables<br />

SET MSI_PATH=\Setup.msi<br />

REM ############################<br />

REM Launch MSI Silently - NO UI<br />

msiexec.exe /i "%MSI_PATH%" /qn ADDLOCAL=DotNetRuntime<br />

ARCGIS ENGINE RUNTIME START MENU SHORTCUTS<br />

By default, a complete installation of <strong>ArcGIS</strong> <strong>Engine</strong> Runtime 9.1 or later will<br />

create the following shortcuts on the <strong>ArcGIS</strong> start menu:<br />

• Software authorization<br />

• Authorization summary<br />

The following command-line parameters provide options to not display these<br />

shortcuts on the start menu.<br />

SHORTCUTS = YES This option will install the shortcuts.<br />

SHORTCUTS = NO This option will not install the shortcuts.<br />

In the following example, <strong>ArcGIS</strong> <strong>Engine</strong> Runtime is installed silently without<br />

shortcuts:<br />

msiexec.exe /i \setup.msi /qn SHORTCUTS=NO<br />

UNINSTALLING ARCGIS ENGINE RUNTIME<br />

These are some points to consider before uninstalling <strong>ArcGIS</strong> <strong>Engine</strong> Runtime:<br />

• <strong>ArcGIS</strong> <strong>Engine</strong> Runtime should be uninstalled using the Control Panel, not by<br />

deleting files from disk.<br />

• Do not uninstall <strong>ArcGIS</strong> <strong>Engine</strong> Runtime during the uninstallation of your<br />

developed application.<br />

• You should recommend strongly to your users that they manually uninstall<br />

<strong>ArcGIS</strong> <strong>Engine</strong> Runtime only when they know there are no third-party applications<br />

using it.<br />

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