Skip to content

Installer cannot be run without bypassing Windows Defender Smartscreen #398

@robmOz

Description

@robmOz

What problems are you experiencing?

Message "Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk" is shown when running the installer.

This may be a long-standing issue?

I have tested with versions 3.2.6-1 x64, 3.2.6-1 x32, 3.1.6-1 x64.

Steps to reproduce

Download installer and run.

What's the output from ridk version?

N/A

The certificate for the installers looks good as 1) it's created by Certum Certificate Authority with valid dates, 2) Certum is a member of Windows trusted root cerificates program.

https://learn.microsoft.com/en-us/security/trusted-root/participants-list

However, that fact that this may not an Extended Validation (EV) code certificate may explain why the installer is unrecognised.

https://learn.microsoft.com/en-us/archive/blogs/ie/microsoft-smartscreen-extended-validation-ev-code-signing-certificates

Note that a workaround may be reassure users that it's ok to bypass SmartScreen when installing. This could involve changing the page:

https://rubyinstaller.org/downloads/

to mention this.

e.g. something like:


Note that Windows Defender SmartScreen may flag the installer as unrecognised and will prevent the app from starting. This is because Microsoft is trying to protect you from malicious apps. Unfortunately, Microsoft also requires organisations to pay for validation.

Please click the box "More info" and then "Run anyway" to install. If you are concerned about whether the installer has been tampered with you can verify the PGP signature of the download.


OS:
Edition Windows 10 Pro
Version 22H2
Installed on ‎21/‎08/‎2021
OS build 19045.5131
Experience Windows Feature Experience Pack 1000.19060.1000.0

stopped
looks valid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions