microsoft-authentication-library-for-dotnet icon indicating copy to clipboard operation
microsoft-authentication-library-for-dotnet copied to clipboard

[Engineering task] Check to see if Edge is installed on Agents before installing them

Open gladjohn opened this issue 8 months ago • 0 comments

Task type

Builds

Description

Some OneBranch machines now come pre-installed with Edge and once in a while we get this error.

Download of MicrosoftEdgeEnterpriseX64.msi (171.39 MB) completed.
WARNING: Ignoring checksums due to feature checksumFiles turned off or option --ignore-checksums set.
Installing microsoft-edge...
WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\microsoft-edge_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error.
ERROR: Running ["C:\Windows\System32\msiexec.exe" /i "C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\microsoft-edge\125.0.2535.67\MicrosoftEdgeEnterpriseX64.msi"  /qn /norestart /l*v "C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\microsoft-edge.125.0.2535.67.MsiInstall.log" ] was not successful. Exit code was '1603'. Exit code indicates the following: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available. If not, try again adding '--install-arguments="'/l*v c:\microsoft-edge_msi_install.log'"'. Then search the MSI Log for "Return Value 3" and look above that for the error..
  microsoft-edge may be able to be automatically uninstalled.
The install of microsoft-edge was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\microsoft-edge\tools\chocolateyinstall.ps1'.
 See log for details.

Solution

Check to see if Edge is installed before installation

gladjohn avatar May 27 '24 18:05 gladjohn