mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Delete old "dash" registry key when installing/uninstalling
This commit is contained in:
parent
b78bd5cc76
commit
233493b716
@ -106,6 +106,10 @@ Section -post SEC0001
|
|||||||
WriteRegStr HKCR "@PACKAGE_TARNAME@" "" "URL:Dash"
|
WriteRegStr HKCR "@PACKAGE_TARNAME@" "" "URL:Dash"
|
||||||
WriteRegStr HKCR "@PACKAGE_TARNAME@\DefaultIcon" "" $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@
|
WriteRegStr HKCR "@PACKAGE_TARNAME@\DefaultIcon" "" $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@
|
||||||
WriteRegStr HKCR "@PACKAGE_TARNAME@\shell\open\command" "" '"$INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@" "%1"'
|
WriteRegStr HKCR "@PACKAGE_TARNAME@\shell\open\command" "" '"$INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@" "%1"'
|
||||||
|
|
||||||
|
# Delete old key (before we switched to PACKAGE_TARNAME, which is set to 'dashcore' now, we had 'dash' hardcoded)
|
||||||
|
# TODO remove this line sometime later
|
||||||
|
DeleteRegKey HKCR "dash"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
# Macro for selecting uninstaller sections
|
# Macro for selecting uninstaller sections
|
||||||
@ -144,6 +148,9 @@ Section -un.post UNSEC0001
|
|||||||
DeleteRegKey /IfEmpty HKCU "${REGKEY}\Components"
|
DeleteRegKey /IfEmpty HKCU "${REGKEY}\Components"
|
||||||
DeleteRegKey /IfEmpty HKCU "${REGKEY}"
|
DeleteRegKey /IfEmpty HKCU "${REGKEY}"
|
||||||
DeleteRegKey HKCR "@PACKAGE_TARNAME@"
|
DeleteRegKey HKCR "@PACKAGE_TARNAME@"
|
||||||
|
# Delete old key (before we switched to PACKAGE_TARNAME, which is set to 'dashcore' now, we had 'dash' hardcoded)
|
||||||
|
# TODO remove this line sometime later
|
||||||
|
DeleteRegKey HKCR "dash"
|
||||||
RmDir /REBOOTOK $SMPROGRAMS\$StartMenuGroup
|
RmDir /REBOOTOK $SMPROGRAMS\$StartMenuGroup
|
||||||
RmDir /REBOOTOK $INSTDIR
|
RmDir /REBOOTOK $INSTDIR
|
||||||
Push $R0
|
Push $R0
|
||||||
|
Loading…
Reference in New Issue
Block a user