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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user