File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ ifdef ARCH_WIN
144
144
cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack
145
145
# Make NSIS installer
146
146
# pacman -S mingw-w64-x86_64-nsis
147
- makensis installer.nsi
147
+ makensis -DVERSION=$(VERSION) installer.nsi
148
148
mv installer.exe dist/Rack-$(VERSION)-$(ARCH).exe
149
149
endif
150
150
Original file line number Diff line number Diff line change 1
1
!include " MUI2.nsh"
2
2
3
- Name " VCV Rack"
3
+ Name " VCV Rack ${VERSION} "
4
4
OutFile " installer.exe"
5
5
SetCompressor /solid " lzma"
6
6
CRCCheck On
@@ -55,12 +55,15 @@ Section "VCV Rack" VCV_RACK_SECTION
55
55
; Write uninstaller info
56
56
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " DisplayName" " VCV Rack"
57
57
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " DisplayIcon" ' "$INSTDIR\Rack.exe"'
58
+ WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " DisplayVersion" " ${VERSION}"
58
59
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " UninstallString" ' "$INSTDIR\Uninstall.exe"'
59
60
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " QuietUninstallString" ' "$INSTDIR\Uninstall.exe" /S'
60
61
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " InstallLocation" ' "$INSTDIR"'
61
62
WriteRegStr HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " Publisher" " VCV"
62
63
SectionGetSize ${VCV_RACK_SECTION} $0
63
64
WriteRegDWORD HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " EstimatedSize" $0
65
+ WriteRegDWORD HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " NoModify" 1
66
+ WriteRegDWORD HKLM " Software\Microsoft\Windows\CurrentVersion\Uninstall\VCV Rack" " NoRepair" 1
64
67
65
68
; Create uninstaller
66
69
WriteUninstaller " $INSTDIR\Uninstall.exe"
You can’t perform that action at this time.
0 commit comments