Skip to content

[BUG] #1407

@chrisdoofer

Description

@chrisdoofer

Describe the bug
Installatiuon fails at point of unzip and Defender blocks the unzip as irt believes ot contains a virus:

irm https://aka.ms/apm-windows | iex

===========================================================
APM Installer
The NPM for AI-Native Development

Fetching latest release information...
Latest version: v0.14.0
Downloading apm-windows-x86_64.zip (v0.14.0)...
Download successful
Verifying download checksum...
Checksum verified
Extracting package...
Testing binary...
Downloaded binary failed to run: Program 'apm.exe' failed to run: Operation did not complete successfully because the file contains a virus or potentially unwanted softwareAt line:639 char:23

  •     $testOutput = & $stagedExe --version 2>&1
    
  •                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~.
    

Attempting automatic fallback to pip...
Python 3.9+ is not available - cannot fall back to pip.

To Reproduce
Steps to reproduce the behavior:

  1. Run command 'irm https://aka.ms/apm-windows | iex'
  2. With parameters '....'
  3. See error
Image

Expected behavior
I would expect that this is a false positive and that APM should install normally.

Environment (please complete the following information):

  • OS: Windows 25H2

Logs
If applicable, add any error logs or screenshots.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsstatus/needs-triageNew, awaiting maintainer review.type/bugSomething does not work as documented.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions