Select to view content in your preferred language

Windows GeoEvent 11.3 installer upgrade issue

107
0
Sunday
AndyArismendi1
New Contributor III

Issue:

I am encountering problems upgrading Windows GeoEvent from version 11.2 to 11.3. GeoEvent 11.2 was installed fresh (i.e., 11.3 is the first upgrade). Previously, when upgrading GeoEvent from 11.1 to 11.2, I did not experience any issues.

The problem occurs with both the GUI and silent command line installation methods. During installation, the ArcGIS Server installation directory is not populated correctly. The path shown in the GeoEvent installer GUI and the MSI log created during command line installation is incorrect.

Incorrect Path:

The incorrect path being used is <LETTER>:\GeoEvent\, while it should be the full path to ArcGIS Server, for example: <LETTER>:\Program Files\ArcGIS\Server\GeoEvent\.

Troubleshooting:

To investigate the issue, I ran Sysinternals Procmon during installation. This revealed that msiexec.exe was reading the correct values from the registry (HKLM\SOFTWARE\ESRI\Server11.3\InstallDir - L:\Program Files\ArcGIS\Server) but was still using an incorrect path.

Workaround (Partial):

I was able to partially bypass this problem by running the GeoEvent installer via command line and setting the INSTALLDIR property to the location of ArcGIS Server. However, this led to another issue where a custom action failed to set permissions on directories.

Second Issue:

It appears that the username is empty as indicated by the line with ResolveSidForAccountName, which appears to be causing the custom action to fail while setting permissions on directories. Similar to the previous issue, msiexec.exe read the correct username value from Windows service ObjectName key in the registry (HKLM\System\CurrentControlSet\Services\ArcGIS Server\ObjectName - <domain>\<username>), so I don't know why it's being logged as empty during the custom action permission operation.

Installer Log:

Here is a snippet of the installer log at debug level, showing the custom action failure to set permissions and the empty username:

MSI (s) (3C:48) [04:12:20:120]: Executing op: ActionStart(Name=ISLockPermissionsInstall,Description=Applying permissions information for objects...,)
Action 4:12:20: ISLockPermissionsInstall. Applying permissions information for objects...
MSI (s) (3C:48) [04:12:20:132]: Executing op: CustomActionSchedule(Action=ISLockPermissionsInstall,ActionType=3073,Source=BinaryData,Target=ISLockPermissionsInstallAction,CustomActionData=C:\Users\BCCSAD~1\AppData\Local\Temp\wac8D17.tmp*L:\Program Files\ArcGIS\Server\assets\|CreateFolder|||1880031743|0*C:\ProgramData\Esri\GeoEvent\|CreateFolder|||1880031743|8*L:\Program Files\ArcGIS\Server\data\|CreateFolder|||1880031743|0*L:\Program Files\ArcGIS\Server\deploy\|CreateFolder|||1880031743|8*L:\Program Files\ArcGIS\Server\etc\|CreateFolder|||1880031743|0*L:\Program Files\ArcGIS\Server\gateway\etc\|CreateFolder|||1880031743|0*C:\ProgramData\Esri\GeoEvent-Gateway\|CreateFolder|||1880031743|0*L:\Program Files\ArcGIS\Server\lib\|CreateFolder|||1880031743|0*L:\Program Files\ArcGIS\Server\gateway\lib\|CreateFolder|||1880031743|0*L:\Program Files\ArcGIS\Server\License\|CreateFolder|||1880031743|8*L:\Program Files\ArcGIS\Server\gateway\log\|CreateFolder|||1880031743|0*L:\Program Files\ArcGIS\Server\rest-support\|CreateFolder|||1880031743|8*L:\Program Files\ArcGIS\Server\system\|CreateFolder|||
MSI (s) (3C:48) [04:12:20:145]: Creating MSIHANDLE (452) of type 790536 for thread 25416
MSI (s) (3C:30) [04:12:20:152]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIBA9.tmp, Entrypoint: ISLockPermissionsInstallAction
MSI (s) (3C!68) [04:12:20:187]: Creating MSIHANDLE (453) of type 790531 for thread 13928
InstallShield 4:12:20: ResolveSidForAccountName: looking up account name ''
MSI (s) (3C!68) [04:12:20:201]: Closing MSIHANDLE (453) of type 790531 for thread 13928
MSI (s) (3C!68) [04:12:20:206]: Creating MSIHANDLE (454) of type 790531 for thread 13928
InstallShield 4:12:20: Getting existing security descriptor for 'L:\Program Files\ArcGIS\Server\assets\'
MSI (s) (3C!68) [04:12:20:218]: Closing MSIHANDLE (454) of type 790531 for thread 13928
MSI (s) (3C!68) [04:12:20:227]: Creating MSIHANDLE (455) of type 790531 for thread 13928
InstallShield 4:12:20: Failed to set explicit access for new ACL, last error: 0x00000057
MSI (s) (3C!68) [04:12:20:240]: Closing MSIHANDLE (455) of type 790531 for thread 13928
MSI (s) (3C!68) [04:12:20:244]: Creating MSIHANDLE (456) of type 790531 for thread 13928
InstallShield 4:12:20: Failed to apply permissions for object 'L:\Program Files\ArcGIS\Server\assets\', error 0x00000057
MSI (s) (3C!68) [04:12:20:255]: Closing MSIHANDLE (456) of type 790531 for thread 13928
MSI (s) (3C!68) [04:12:20:262]: Creating MSIHANDLE (457) of type 790531 for thread 13928
Error 27555. Error attempting to apply permissions to object 'L:\Program Files\ArcGIS\Server\assets\'. System error: The parameter is incorrect.
 (87)
MSI (s) (3C!68) [04:23:17:189]: Product: ArcGIS GeoEvent Server 11.3 -- Error 27555. Error attempting to apply permissions to object 'L:\Program Files\ArcGIS\Server\assets\'. System error: The parameter is incorrect.
 (87)

 

0 Kudos
0 Replies