Il est également possible d’installer et de désinstaller ArcGIS Pro à partir de la ligne de commande.
Install ArcGIS Pro silently using command line parameters
ArcGIS Pro can be installed without a user interface (UI) by running the setup using Windows Installer command line parameters.
ArcGIS Pro installation command line parameters
The following are the command line parameters that can be used when executing ArcGISPro.msi. Use these with the MSI command line options as needed. The parameter names are case sensitive and should be used as defined below. The parameter values, however, are not case sensitive except where noted.
INSTALLDIR
The ArcGIS Pro installation location. If not specified, the installation location is %System Drive%\Program Files\ArcGIS\Pro for a per-machine installation, and %System Drive%\%USERPROFILE%\AppData\Local\Programs\ArcGIS\Pro for a per-user instance (see the ALLUSERS property).
ALLUSERS
Defines the installation context of the ArcGIS Pro setup, in which ALLUSERS=1 specifies a per-machine installation and ALLUSERS=2 is a per-user instance. If this parameter is not specified, the installation defaults to per user.
If a user without administrative privileges attempts to set ALLUSERS=1, the installation fails.
ENABLEEUEI
Specifies whether to enable participation in the Esri User Experience Improvement program. The default value is 1, which enables participation. To opt out of participation, specify ENABLEEUEI=0.
ACCEPTEULA
This property is required to accept the End User License Agreement during a silent installation. Specify ACCEPTEULA=YES to agree to the EULA and install the software. The software will not install if you specify NO or omit this property.
BLOCKADDINS
If specified, the BlockAddins registry value allows system administrators to configure the types of add-ins that ArcGIS Pro will load. It is created under HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro\Settings.
This property is only read during a per-machine installation; it is ignored if specified for a per-user setup.
Setting BLOCKADDINS=0 will load all add-ins, regardless of whether they have digital signatures. Setting it to 1 will only load add-ins that are digitally signed by a trusted certificate authority; 2 will only load add-ins that have been published by Esri; 3 will only load add-ins from the administrator folders and those published by Esri; 4 will not load or execute add-ins; and 5 will only load add-ins from the administrator folders. The default is 0.
Learn more about developing add-ins for ArcGIS Pro. Learn more about creating administrator folders for add-ins in the registry.
CHECKFORUPDATESATSTARTUP
For per-machine installations only, set this property to 0 to disable automatic update notifications of ArcGIS Pro. If not specified, the property defaults to 1.
ADDLOCAL
This optional property is used to specify the feature or features to install. Set ADDLOCAL=Pro to install only the ArcGIS Pro feature, set it to ProIntel to install only the ArcGIS Pro Intelligence configuration, or set it to ALL to install both. The default is Pro.
Remarque :
The property values for this parameter are case sensitive.
ADMIN_SETTINGS_PATH
ArcGIS Pro allows administrators to set default values for a select number of application settings in a .settingsConfig file. For per-machine installations only, set this property to the location where the .settingsConfig file resides. For more information, see Manage application settings.
ESRI_LICENSE_HOST
Specifies the host name of the license manager. Multiple license servers can be defined by separating the host names with a semicolon, for example, ESRI_LICENSE_HOST=@primaryLM;@backupLM2;@backupLM3.
SOFTWARE_CLASS
The value can be VIEWER, EDITOR, or PROFESSIONAL.
AUTHORIZATION_TYPE
Use SINGLE_USE to install ArcGIS Pro as a Single Use seat, use CONCURRENT_USE to install it as a Concurrent Use seat, and use NAMED_USER for a Named User license.
LOCK_AUTH_SETTINGS
During a silent, per-machine installation of ArcGIS Pro, if the authorization type is defined, this is set to TRUE under HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro\Licensing. When LOCK_AUTH_SETTINGS=TRUE, the licensing settings in the registry apply to all ArcGIS Pro users on that machine; an individual user cannot make changes. To allow ArcGIS Pro users on the machine to define their own authorization settings through the ArcGIS Pro application, set LOCK_AUTH_SETTINGS=FALSE. This property does not apply to a per-user installation.
ARCGIS_CONNECTION
Specifies whether a connection to www.arcgis.com should be available from the ArcGIS Pro Portals page. To include the connection, set this property to TRUE. If set to FALSE, the connection will not appear on the Portals page.
PORTAL_LIST
To add one or more portal connections to the Portals page, set PORTAL_LIST="<portalURL1>;<portalURL2>". Use semicolons to separate portal URLs.
If ARCGIS_CONNECTION is set to FALSE, this property cannot contain arcgis.com.
Remarque :
If your portal supports HTTPS, it is recommended that the PORTAL_LIST URLs use HTTPS.
LICENSE_URL
To specify the URL of the Named User licensing portal, set LICENSE_URL=<portalURL>.
If ARCGIS_CONNECTION is set to FALSE, LICENSE_URL cannot contain arcgis.com. To use this property, AUTHORIZATION_TYPE must be set to NAMED_USER.
Perform a typical silent installation of ArcGIS Pro
Run the following from a command line to install ArcGIS Pro in the per-machine (all users) context:
msiexec.exe /i <setup staging location>\ArcGISPro.msi ALLUSERS=1 INSTALLDIR="C:\MyArcGISPro\" ADDLOCAL=Pro ACCEPTEULA=YES /qbRemarque :
The /qb switch provides the basic UI of the progress status and error handling, /qr provides a reduced UI, and /qn provides no UI at all. For full details, refer to the MSDN Command-Line Options topic.
Remarque :
When defining PORTAL_LIST or LICENSE_URL, surround the specified value or values with double quotes ("), for example, PORTAL_LIST="https://maps.myarcgis.com;https://www.arcgis.com".
Additional examples of silent installation of ArcGIS Pro
Run the following from a command line to install ArcGIS Pro with licensing configurations:
Named User license command line
Named User licensing for per-machine installations
msiexec.exe /i <Path to msi> /qb ALLUSERS=1 SOFTWARE_CLASS=PROFESSIONAL AUTHORIZATION_TYPE=NAMED_USER LICENSE_URL="<portalURL>"
Named User licensing for per-user installations
msiexec.exe /i <Path to msi> /qb ALLUSERS=2 SOFTWARE_CLASS=PROFESSIONAL AUTHORIZATION_TYPE=NAMED_USER LICENSE_URL="<portalURL>"
Concurrent Use license command line
Concurrent Use licensing for per-machine installations (Locked)
msiexec.exe /i <Path to msi> /qb ALLUSERS=1 ESRI_LICENSE_HOST=<yourlicenseserver> SOFTWARE_CLASS=PROFESSIONAL AUTHORIZATION_TYPE=CONCURRENT_USE
If all three properties (ESRI_LICENSE_HOST, SOFTWARE_CLASS, and AUTHORIZATION_TYPE) are used, the installation will also include the LOCK_AUTH_SETTINGS parameter. This means all licensing registry keys are created in the HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro\Licensing hive. ArcGIS Pro will always use the license setting in this hive when it starts. In addition, the option to change to another license type will be disabled.
Concurrent Use licensing for per-machine installations (Unlocked)
msiexec.exe /i <Path to msi> /qb ALLUSERS=1 ESRI_LICENSE_HOST=<yourlicenseserver> SOFTWARE_CLASS=PROFESSIONAL AUTHORIZATION_TYPE=CONCURRENT_USE LOCK_AUTH_SETTINGS=FALSE
With this configuration, ArcGIS Pro checks the license settings in the HKEY_CURRENT_USER\SOFTWARE\ESRI\ArcGISPro\Licensing hive at startup. If the license settings exist, ArcGIS Pro will use them. If the settings do not exist, ArcGIS Pro copies the contents of the Licensing registry key from HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcGISPro\Licensing to HKEY_CURRENT_USER\SOFTWARE\ESRI\ArcGISPro\Licensing and opens using those settings. In addition, the user can change licensing options.
Concurrent Use licensing for per-user installations
msiexec.exe /i <Path to msi> /qb ALLUSERS=2 ESRI_LICENSE_HOST=<yourlicenseserver> SOFTWARE_CLASS=PROFESSIONAL AUTHORIZATION_TYPE=CONCURRENT_USE
Remarque :
The ArcGIS Pro Licensing Service setup is required for a per-user installation of ArcGIS Pro to work offline with a Concurrent Use license.
Single Use license command line
Single Use licensing for per-machine installations
Install setup
msiexec.exe /i <Path to msi> /qb ALLUSERS=1 SOFTWARE_CLASS=PROFESSIONAL AUTHORIZATION_TYPE=SINGLE_USE
Authorize product
"%ProgramFiles%\ArcGIS\Pro\bin\SoftwareAuthorizationPro.exe" /LIF <Location of prvc> /s /Ver 10.8
Single Use licensing for per-user installations
Install setup
msiexec.exe /i <Path to msi> /qb ALLUSERS=2 SOFTWARE_CLASS=PROFESSIONAL AUTHORIZATION_TYPE=SINGLE_USE
Install ArcGIS Pro Licensing Service setup
msiexec.exe /i <Path to msi> /qb
Authorize product
"%ProgramFiles%\ArcGIS\Pro\bin\SoftwareAuthorizationPro.exe" /LIF <Location of prvc> /s /Ver 10.8
Installed help command line
Installed help for per-machine installations: ArcGIS Pro and ArcGIS Pro Intelligence configuration
msiexec.exe /i <Path to ArcGISProHelp.msi> /qb ALLUSERS=1 ADDLOCAL=ALL
To install only ArcGIS Pro Intelligence configuration help, set ADDLOCAL=ArcGISProIntelHelp.
Installed help for per-user installations: ArcGIS Pro only
msiexec.exe /i <Path to ArcGISProHelp.msi> /qb
Désinstaller les produits ArcGIS Pro en mode silencieux
Pour désinstaller un produit en mode silencieux, utilisez la commande Windows Installer suivante :
msiexec.exe /x <{product code}> /qb
Les codes produit de la suite ArcGIS Pro se trouvent dans le registre sous HKEY_LOCAL_MACHINE\SOFTWARE\Esri (pour une installation par machine) ou HKEY_CURRENT_USER\SOFTWARE\Esri (pour une installation par utilisateur), dans la valeur de chaîne ProductCode sous la clé de registre du produit.
Produit | Version | Code produit |
---|---|---|
ArcGIS Pro | 1.0 | {E7549454-0E98-4FD3-A802-4203391A544F} |
1.0.2 | {C3E96E9C-8FFD-441E-B2D8-A3D517FF320C} | |
1.1 | {E6A90F07-DFF5-43A2-A6A0-75B338A3FE18} | |
1.2 | {42FEFFA4-9449-4712-A9D6-D207F9B040DC} | |
1.3 | {3D77DC61-4F04-4A38-B565-5120F736699F} | |
1.4 | {05090170-8969-44EB-906D-65909345664F} | |
2.0 | {28A4967F-DE0D-4076-B62D-A1A9EA62FF0A} | |
2.1 | {0368352A-8996-4E80-B9A1-B1BA43FAE6E6} | |
2.2 | {B5E1FB35-5E9D-4B40-ABA5-20F29A186889} | |
2.3 | {9CB8A8C5-202D-4580-AF55-E09803BA1959} | |
2.4 | {E3B1CE52-A1E6-4386-95C4-5AB450EF57BD} | |
2.5 | {0D695F82-EB12-4430-A241-20226042FD40} | |
2.6 | {612674FE-4B64-4254-A9AD-C31568C89EA4} | |
2.7 | {FBBB144A-B4BE-49A0-95C4-1007E3A42FA5} | |
2.8 | {26C745E6-B3C1-467B-9523-727D1803EE07} | |
2.9 | {AD53732E-507C-4A7F-B451-BE7EA01D0832} | |
Aide hors connexion ArcGIS Pro | 1.0 | {1996F49D-D39C-4249-A4B0-2F74362E3AEF} |
1.1 | {AE7E6C01-2DEF-4182-9FEC-93DBB804C0C3} | |
1.2 | {50B4C28F-54EA-4F67-A9FD-C5CA622D45C7} | |
1.3 | {C41BEC9D-90A1-4D8C-ADE2-E713A6BDB6A5} | |
1.4 | {D62609CF-ABFF-4DAC-A326-74450D27AE8C} | |
2.0 | {BD50C978-ABC5-4987-96BD-C8BAFA5CD6D5} | |
2.1 | {BE56B59B-43D0-4B75-8AEC-4FACB6D3979A} | |
2.2 | {513F5FDB-ADDB-4FA8-B5D9-9D0A8D0ED33B} | |
2.3 | {D54ECF1D-918D-47AB-B9A5-353799C850D0} | |
2.4 | {23511490-5EE9-43EC-A0A8-4BA3574B2FC7} | |
2.5 | {FECF0B3D-5432-4057-80E1-9D632A3A5B67} | |
2.6 | {F17887C3-31D5-402B-85D4-E8858CA50597} | |
2.7 | {73816013-8E2B-4D1D-A3D6-429FC6CCC717} | |
2.8 | {63C9F5CD-FED1-48A4-A34A-4B0CD7403BDD} | |
2.9 | {B61F0851-B26C-433B-995F-542E54AB144A} | |
ArcGIS Pro SDK | 1.1 | {9085867D-27EF-4EB4-9DB9-D9E4FD39A983} |
1.2 | {955849E0-A873-4C71-9066-76B2494D8B91} | |
1.3 | {1DF9DEB2-0F84-494F-87F2-3A3A8A800E01} | |
1.4 | {84217415-BBB7-4E15-8A47-3673E6C96746} | |
2.0 et version ultérieure | Aucun MSI depuis la version 2.0. VSIX uniquement. | |
ArcGIS Pro Python | 1.0 | {FCF420D1-5597-4AD7-803B-0F6184A3E2E6} |
1.1 | {0CE06A42-FFF2-4AF1-9B3F-346462AE2140} | |
1.2 | {7AEB78CA-A57D-4E01-99DA-837FB0E727D6} |
Rubriques connexes
Vous avez un commentaire à formuler concernant cette rubrique ?