Skip to content

Commit e2fc631

Browse files
grauxmusicclaude
andcommitted
fix(nsis): disable CRC check to prevent uninstall integrity error, bump to 1.0.5
NSIS verifies the installer's CRC on uninstall — fails when the original EXE is no longer in Downloads. CRCCheck off in customHeader disables this. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 051b3c2 commit e2fc631

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

CompanionWin/installer.nsh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
; Custom NSIS sections injected by electron-builder
22
; Installs Morph.vst3 to the system VST3 directory and removes it on uninstall.
33

4+
!macro customHeader
5+
; Disable CRC integrity check — prevents "Installer integrity check has failed"
6+
; error when the original installer EXE is no longer in Downloads.
7+
CRCCheck off
8+
!macroend
9+
410
!macro customInstall
511
CreateDirectory "$PROGRAMFILES64\Common Files\VST3"
612
nsExec::ExecToLog 'cmd /C xcopy /E /I /Y "$INSTDIR\resources\Morph.vst3" "$PROGRAMFILES64\Common Files\VST3\Morph.vst3"'

CompanionWin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "water-morph-helper",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Water Morph companion — Windows",
55
"main": "main.js",
66
"scripts": {
@@ -34,7 +34,7 @@
3434
]
3535
}
3636
],
37-
"artifactName": "Water_Morph_1.0.4_Windows.exe"
37+
"artifactName": "Water_Morph_1.0.5_Windows.exe"
3838
},
3939
"mac": {
4040
"target": [

0 commit comments

Comments
 (0)