Skip to content

x64 installer gives poor error message on x86 #7010

@Tratcher

Description

@Tratcher

Steps to reproduce

Win7 x86
https://dotnetcli.blob.core.windows.net/dotnet/preview/Installers/1.0.0-preview2.1-003153/dotnet-dev-win-x64.1.0.0-preview2.1-003153.exe

Expected behavior

An error saying that this is the incorrect OS architecture.

Actual behavior

The installer runs and fails with the message:
"0x80070001 – Incorrect function.”

Log excerpt:

[0354:0744][2016-10-20T18:24:27]e000: Error 0x80070001: Failed to execute EXE package.
[0784:0578][2016-10-20T18:24:27]e000: Error 0x80070001: Failed to configure per-machine EXE package.
[0784:0578][2016-10-20T18:24:27]i319: Applied execute package: VC_redist.x64.exe, result: 0x80070001, restart: None
[0784:0578][2016-10-20T18:24:27]e000: Error 0x80070001: Failed to execute EXE package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions