[Windows] fix software report for innosetup (#7658)

This commit is contained in:
Alexey-Ayupov
2023-06-01 21:14:51 +02:00
committed by GitHub
parent 9eaafb739e
commit 1b5e9f95d0

View File

@@ -87,7 +87,7 @@ function Get-GitLFSVersion {
}
function Get-InnoSetupVersion {
$innoSetupVersion = $(choco list --local-only innosetup) | Select-String -Pattern "InnoSetup"
$innoSetupVersion = $(choco list innosetup) | Select-String -Pattern "InnoSetup"
return ($innoSetupVersion -replace "^InnoSetup").Trim()
}