Skip to content

Install Install-SQLExpress2025.ps1 fail #5

Description

@newman0001-netizen

Hi.
The script failed to install the SQL server.
Error:
Microsoft (R) SQL Server Installer
Copyright (c) 2025 Microsoft. All rights reserved.

Operation finished with result: Failure

Oops...

Unable to install SQL Server (setup.exe).

  Exit code (Decimal): -2054422501
  Exit message: The SQL Server license agreement for the selected edition, EXPRESS, could not be found. This may indicate that the installation media is damaged or does not support this edition.

SQL SERVER INSTALL LOG FOLDER
C:\Program Files\Microsoft SQL Server\170\Setup Bootstrap\Log\20260731_141656

iex (irm https://raw.githubusercontent.com/2pintsoftware/2Pint-DeployR/refs/heads/main/Installs/Pre-Reqs/Install-SQLExp
ress2025.ps1) : Verification failed. SQL Server Express instance SQLEXPRESS not detected.
line: 308 character: 5

  • Write-Error "Verification failed. SQL Server Express instance $In ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException

OS: Windows Server 2025

Activity

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

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