forked from cwtch.im/cwtch-ui
fix nsis syntax; write uninstaller
This commit is contained in:
parent
eb38f48c67
commit
4946b6c51a
|
@ -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…
Reference in New Issue