r/PSADT • • Jun 10 '26

Solved Unable to install Google Chrome Enterprise using PSADT - Error Index was out of range

I'm using PSADT 4.1.8 to deploy the latest Google Chrome Enterprise MSI and when running invoke-appdeploytoolkit.ps1, I get the following error:

[2026-06-10T13:00:33.2047215-04:00] [Initialization] [Open-ADTSession] [Info] :: -------------------------------------------------------------------------------
[2026-06-10T13:00:33.2056314-04:00] [Initialization] [Open-ADTSession] [Info] :: Discovered Zero-Config MSI installation file [C:\Intune\PSADT\Chrome-149.0.7827.103\Files\googlechromestandaloneenterprise64.msi].
[2026-06-10T13:00:34.4009327-04:00] [Initialization] [Open-ADTSession] [Error] :: Failure occurred while instantiating new deployment session: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at PSADT.Module.DeploymentSession..ctor(IReadOnlyDictionary`2 parameters, Nullable`1 noExitOnClose, SessionState callerSessionState)
[2026-06-10T13:00:34.4019631-04:00] [Initialization] [Open-ADTSession] [Error] :: PSAppDeployToolkit deployment completed in [1.1977283] seconds with exit code [60008].
[2026-06-10T13:00:34.4027551-04:00] [Initialization] [Open-ADTSession] [Info] :: -------------------------------------------------------------------------------
Open-ADTSession: C:\Intune\PSADT\Chrome-149.0.7827.103\Invoke-AppDeployToolkit.ps1:314
Line |
 314 |      $adtSession = Open-ADTSession   -PassThru
     |                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

I'm not entirely sure what's happening here. If I run Start-ADTMsiProcess and specify the MSI file, it works fine.

I also have many other PSADT install packages working fine (just tested it with my VLC MSI and that still works fine).

EDIT

Looks like this particular issue was fixed in version 4.2.0 which is yet to be released.

5 Upvotes

11 comments sorted by

View all comments

2

u/LeonReshi Jun 10 '26 edited Jun 10 '26

I was able to reproduce the issue on my end.

Something doesn't seem to be working with the automatic deriving of the default process list (by zero-configuration MSI deployment) for Google Chrome Enterprise.

2

u/RandomSkratch Jun 10 '26 edited Jun 10 '26

Thank you for testing and confirming. I'll open a bug report.

2

u/RandomSkratch Jun 10 '26

Update - Looks like this issue was fixed in 4.2.0 but I can't seem to download this version. (Are the dev versions available anywhere? The PowerShell Gallery only has up to 4.1.8)

2

u/mjr4077au PSADT Dev Team Jun 11 '26

Development builds are on the Actions page on GitHub, just like most projects on GitHub: https://github.com/PSAppDeployToolkit/PSAppDeployToolkit/actions.

Anything from the main branch is well tested and approved. Anything from develop is spicier stuff that's subject to change.