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 table below illustrates some available msiexec.exe command-line parameters:<br />

Source for the table on the right: http://<br />

msdn.microsoft.com/library/default.asp?url=/<br />

library/en-us/msi/setup/<br />

command_line_options.asp.<br />

For more Windows Installer command parameters,<br />

see http://msdn.microsoft.com.<br />

Option Parameters Description<br />

/l Package | ProductCode Installs or configures a product.<br />

/a<br />

Package Administrative installation option. Installs a product on the network.<br />

/x Package | ProductCode Uninstalls a product.<br />

Sets user interface level.<br />

q<br />

qn<br />

qb<br />

qr<br />

No UI<br />

No UI<br />

Basic UI. Use qb! to hide the Cancel button.<br />

Reduces UI with no modal dialog box displayed at the end of<br />

/q<br />

n | b | r | f<br />

the installation.<br />

qf Full UI and any authored FatalError, UserExit, or Exit modal<br />

dialog boxes at the end.<br />

qn+<br />

qb+<br />

No UI except for a modal dialog box displayed at the end.<br />

Basic UI with a modal dialog box displayed at the end. The<br />

modal box is not displayed if the user cancels the installation.<br />

Use qb+! or qb!+ to hide the Cancel button.<br />

qb- Basic UI with no modal dialog boxes. Please note that /qb+- is<br />

not a supported UI level. Use qb-! or qb!- to hide the<br />

Cancel button.<br />

Note that the ! option is available with Windows Installer 2.0 and works<br />

only with basic UI. It is not valid with full UI.<br />

/? or /h<br />

Displays copyright information for Windows Installer.<br />

These commands can be used to perform various installation functions. The<br />

features available to install are specified with the ADDLOCAL parameter. As<br />

shown earlier, <strong>ArcGIS</strong> <strong>Engine</strong> has the following installation features:<br />

Feature Descriptive Feature Name Description<br />

Arc<strong>Engine</strong><br />

JavaRuntime<br />

DotNetRuntime<br />

<strong>ArcGIS</strong> <strong>Engine</strong><br />

<strong>ArcGIS</strong> <strong>Engine</strong>—Java Runtime<br />

<strong>ArcGIS</strong> <strong>Engine</strong> .NET Runtime<br />

<strong>ArcGIS</strong> <strong>Engine</strong><br />

Java Assemblies<br />

.NET Assemblies<br />

Some example functions and the commands used to achieve them follow:<br />

• A typical installation to a nondefault location without a user interface<br />

Msiexec.exe /i \setup.msi /qn InstallDir=C:\Mysetup<br />

• A typical installation to a nondefault installation location with a basic user<br />

interface (progress bar)<br />

Msiexec.exe /i \setup.msi /qb InstallDir=C:\Mysetup<br />

• A complete installation to the default installation location without a user<br />

interface<br />

Msiexec.exe /i \setup.msi /qn ADDLOCAL=All<br />

• A custom installation without a user interface consisting of the <strong>ArcGIS</strong><br />

<strong>Engine</strong> and .NET installation features<br />

Msiexec.exe /i \setup.msi /qn<br />

ADDLOCAL=Arc<strong>Engine</strong>,DotNetRuntime<br />

These command-line parameters can be used to include the <strong>ArcGIS</strong> <strong>Engine</strong><br />

Runtime setup in your application’s setup in any of the following three methods—at<br />

the end of an MSI-based setup, within a batch file, or within a scripted<br />

setup. Each will be discussed in more detail later in this section.<br />

If your application requires an <strong>ArcGIS</strong> <strong>Engine</strong> Runtime service pack, the following<br />

standard command lines can be used to apply a service pack (these examples<br />

are for installing <strong>ArcGIS</strong> <strong>Engine</strong> Runtime 9.0 service pack 1):<br />

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