Skip to content

Commit 3d7fcb3

Browse files
committed
Fix for NSIS 3.x
Signed-off-by: Maxime Gervais <gervais.maxime@gmail.com>
1 parent 94f3a21 commit 3d7fcb3

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

Release/Release_GUI_Windows.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ if "%BPATH%"=="" (
1919
del MediaConch_GUI_Windows.exe
2020

2121
rem --- Installer ---
22-
%BPATH%\Windows\NSIS\makensis ..\Source\Install\MediaConch_GUI_Windows.nsi
22+
pushd %BPATH%\Windows\NSIS
23+
makensis.exe "%~dp0\..\Source\Install\MediaConch_GUI_Windows.nsi"
24+
popd
2325

2426
rem --- Clean up ---
2527
if "%1"=="SkipCleanUp" goto SkipCleanUp

Source/Install/MediaConch_GUI_Windows.nsi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ SetCompressor /FINAL /SOLID lzma
8585

8686
; Info
8787
VIProductVersion "${PRODUCT_VERSION4}"
88-
VIAddVersionKey "CompanyName" "${PRODUCT_PUBLISHER}"
89-
VIAddVersionKey "ProductName" "${PRODUCT_NAME}"
90-
VIAddVersionKey "ProductVersion" "${PRODUCT_VERSION4}"
91-
VIAddVersionKey "FileDescription" "Implementation checker, policy checker, reporter, and fixer"
92-
VIAddVersionKey "FileVersion" "${PRODUCT_VERSION4}"
93-
VIAddVersionKey "LegalCopyright" "${PRODUCT_PUBLISHER}"
94-
VIAddVersionKey "OriginalFilename" "${PRODUCT_NAME}_GUI_${PRODUCT_VERSION}_Windows.exe"
88+
VIAddVersionKey /LANG=0 "CompanyName" "${PRODUCT_PUBLISHER}"
89+
VIAddVersionKey /LANG=0 "ProductName" "${PRODUCT_NAME}"
90+
VIAddVersionKey /LANG=0 "ProductVersion" "${PRODUCT_VERSION4}"
91+
VIAddVersionKey /LANG=0 "FileDescription" "Implementation checker, policy checker, reporter, and fixer"
92+
VIAddVersionKey /LANG=0 "FileVersion" "${PRODUCT_VERSION4}"
93+
VIAddVersionKey /LANG=0 "LegalCopyright" "${PRODUCT_PUBLISHER}"
94+
VIAddVersionKey /LANG=0 "OriginalFilename" "${PRODUCT_NAME}_GUI_${PRODUCT_VERSION}_Windows.exe"
9595
BrandingText " "
9696

9797
; Modern UI end

0 commit comments

Comments
 (0)