Browse Source

fix nsis syntax; write uninstaller

pull/268/head
Dan Ballard 4 weeks ago
parent
commit
4946b6c51a
  1. 4
      windows/nsis/cwtch-installer.nsi

4
windows/nsis/cwtch-installer.nsi

@ -94,10 +94,12 @@ Section
;Store installation folder
WriteRegStr HKCU "Software\Cwtch" "installLocation" $INSTDIR
WriteUninstaller "$INSTDIR\uninstall.exe"
SectionEnd
Section "Uninstall"
RMDir "$INSTDIR" /r /REBOOTOK
RMDir /r /REBOOTOK "$INSTDIR"
DeleteRegKey /ifempty HKCU "Software\Cwtch\installLocation"
SectionEnd
Loading…
Cancel
Save