fix nsis syntax; write uninstaller
continuous-integration/drone/pr Build is pending
Details
continuous-integration/drone/pr Build is pending
Details
This commit is contained in:
parent
eb38f48c67
commit
4946b6c51a
|
@ -94,10 +94,12 @@ Section
|
||||||
;Store installation folder
|
;Store installation folder
|
||||||
WriteRegStr HKCU "Software\Cwtch" "installLocation" $INSTDIR
|
WriteRegStr HKCU "Software\Cwtch" "installLocation" $INSTDIR
|
||||||
|
|
||||||
|
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Uninstall"
|
Section "Uninstall"
|
||||||
RMDir "$INSTDIR" /r /REBOOTOK
|
RMDir /r /REBOOTOK "$INSTDIR"
|
||||||
|
|
||||||
DeleteRegKey /ifempty HKCU "Software\Cwtch\installLocation"
|
DeleteRegKey /ifempty HKCU "Software\Cwtch\installLocation"
|
||||||
SectionEnd
|
SectionEnd
|
Loading…
Reference in New Issue