Views: 5.3k  |  Created: 11/11/2010

Average Rating: 0
ArcGIS has 1 inventory records, 2 Questions, 1 Blogs and 4 links. Please help add to this by sharing more!

Deployment Tips (8)

Most Common Setup Type
Windows Installer (MSI)
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 2 ratings
Most Commonly Reported Deployment Method
Windows Installer Command Line (No MST)
or cancel
1
Note
You can create a provisioning file (.prvc) that pre-populates information to be used when registering a single user license: http://help.arcgis.com/en/arcgisdesktop/10.0/install_guides/license_manager_guide/index.html#//00790000002s000000.htm

This page also has the command line to execute if you need to silently register an installation using the provisioning file (and an internet connection).
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note
Simply make a administrative install in a network environment:

msiexec /a “path_to.msi” TARGETDIR="path_to_destinantion"

Edit ensuing MSI with Orca and change, under properties table:

Tables\Property\InstallMode\Value: Typical -> Custom
Tables\Property\ESRI_LICENSE_HOST\Value:
Tables\Property\APPMODE\Value: ArcInfo -> ArcView
Tables\Property\SEAT_PREFERENCE\Value: Single -> Float
Tables\Property\SOFTWARE_CLASS\Value: Professional -> Viewer
Tables\Feature\...\Level: 3

If you need to update the MSI with another package or transform, simply command:

msiexec /a [path to administrative image .msi file] /p patch.msp

Cheers!
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note
Simply make a administrative install in a network environment:

msiexec /a “path_to.msi” TARGETDIR="path_to_destinantion"

Edit ensuing MSI with Orca and change, under properties table:

Tables\Property\InstallMode\Value: Typical -> Custom
Tables\Property\ESRI_LICENSE_HOST\Value:
Tables\Property\APPMODE\Value: ArcInfo -> ArcView
Tables\Property\SEAT_PREFERENCE\Value: Single -> Float
Tables\Property\SOFTWARE_CLASS\Value: Professional -> Viewer
Tables\Feature\...\Level: 3

If you need to update the MSI with another package or transform, simply command:

msiexec /a [path to administrative image .msi file] /p patch.msp

Cheers!
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note

For a Landesk batch package I used 3 files:

1. bat script (install_arcgis10_1.bat)

2. zip file containing the installation files (arcgis10_1.zip)

3. 7zip.exe (just download the executable from www.7-zip.org)

The script queries the windows registry for product codes for specific version of ArcGIS, and uninstalls it before running the 10.1 installer (in my case i run a query for 9.2 and 9.3 and uinstall them)  For a full list of ArcGIS uinstall strings (GUID), look here: http://support.esri.com/en/knowledgebase/techarticles/detail/28709

Below is the bat script:

@echo off

:: Arcgis 10.1 installer

::Check for previous versions of Arcgis
::Check for Windows x64
IF EXIST %windir%\SysWOW64\ (

REM Remove ArcGIS 9.2
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1F34839E-4826-4B64-B1B3-42E5AE8DEC5A} >NUL 2>NUL && start /wait MsiExec.exe /qn /x{1F34839E-4826-4B64-B1B3-42E5AE8DEC5A} /Li "c:\UinstallESRI92.txt"
REM Remove ArcGIS 9.3
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5033400B-0977-45AB-94CE-CC135A8E1BBB} >NUL 2>NUL && start /wait MsiExec.exe /qn /x{5033400B-0977-45AB-94CE-CC135A8E1BBB} /Li "c:\UinstallESRI93.txt"
) ELSE (

REM Remove ArcGIS 9.2
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1F34839E-4826-4B64-B1B3-42E5AE8DEC5A} >NUL 2>NUL && start /wait MsiExec.exe /qn /x{1F34839E-4826-4B64-B1B3-42E5AE8DEC5A} /Li "c:\UinstallESRI92.txt"
REM Remove ArcGIS 9.3
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5033400B-0977-45AB-94CE-CC135A8E1BBB} >NUL 2>NUL && start /wait MsiExec.exe /qn /x{5033400B-0977-45AB-94CE-CC135A8E1BBB} /Li "c:\UinstallESRI93.txt"
)
:: Unzip Arcgis installer
start /wait 7za.exe x arcgis10_1.zip -y -oC:\Windows\temp\arcgis10_1

