Skip to content

Commit 538b01c

Browse files
committed
chore: hopefully satisfy NSIS
1 parent 93d7fdd commit 538b01c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

installer.nsi

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
!ifndef APP_VERSION
99
!define APP_VERSION "1.0.0"
1010
!endif
11+
!ifndef APP_VI_VERSION
12+
!define APP_VI_VERSION "1.0.0"
13+
!endif
1114
!define APP_PUBLISHER "Zed's Software"
1215
!define APP_URL "https://zedruc.net/24client"
1316
!define APP_EXE_SRC "dist\24client-bridge.exe" ; Source path (for File command)
@@ -26,15 +29,15 @@
2629
; ===========================================================
2730

2831
Name "${APP_NAME} ${APP_VERSION}"
29-
OutFile "dist\${APP_NAME}_Setup_v${APP_VERSION}.exe"
32+
OutFile "dist\${APP_NAME}_Setup_v${APP_VI_VERSION}.exe"
3033
InstallDir "${INSTALL_DIR}"
3134
InstallDirRegKey HKLM "${REG_KEY}" "InstallPath"
3235
RequestExecutionLevel admin
3336
SetCompressor /SOLID lzma
3437
ShowInstDetails show
3538
ShowUnInstDetails show
3639

37-
VIProductVersion "${APP_VERSION}.0"
40+
VIProductVersion "${APP_VI_VERSION}.0"
3841
VIAddVersionKey "ProductName" "${APP_NAME}"
3942
VIAddVersionKey "ProductVersion" "${APP_VERSION}"
4043
VIAddVersionKey "CompanyName" "${APP_PUBLISHER}"

0 commit comments

Comments
 (0)