microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.57k stars 900 forks source link

Product Version attribute 'undefined' on Azure Data Studio v1.49.0 #25804

Closed AScott-WWF closed 2 months ago

AScott-WWF commented 2 months ago

Steps to Reproduce:

  1. Install latest system install release of Azure Data Studio on Windows (10) - in my case using the following silent installation commands
    azuredatastudio-windows-setup-1.49.0.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS /NORESTART /NORESTARTAPPLICATIONS /ALLUSERS /MERGETASKS=!runcode
  2. Once installed, check the properties of the "C:\Program Files\Azure Data Studio\azuredatastudio.exe" file, specifically the Product version. image

The following PowerShell also confirms this:

$InstallPath = "C:\Program Files\Azure Data Studio\azuredatastudio.exe"
(Get-ItemProperty $InstallPath).VersionInfo.ProductVersion
undefined

As shown above, this version shows as 'undefined', earlier versions hold the version number (this version should show 1.49.0). This is important when the software is deployed unattended using SCCM / MECM / ConfigMgr, Intune or other software deployment software, as the Product Version is often used as the detection method to confirm the latest version is / has been installed.

Does this issue occur when all extensions are disabled?: Yes

kburtram commented 2 months ago

This is fixed in forthcoming hotfix release.