:: Run ArcGIS 10.1 Installer
start /wait C:\Windows\temp\arcgis10_1\setup.exe ESRI_LICENSE_HOST=PATH_TO_YOUR_LICENSE_SERVER /qn

:END
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
A single user activation script looks something like this. The license is machine dependent.

"c:\Program Files (x86)\Common Files\ArcGIS\bin\SoftwareAuthorization.exe" LIF ArcInfoEnterpriseActivation_singleuse_2012.prvc /s

But you can only run it on one machine at a time. You can get away with 1 machine per minute, but there will be some failures. There's also a license server setup.

I wrote a script in autoit to test the license. I don't know how else to do it:

opt("trayicondebug", "1")
opt("wintitlematchmode", "2") ; any substring
run("C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin\ArcCatalog.exe")
if winwait("License", "is not authorized for use.", 60) then
controlclick("License", "is not authorized for use.", "OK")
exit(1)
else
winwait("ArcCatalog")
winclose("ArcCatalog")
endif
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
At a minimum, to install ArcGIS you can make a batch file to run these 3 msi:

Msiexec.exe /I <dir>\Desktop\setup.msi ADDLOCAL=ALL ESRI_LICENSE_HOST="" SOFTWARE_CLASS=Editor /qb

Msiexec.exe /I <dir>\SDK_VBA\VBA\VBAOF11.msi /qb

Msiexec.exe /I <dir>\SDK_VBA\VBA\1033\VBAOF11i.msi /qb

These last lines run the software authorization from a prvc file silently:

CD "C:\Program Files\Common Files\ArcGIS\bin\"
SoftwareAuthorization.exe -s -LIF "C:\Users\pcsetup\Desktop\ArcGis-10\ArcInfo.prvc"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note

Created with version 10.2.1

1) extract the Installer to a Temp location by double-clicking the downloaded installer. Cancel the automated launch when extraction completes.

2) create an AIP with the command line: msiexec /a "setup.msi" TARGETDIR="<temp path>"

3) using Orca create an MST with the following options in the PROPERTY table:

  • ESRI_LICENSE_HOST=<licensing server name>
  • SOFTWARE_CLASS=Viewer or Editor or Professional (depending on your licensing type)
  • SEAT_PREFERENCE=Fixed or Float (depending on your licensing type)
  • REBOOT=ReallySuppress
  • RestartYesNo=No
  • ISCHECKFORPRODUCTUPDATES=0
  • DESKTOP_CONFIG=TRUE
4) perform a normal msiexec /i setup.msi TRANSFORMS=transforms.mst /qn /lie %TEMP%\ArcGIS.log
5) install pre-req's as dependencies (SQL Native, Dot Net) in ConfigMgr or batch installer scripts.
Setup Information:
Setup Type: Windows Installer (MSI)
Deployment Method Used: Windows Installer with Custom Transform (MST)
Deployment Difficulty: Somewhat Easy
Platform(s): Windows
Please log in to comment
-2
Command Line
Here is the uninstall string for ArcGIS 9:
msiexec /qn /X{5033400B-0977-45AB-94CE-CC135A8E1BBB} RebootYesNo="No" Reboot="ReallySuppress"

In SCCM I modified the MSI with Orca as mentioned in the above notes and then set the uninstaller to run first.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

ArcGIS

Version

10

Questions & Answers (2)

Questions & Answers related to ESRI ArcGIS

1
ANSWERS
6
ANSWERS

Blogs (1)

Blog posts related to ESRI ArcGIS

Reviews (0)

Reviews related to ESRI ArcGIS