none
Microsoft ATA light weight gateway install fails with "installation failed with error code 0x80070643"

    Question

  • The light weight gateway is being installed on windows server 2008 R2 sp1 domain controller.

    === Verbose logging started: 10/30/2016  15:52:44  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Users\adintg\AppData\Local\Temp\{9D17F9BE-88D6-4AB6-A188-6008DA2407AA}\.be\Microsoft ATA Gateway Setup.exe ===

    MSI (s) (20:B0) [15:52:49:364]: Executing op: ProductPublishClient(,,)
    MSI (s) (20:B0) [15:52:49:380]: Executing op: SourceListRegisterLastUsed(SourceProduct={4632A5E2-B516-4D6A-824F-9B579B604A85},LastUsedSource=C:\ProgramData\Package Cache\{4632A5E2-B516-4D6A-824F-9B579B604A85}v1.7.5402.41928\)
    MSI (s) (20:B0) [15:52:49:380]: Entering CMsiConfigurationManager::SetLastUsedSource.
    MSI (s) (20:B0) [15:52:49:380]: Specifed source is already in a list.
    MSI (s) (20:B0) [15:52:49:380]: User policy value 'SearchOrder' is 'nmu'
    MSI (s) (20:B0) [15:52:49:380]: Adding new sources is allowed.
    MSI (s) (20:B0) [15:52:49:380]: Set LastUsedSource to: C:\ProgramData\Package Cache\{4632A5E2-B516-4D6A-824F-9B579B604A85}v1.7.5402.41928\.
    MSI (s) (20:B0) [15:52:49:380]: Set LastUsedType to: n.
    MSI (s) (20:B0) [15:52:49:380]: Set LastUsedIndex to: 1.
    MSI (s) (20:B0) [15:52:49:380]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=55531884)
    MSI (s) (20:B0) [15:52:49:380]: Doing action: RemoveExistingProducts
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2205 2:  3: ActionText 
    Action ended 15:52:49: InstallExecute. Return value 1.
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2205 2:  3: Error 
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 22 
    Action start 15:52:49: RemoveExistingProducts.
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2205 2:  3: Error 
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 23 
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2205 2:  3: Error 
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 16 
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2205 2:  3: Error 
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 21 
    MSI (s) (20:B0) [15:52:49:380]: Doing action: InstallFinalize
    MSI (s) (20:B0) [15:52:49:380]: Note: 1: 2205 2:  3: ActionText 
    Action ended 15:52:49: RemoveExistingProducts. Return value 1.
    MSI (s) (20:B0) [15:52:49:395]: User policy value 'DisableRollback' is 0
    MSI (s) (20:B0) [15:52:49:395]: Machine policy value 'DisableRollback' is 0
    Action start 15:52:49: InstallFinalize.
    MSI (s) (20:B0) [15:52:49:395]: Note: 1: 2318 2:  
    MSI (s) (20:B0) [15:52:49:395]: No System Restore sequence number for this installation.
    MSI (s) (20:B0) [15:52:49:395]: Unlocking Server
    MSI (s) (20:B0) [15:52:49:411]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'.
    MSI (s) (20:B0) [15:52:49:411]: Doing action: InstallFinalizeCustomAction
    MSI (s) (20:B0) [15:52:49:411]: Note: 1: 2205 2:  3: ActionText 
    Action ended 15:52:49: InstallFinalize. Return value 1.
    MSI (s) (20:C8) [15:52:49:411]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI6CDD.tmp, Entrypoint: InstallFinalize
    Action start 15:52:49: InstallFinalizeCustomAction.
    SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI6CDD.tmp-\
    SFXCA: Binding to CLR version v4.0.30319
    Calling custom action Microsoft.Tri.Gateway.Deployment.Package.Actions!Microsoft.Tri.Gateway.Deployment.Package.Actions.CustomActions.InstallFinalize
    2016-10-30 12:52:50.2400 3396 1   Debug [CustomActions] InstallFinalize started
    2016-10-30 12:52:50.3025 3396 1   Debug [DataCollectorSetActions] DataCollectorSetActions Uninstall failed [exception=System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
       at PlaLibrary.IDataCollectorSet.Query(String name, String Server)
       at Microsoft.Tri.Infrastructure.Utils.DataCollectorSet.IsExists(String name)
       at Microsoft.Tri.Deployment.Package.Actions.DataCollectorSetActions.Uninstall(String name)]
    Exception thrown by custom action:
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
       at PlaLibrary.IDataCollectorSet.Commit(String name, String Server, CommitMode mode)
       at Microsoft.Tri.Infrastructure.Utils.DataCollectorSet.Create(String name, String configurationFilePath)
       at Microsoft.Tri.Deployment.Package.Actions.DataCollectorSetActions.Install(String installationPath, String name, IReadOnlyCollection`1 performanceCounterCategoryNames, IReadOnlyCollection`1 processNames)
       at Microsoft.Tri.Gateway.Deployment.Package.Actions.CustomActions.InstallFinalize(Session session)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
       at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)
    CustomAction InstallFinalizeCustomAction returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Action ended 15:52:52: InstallFinalizeCustomAction. Return value 3.
    Action ended 15:52:52: INSTALL. Return value 3.
    C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\ja\
    Property(S): dir1009F065F0C609D5631BDE3B00ACFDFB = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\
    Property(S): dir8E987C120ABBEA8ACB398CF5590BFA3E = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Extensions\
    Property(S): dir2592A87C52B655378D8BA172003D6E7F = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\
    Property(S): dirCFC8A01DC2448BE747F4ECDE74A3F17B = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\CoreNetworking\
    Property(S): dirF12008D78CFA7D7E4EFAA3A806ACBFEA = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\Infrastructure\
    Property(S): dir74CE95EFB3C43F1AB556A48B4BF7E891 = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\Microsoft\MicrosoftCommon\
    Property(S): dirEF21B4F792C1CCB27E3D605C69B2AEC8 = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\Microsoft\Windows\FileSharing\
    Property(S): dir7B873B162C6E4DEA85F5C7971DA018D4 = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\Microsoft\Windows\IdentityAndSecurity\
    Property(S): dirFB75C1011B230B385AA0DA5BBFADE7AC = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\Public\
    Property(S): ExecServiceConfig = SchedServiceConfig€ATAGateway€1€restart€restart€restart€1€5€€€ATAGatewayUpdater€1€restart€restart€restart€1€5€€
    Property(S): RollbackServiceConfig = SchedServiceConfig
    Property(S): dirC14DFF180648E323983D75D39BF4178F = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\Microsoft\
    Property(S): dir1F6922A221973E1F2ECF6CB8CB25F97B = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\Pef\Models\Microsoft\Windows\
    Property(S): INSTALLATIONPATH = C:\Program Files\Microsoft Advanced Threat Analytics\Gateway\
    Property(S): TARGETDIR = C:\
    Property(S): SourceDir = C:\ProgramData\Package Cache\{4632A5E2-B516-4D6A-824F-9B579B604A85}v1.7.5402.41928\
    Property(S): VersionNT = 601
    Property(S): ALLUSERS = 1
    Property(S): DataCollectorSetName = Microsoft ATA Gateway
    Property(S): DataCollectorSetPerformanceCounterCategoryNames = Microsoft ATA Gateway;Microsoft ATA Gateway Updater
    Property(S): DataCollectorSetProcessNames = Microsoft.Tri.Gateway;Microsoft.Tri.Gateway.Updater;lsass
    Property(S): Manufacturer = Microsoft Corporation
    Property(S): ProductCode = {4632A5E2-B516-4D6A-824F-9B579B604A85}
    Property(S): ProductLanguage = 0
    Property(S): ProductName = Microsoft Advanced Threat Analytics Gateway
    Property(S): ProductVersion = 1.7.5402.41928
    Property(S): SecureCustomProperties = WIX_DOWNGRADE_DETECTED;WIX_UPGRADE_DETECTED
    Property(S): MsiHiddenProperties = MANAGEMENTACCOUNTPASSWORD
    Property(S): MsiLogFileLocation = C:\Users\adintg\AppData\Local\Temp\Microsoft Advanced Threat Analytics Gateway_20161030154657_004_MsiPackage.log
    Property(S): PackageCode = {19D7F121-8FBC-42C4-A89A-212960625F0A}
    Property(S): ProductState = -1
    Property(S): PackagecodeChanging = 1
    Property(S): ARPSYSTEMCOMPONENT = 1
    Property(S): MSIFASTINSTALL = 7
    Property(S): INSTALLATIONCONFIGURATIONFILEPATH = C:\Microsoft ATA Gateway Setup\\GatewayInstallationConfiguration.json
    Property(S): MANAGEMENTAUTHENTICATIONTOKEN = AQAAANCMnd8BFdERjHoAwE_Cl-sBAAAAH-1970CcNE27DHLJpuORsQAAAAACAAAAAAAQZgAAAAEAACAAAABDkU0QJzX_FzElbq5eqkJVXCZHoxLA4hucqF-boBfHhAAAAAAOgAAAAAIAACAAAAAwBHgEON5ez1BX_YLBoJqy-lXfdb0IXJ8KkXiE5_EyvcAAAAAhrfKUvyJdT-j1G9og6H8vZJ5kw7d3M7h5EalIyY3gEcQjr_nYllA3FURPNLVtJDommyt2RAsL-rQDEKMByw4rBuaSf2qx2eXXjnCJNCpec5-mb0LAMgLTAqgHSB9t_WLvYLGHIytht9swrQGPT2klMha-zayyshnUy5keO0mMKzf9xAAjYp9dQIOPyq4HvO4b0HlTMFR-wE3ldOJkyaFDPTVoWG0W5nJVhyJ2HR92yfKe41DoPUH6e0KQPfZdT-tAAAAATlH8HhMSIQ7F8Rkpa37Mq4FaygEu8jFh8t6bHDACXEmOKspSWBWiyvzrQqJGnTK5-BMklNkITTdfU4TKA5gRPQ
    Property(S): REBOOT = ReallySuppress
    Property(S): CURRENTDIRECTORY = C:\Microsoft ATA Gateway Setup
    Property(S): CLIENTUILEVEL = 3
    Property(S): MSICLIENTUSESEXTERNALUI = 1
    Property(S): CLIENTPROCESSID = 3260
    Property(S): MsiSystemRebootPending = 1
    Property(S): VersionDatabase = 500
    Property(S): VersionMsi = 5.00
    Property(S): VersionNT64 = 601
    Property(S): WindowsBuild = 7601
    Property(S): ServicePackLevel = 1
    Property(S): ServicePackLevelMinor = 0
    Property(S): MsiNTProductType = 2
    Property(S): MsiNTSuiteEnterprise = 1
    Property(S): WindowsFolder = C:\Windows\
    Property(S): WindowsVolume = C:\
    Property(S): System64Folder = C:\Windows\system32\
    Property(S): SystemFolder = C:\Windows\SysWOW64\
    Property(S): RemoteAdminTS = 1
    Property(S): TempFolder = C:\Users\adintg\AppData\Local\Temp\
    Property(S): ProgramFilesFolder = C:\Program Files (x86)\
    Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\
    Property(S): ProgramFiles64Folder = C:\Program Files\
    Property(S): CommonFiles64Folder = C:\Program Files\Common Files\
    Property(S): AppDataFolder = C:\Users\adintg\AppData\Roaming\
    Property(S): FavoritesFolder = C:\Users\adintg\Favorites\
    Property(S): NetHoodFolder = C:\Users\adintg\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
    Property(S): PersonalFolder = C:\Users\adintg\Documents\
    Property(S): PrintHoodFolder = C:\Users\adintg\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
    Property(S): RecentFolder = C:\Users\adintg\AppData\Roaming\Microsoft\Windows\Recent\
    Property(S): SendToFolder = C:\Users\adintg\AppData\Roaming\Microsoft\Windows\SendTo\
    Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
    Property(S): CommonAppDataFolder = C:\ProgramData\
    Property(S): LocalAppDataFolder = C:\Users\adintg\AppData\Local\
    Property(S): MyPicturesFolder = C:\Users\adintg\Pictures\
    Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
    Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
    Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
    Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
    Property(S): DesktopFolder = C:\Users\Public\Desktop\
    Property(S): FontsFolder = C:\Windows\Fonts\
    Property(S): GPTSupport = 1
    Property(S): OLEAdvtSupport = 1
    Property(S): ShellAdvtSupport = 1
    Property(S): MsiAMD64 = 6
    Property(S): Msix64 = 6
    Property(S): Intel = 6
    Property(S): PhysicalMemory = 6144
    Property(S): VirtualMemory = 10763
    Property(S): AdminUser = 1
    Property(S): MsiTrueAdminUser = 1
    Property(S): LogonUser = adintg
    Property(S): UserSID = S-1-5-21-3204190998-3963454010-2629891781-4579
    Property(S): UserLanguageID = 1033
    Property(S): ComputerName = DRCDCS01
    Property(S): SystemLanguageID = 1033
    Property(S): ScreenX = 1024
    Property(S): ScreenY = 768
    Property(S): CaptionHeight = 19
    Property(S): BorderTop = 1
    Property(S): BorderSide = 1
    Property(S): TextHeight = 16
    Property(S): TextInternalLeading = 3
    Property(S): ColorBits = 32
    Property(S): TTCSupport = 1
    Property(S): Time = 15:52:52
    Property(S): Date = 10/30/2016
    Property(S): MsiNetAssemblySupport = 4.6.1055.0
    Property(S): MsiWin32AssemblySupport = 6.1.7601.17514
    Property(S): RedirectedDllSupport = 2
    Property(S): MsiRunningElevated = 1
    Property(S): Privileged = 1
    Property(S): USERNAME = Windows User
    Property(S): DATABASE = C:\Windows\Installer\3a3f50.msi
    Property(S): OriginalDatabase = C:\ProgramData\Package Cache\{4632A5E2-B516-4D6A-824F-9B579B604A85}v1.7.5402.41928\Microsoft.Tri.Gateway.Deployment.Package.msi
    Property(S): UILevel = 2
    Property(S): MsiUISourceResOnly = 1
    Property(S): ACTION = INSTALL
    Property(S): ROOTDRIVE = C:\
    Property(S): CostingComplete = 1
    Property(S): OutOfDiskSpace = 0
    Property(S): OutOfNoRbDiskSpace = 0
    Property(S): PrimaryVolumeSpaceAvailable = 0
    Property(S): PrimaryVolumeSpaceRequired = 0
    Property(S): PrimaryVolumeSpaceRemaining = 0
    Property(S): INSTALLLEVEL = 1
    Property(S): SOURCEDIR = C:\ProgramData\Package Cache\{4632A5E2-B516-4D6A-824F-9B579B604A85}v1.7.5402.41928\
    Property(S): SourcedirProduct = {4632A5E2-B516-4D6A-824F-9B579B604A85}
    Property(S): ProductToBeRegistered = 1
    MSI (s) (20:B0) [15:52:52:084]: Note: 1: 1708 
    MSI (s) (20:B0) [15:52:52:084]: Note: 1: 2205 2:  3: Error 
    MSI (s) (20:B0) [15:52:52:084]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708 
    MSI (s) (20:B0) [15:52:52:084]: Note: 1: 2205 2:  3: Error 
    MSI (s) (20:B0) [15:52:52:084]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
    MSI (s) (20:B0) [15:52:52:084]: Product: Microsoft Advanced Threat Analytics Gateway -- Installation failed.

    MSI (s) (20:B0) [15:52:52:084]: Windows Installer installed the product. Product Name: Microsoft Advanced Threat Analytics Gateway. Product Version: 1.7.5402.41928. Product Language: 0. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

    MSI (s) (20:B0) [15:52:52:100]: Deferring clean up of packages/files, if any exist
    MSI (s) (20:B0) [15:52:52:100]: MainEngineThread is returning 1603
    MSI (s) (20:0C) [15:52:52:100]: RESTART MANAGER: Session closed.
    MSI (s) (20:0C) [15:52:52:100]: No System Restore sequence number for this installation.
    === Logging stopped: 10/30/2016  15:52:52 ===
    MSI (s) (20:0C) [15:52:52:115]: User policy value 'DisableRollback' is 0
    MSI (s) (20:0C) [15:52:52:115]: Machine policy value 'DisableRollback' is 0
    MSI (s) (20:0C) [15:52:52:115]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (20:0C) [15:52:52:115]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (20:0C) [15:52:52:115]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
    MSI (s) (20:0C) [15:52:52:115]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (20:0C) [15:52:52:115]: Restoring environment variables
    MSI (s) (20:0C) [15:52:52:115]: Destroying RemoteAPI object.
    MSI (s) (20:A0) [15:52:52:115]: Custom Action Manager thread ending.
    MSI (c) (BC:8C) [15:52:52:115]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (BC:8C) [15:52:52:115]: MainEngineThread is returning 1603
    === Verbose logging stopped: 10/30/2016  15:52:52 ===


    Ahmed NAyeem


    • Edited by Ahmednayeem Sunday, October 30, 2016 9:26 PM more logs
    Sunday, October 30, 2016 9:22 PM

All replies

  • Hi, did u managed to resolve this issue

    I encountered the same error when installing the lightweight gateway on one of my domain controllers (also Win 2K8R2 SP1). Interestingly, the other domain controllers (Win 2K8R2 SP1) did not encounter this issues.

    All are patched to latest OS updates, and also tried running sfc /scannow to fix the issue but didn't help.

    Wednesday, February 22, 2017 11:59 AM
  • Can you run on the failing machine from command prompt:

    logman "Microsoft ATA Gateway"

    and share the output?

    Sunday, July 9, 2017 11:58 AM
  • Also, we have see a couple of cases where McAfee endpoint threat protection was installed and caused the same error. if you have it installed, I suggest to uninstall it (not just disable) during the setup to confirm it's the problem.
    Monday, July 10, 2017 8:18 AM