Check VCRT and show installed/shipped version (#4847)

* feat: check VCRT and give more feedback

* chore: add changelog entry

* fix: use full product name
This commit is contained in:
nerix
2023-09-30 12:22:39 +02:00
committed by GitHub
parent 783c7530f3
commit bdd7d95092
3 changed files with 53 additions and 1 deletions
+4
View File
@@ -36,10 +36,14 @@ if ($null -eq $Env:VCToolsRedistDir) {
}
Copy-Item "$Env:VCToolsRedistDir\vc_redist.x64.exe" .;
$VCRTVersion = (Get-Item "$Env:VCToolsRedistDir\vc_redist.x64.exe").VersionInfo;
# Build the installer
ISCC `
/DWORKING_DIR="$($pwd.Path)\" `
/DINSTALLER_BASE_NAME="$installerBaseName" `
/DSHIPPED_VCRT_BUILD="$($VCRTVersion.FileBuildPart)" `
/DSHIPPED_VCRT_VERSION="$($VCRTVersion.FileDescription)" `
$defines `
/O. `
"$PSScriptRoot\chatterino-installer.iss";