Skip to content

Windows image build fails during execution of "Install-Wix.ps1" script #11225

Description

@pbk8s

Description

While running the Windows image build for Windows 11 Arm64 using image SKU (win11-24h2-ent), the script "Install-Wix.ps1" fails with the following error:
The install of DotNet3.5 was NOT successful. azure-arm.image: Error while running 'C:\ProgramData\chocolatey\lib\DotNet3.5\Tools\ChocolateyInstall.ps1'. azure-arm.image: See log for details. azure-arm.image: Failed to install wixtoolset because a previous dependency failed. azure-arm.image: azure-arm.image: Chocolatey installed 0/2 packages. 2 packages failed. azure-arm.image: See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). azure-arm.image: azure-arm.image: Failures azure-arm.image: - DotNet3.5 (exited 1) - Error while running 'C:\ProgramData\chocolatey\lib\DotNet3.5\Tools\ChocolateyInstall.ps1'. azure-arm.image: See log for details. azure-arm.image: - wixtoolset - Failed to install wixtoolset because a previous dependency failed. azure-arm.image: Running [#2]: choco install wixtoolset -y --force
It has been successful before, no changes were made and it still fails. Tried it on an older version of Windows 11-Arm64 but still the same result.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

image_offer = "windows11preview-arm64"
image_publisher = "microsoftwindowsdesktop"
image_sku = "win11-24h2-ent"

Is it regression?

yes

Expected behavior

The Build should succeed. It has been built before.

Actual behavior

The build fails after multiple retries.

Repro steps

Run the latest Windows image build on Windows 11-Arm64 VM in Azure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions