Skip to content

Commit b91316c

Browse files
committed
NSIS build script updated.
1 parent 1dec8ca commit b91316c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

platform-windows/json-scada.nsi

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RequestExecutionLevel admin
1515

1616
;--------------------------------
1717

18-
!define VERSION "v.0.23"
19-
!define VERSION_ "0.23.0.0"
18+
!define VERSION "v.0.24"
19+
!define VERSION_ "0.24.0.0"
2020

2121
Function .onInit
2222
System::Call 'keexrnel32::CreateMutexA(i 0, i 0, t "MutexJsonScadaInstall") i .r1 ?e'
@@ -239,7 +239,7 @@ SetRegView 64
239239
File /a "..\platform-windows\nssm.exe"
240240
File /a "..\platform-windows\sounder.exe"
241241
File /a "..\platform-windows\vc_redist.x64.exe"
242-
File /a "..\platform-windows\dotnet-runtime-6.0.4-win-x64.exe"
242+
File /a "..\platform-windows\dotnet-runtime-6.0.7-win-x64.exe"
243243

244244
; Visual C redist: needed for timescaledb
245245
;ReadRegStr $0 HKLM "SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Major"
@@ -253,7 +253,7 @@ SetRegView 64
253253
Sleep 1000
254254
Exec '"$INSTDIR\platform-windows\vc_redist.x64.exe" /install /passive /quiet'
255255
Sleep 1000
256-
Exec '"$INSTDIR\platform-windows\dotnet-runtime-6.0.4-win-x64.exe" /install /passive /quiet'
256+
Exec '"$INSTDIR\platform-windows\dotnet-runtime-6.0.7-win-x64.exe" /install /passive /quiet'
257257

258258
SetOutPath $INSTDIR\platform-windows\nodejs-runtime
259259
File /a /r "..\platform-windows\nodejs-runtime\*.*"
@@ -312,6 +312,9 @@ SetRegView 64
312312

313313
SetOutPath $INSTDIR\src\htdocs
314314
File /a "..\src\htdocs\*.*"
315+
SetOutPath $INSTDIR\src\htdocs\sounds
316+
File /a /r "..\src\htdocs\sounds\critical.wav"
317+
File /a /r "..\src\htdocs\sounds\noncritical.wav"
315318
SetOutPath $INSTDIR\src\htdocs\scripts
316319
File /a /r "..\src\htdocs\scripts\*.*"
317320
SetOutPath $INSTDIR\src\htdocs\sage-cepel-displays

0 commit comments

Comments
 (0)