Skip to content

Commit

Permalink
Correctly delete autorun windows registry key when using nsis
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob committed Sep 19, 2024
1 parent b09f7a1 commit 01ef387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/windows/pkg_win.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Section "Uninstall"
RMDir /r $INSTDIR

; Run on Startup
DeleteRegKey HKCU '${AUTORUN_REGKEY}\{{ title }}'
DeleteRegValue HKCU ${AUTORUN_REGKEY} '{{ title }}'

; Install Directory
DeleteRegKey HKCU 'Software\{{ title }}'
Expand Down

0 comments on commit 01ef387

Please sign in to comment.