Skip to content

Windows install fails due to WDAC #1243

Description

@emil-mi

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I ran into the error ::error:: Failed to extract packages during the installation. This happened using winget or the downloaded installer. Both were tryinig to install v26.1.1-3.

This error is caused by Windows Defender Application Control (WDAC) preventing the installer from unpacking an unsigned DLL (the python DLL) to %LOCALDATA%\Temp.... The WDAC is managed by my organization.

I was able to work around the issue by stringing together a set of pwsh commands that makes use of winget. This works by temporarily changing the TEMP directory.

This is a copy of a bug that was reported here: conda-forge/miniforge#863

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type::bugdescribes erroneous operation, use severity::* to classify the type

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions