Fix xp output name

This commit is contained in:
Semyon Bezrukov
2025-07-24 16:29:53 +03:00
committed by Alexey Golubev
parent cfcb4377f6
commit 0ae1d39712
3 changed files with 5 additions and 9 deletions

View File

@ -23,9 +23,6 @@
#endif
#ifndef OUTPUT_FILE
#define OUTPUT_FILE sPackageName + '-' + VERSION + '-' + ARCH
#ifdef _WIN_XP
#define OUTPUT_FILE OUTPUT_FILE + '-xp'
#endif
#endif
#if FileExists(BRANDING_DIR + '\branding.iss')

View File

@ -115,9 +115,8 @@ if (Test-Path "$BuildDir\desktop\vlc-cache-gen.exe") {
}
if (Test-Path "$BuildDir\desktop\online-installer.exe") {
$dst = "$PSScriptRoot\OnlineInstaller-$Version-$Arch" + $(if ($Target -eq "xp") {"-xp"}) + ".exe"
Write-Host "MOVE: $BuildDir\desktop\online-installer.exe > $dst"
Write-Host "MOVE: $BuildDir\desktop\online-installer.exe > OnlineInstaller-$Version-$Arch.exe"
Move-Item `
-Path "$BuildDir\desktop\online-installer.exe" `
-Destination $dst
-Destination "OnlineInstaller-$Version-$Arch.exe"
}

View File

@ -115,13 +115,13 @@ switch ($Target) {
"standalone" {
$InnoArgs += "/DPACKAGE_EDITION=Standalone", "/DEMBED_HELP"
}
"xp" {
$InnoArgs += "/DPACKAGE_EDITION=XP", "/D_WIN_XP"
}
"update" {
$InnoArgs += "/DTARGET_NAME=$CompanyName-$ProductName-$Version-$Arch"
$IssFile = "update_common.iss"
}
"xp" {
$InnoArgs += "/D_WIN_XP"
}
}
if ($Sign) {
$InnoArgs += "/DSIGN",