Phần mềm arcgis engine runtime 9.3 bao nhiêu tiền năm 2024
This topic introduces the technology used to create the installation program for ArcGIS Engine Runtime and discusses various installation mechanisms. In this topicAbout the ArcGIS Engine installation programThe ArcGIS Engine Runtime installation program, or setup, was created using the Windows Installer (MSI) technology from Microsoft. This technology uses a package file (.msi) and a client-side installer service (msiexec.exe). Windows Installer is a service that runs on your operating system. This service enables the operating system to manage the installation and uses the information contained within the package file to install the software. The msiexec.exe program is a component of Windows Installer. Msiexec.exe uses a dynamic-link library (msi.dll) to read the package files (.msi), apply transforms (.mst), and incorporate command-line options. An MSI-based setup consists of features. A feature is an individual portion of the application's total functionality that can be installed independently. The ArcGIS Engine setup consists of installation features shown in the following table: Feature Descriptive feature name Description ArcEngine ArcGIS Engine ArcGIS Engine DotNetRuntime ArcGIS Engine .NET .NET assemblies JavaRuntime ArcGIS Engine Java Java archives Python Python Python 2.5.1 and Numerical Python 1.1 All ArcGIS Engine software-based applications depend on an installation of the ArcEngine feature. Applications that are built using the Java and .NET application programming interfaces (APIs) for ArcGIS Engine require installations of the JavaRuntime and DotNetRuntime features, in addition to the ArcEngine feature. ArcGIS Engine is supported on Windows 2000, Windows XP Professional, Windows 7, Windows Vista, Windows Server 2008 Standard, Windows Server 2008 R2, and Windows 2003 Server. For additional or updated information regarding ArcGIS Engine Runtime system requirements, see the ESRI Support Center at http://support.esri.com . Installing ArcGIS EngineAs previously mentioned, ArcGIS Engine software-based applications require that ArcGIS Engine Runtime be installed on the end user's machine. Installation of the runtime can be handled in one of the following two ways:
You cannot redistribute individual ArcGIS Engine Runtime files. The installation mechanisms discussed in this document are the only means of installing ArcGIS Engine Runtime files . The following outlines the general requirements for the installation of the ArcGIS Engine Runtime—regardless of which installation mechanism you choose—and the necessary steps to install the runtime successfully using your chosen mechanism. General installation requirements Irrespective of the installation method you chose for ArcGIS Engine Runtime, you should be aware of the following:
End user installs ArcGIS Engine In this case, the end user installs the ArcGIS Engine directly from the CD ESRI provided with the ArcGIS Engine product or from a CD that you created by copying the contents of the ArcGIS Engine CD image. Perform the following steps or provide similar instructions to your end users:
If the ArcGIS Engine software-based application to be installed requires Java, choose the Custom option to manually select the JavaRuntime feature or choose the Complete option to install all ArcGIS Engine Runtime installation features.
The installation of ArcGIS Engine Runtime is now complete. If needed, proceed to the installation steps for Installing an ArcGIS Engine Runtime service pack If your application also requires an ArcGIS Engine service pack, you can either instruct your user to download the service pack from the ESRI Support Center or you can provide the service pack (.msp file) on the ArcGIS Engine Runtime CD. Distribute the following steps or provide similar instructions to your users—the steps assume ArcGIS Engine Runtime is already on the target machine:
ArcGIS Engine Runtime setup included in the application's installation program The second way to distribute the ArcGIS Engine Runtime is to incorporate its setup in your ArcGIS Engine software-based application's installation program. This is possible because ArcGIS Engine Runtime can be installed without a graphical user interface by running the setup using Windows Installer command line parameters. This process utilizes the .msi file and client-side installer service (msiexec.exe) command line parameters. The following table shows some available msiexec.exe command line parameters: Option Parameters Description /I Package | ProductCode Installs or configures a product /a Package Administrative installation option—installs a product on the network /x Package | ProductCode Uninstalls a product /q n | b | r | f Sets user interface (UI) level:
The!option is available with Windows Installer 2.0 and works only with a basic UI. It is not valid with a full UI. /? or /h Displays copyright information for Windows Installer. Option parameters description These commands can be used to perform various installation functions. The available features to install are specified with the ADDLOCAL parameter. As previously shown , ArcGIS Engine has the following installation features: Feature Descriptive feature name Description ArcEngine ArcGIS Engine ArcGIS Engine DotNetRuntime ArcGIS Engine .NET Runtime .NET assemblies JavaRuntime ArcGIS Engine Java Runtime Java archives Python Python Python 2.5.1 and Numerical Python 1.0.3 The following shows some example functions and the commands used to achieve them:
Command line parameters can be used to include the ArcGIS Engine Runtime setup in your application's setup in any of the following three methods: If your application requires an ArcGIS Engine Runtime service pack, one of the following standard command lines can be used to apply a service pack (these examples are for installing a service pack with the filename ArcGISEngine93sp1.msp ):
In addition to the that apply to any installation of ArcGIS Engine Runtime, the following are applicable to installs that are incorporated in other applications:
Setup process steps Include the following steps in the setup process:
If the key exists, ArcGIS Engine Runtime has been installed on the target machine, and you may not need to launch the ArcGIS Engine Runtime setup. Continue to Step 1b if your application requires the Java feature or Step 1c if your application requires the .NET feature. Otherwise, proceed with the installation of your application. If the key does not exist, ArcGIS Engine Runtime has not been installed. Continue to Step 1b if your application requires the Java feature or Step 1c if your application requires the .NET feature. Otherwise, proceed to Step 2.
The JAVA_Support registry key will have a data value of TRUE if the ArcGIS Engine Runtime Java feature is installed. Proceed to Step 1c if your application requires the .NET feature. Otherwise, proceed with the installation of your application. If the value displayed is FALSE, the Java feature is not installed. Proceed to Step 1c if your application requires the .NET feature. Otherwise, proceed to Step 2 to install the Java feature.
If your application requires the Java Runtime or DotNetRuntime features of the ArcGIS Engine Runtime, install them using the ADDLOCAL Windows Installer command in your script, for example, ADDLOCAL=DotNetRuntime or ADDLOCAL=JavaRuntime. If you choose to install only the DotNetRuntime or JavaRuntime feature and the core ArcGIS Engine Runtime (ArcEngine feature) does not exist on the target machine, the setup will automatically install the ArcEngine feature as well as the Java and .NET features. The .NET feature is included in the complete install if the .NET Framework is detected on the target machine. Launching the installation at the end of an MSI-based setup Launching the ArcGIS Engine Runtime installation program at the end of an MSI-based setup is an example of installing the necessary ArcGIS Engine Runtime features without having to perform the installation directly from the ArcGIS Engine Runtime CD provided by ESRI. The following example discusses this installation mechanism. Example 1: ArcGIS Engine Runtime 9.3 is required In this example, the ArcGIS Engine Runtime setup launches once the Finish button is clicked to complete the installation of your application. The MSI authoring tools included with Wise for Windows Installer are used to add custom actions behind the Finish button. This example assumes that the ArcGIS Engine Runtime setup resides in the same location as your application's setup program. In this case, setup.exe resides in a folder named ArcEngine. Perform the following steps to launch the setup.exe file for ArcGIS Engine Runtime when it is located in an ArcEngine folder on your application's media:
Example 2: ArcGIS Engine Runtime and a service pack are required In this example, ArcGIS Engine Runtime and a service pack are required by your application. This example results in the following two scenarios:
Scenario 1: Provide admin installation P rovide an admin installation on the CD that consists of the original .msi file that has been patched with the required service pack. When deploying ArcGIS Engine Runtime with this deployment method, you do not launch the original setup.msi file followed by a .msp file (service pack file). On your CD, you must provide an admin installation of ArcGIS Engine Runtime with the service pack applied. This creates a patched setup.msi file that you can install on your user's machine. The patched setup.msi file will contain both the entire ArcGIS Engine Runtime files and those files updated by the service pack. This is required for those users that do not have ArcGIS Engine Runtime and the required service pack. To create an admin installation:
Do the following steps to launch the setup.exe file for ArcGIS Engine Runtime when it is located in an ArcEngine folder on your application's media:
Scenario 2: Provide required service pack Provide the required ArcGIS Engine Runtime service pack (.msp file) on the CD. When deploying ArcGIS Engine Runtime in this particular deployment method, your user will have ArcGIS Engine Runtime already on the target machine and only the service pack is required. Do the following steps to launch the ArcGIS Engine Runtime service pack when it's on your application's media:
These three custom actions should execute only if the LaunchSP property does not equal true. Launching the ArcGIS Engine Runtime installation in a scripted setup A second way to install the ArcGIS Engine Runtime in your application is with a scripted setup that utilizes the available command line parameters. The following code example was created using the Wise InstallMaster setup authoring software—it includes the installation of ArcGIS Engine Runtime and service pack 1: Rem Set variable Set variable MSI_PATH to Set variable MSP_PATH to Rem launch ArcGIS Engine Runtime setup program silently – No UI Execute %SYS32%\msiexec.exe /i %MSI_PATH% /qn (Wait) Rem launch ArcGIS Engine Runtime service pack silently – No UI Execute %SYS32%\msiexec.exe /p %MSP_PATH% /qn (Wait) Launching the ArcGIS Engine Runtime installation in a batch file Another way the ArcGIS Engine Runtime setup can be combined with your application's installation program is in batch files. Again, the following code example takes advantage of the available command line parameters and implements them in a batch file rather than a scripted setup —t his code example includes the installation of ArcGIS Engine Runtime and service pack 1: REM ############################ REM Set variables SET MSI_PATH= SET MSP_PATH= REM ############################ REM Launch MSI Silently - NO UI msiexec.exe /i "%MSI_PATH%" /qn msiexec.exe /p "%MSP_PATH%” /qn REM Launch MSI Silently - Reduced UI msiexec.exe /i "%MSI_PATH%" /qb msiexec.exe /p "%MSP_PATH%" /qb REM Launch MSI Silently - No UI except for a modal dialog box displayed at the end. msiexec.exe /i "%MSI_PATH%" /qn+ msiexec.exe /p "%MSP_PATH%" /qn+ The following code examples also show the use of a batch file; however, these show the command line parameters that should be used to install the ArcGIS Engine JavaRuntime or DotNetRuntime features:
ArcGIS Engine Runtime menu shortcuts By default, a complete installation of ArcGIS Engine Runtime creates the following shortcuts on the ArcGIS menu (accessed from Start, All Programs or from Start, Programs):
See the following screen shot: The following command line parameters provide options to display or not display the shortcuts on the ArcGIS menu:
In the following example, ArcGIS Engine Runtime is installed silently without shortcuts: |