mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge pull request #869 from stevenroose/win-installer
Fix Bitcoin name usage in Windows installer
This commit is contained in:
commit
457a5645fe
1 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ Var StartMenuGroup
|
|||
!insertmacro MUI_LANGUAGE English
|
||||
|
||||
# Installer attributes
|
||||
InstallDir $PROGRAMFILES64\Bitcoin
|
||||
InstallDir $PROGRAMFILES64\Elements
|
||||
CRCCheck on
|
||||
XPStyle on
|
||||
BrandingText " "
|
||||
|
|
@ -105,7 +105,7 @@ Section -post SEC0001
|
|||
WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoModify 1
|
||||
WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoRepair 1
|
||||
WriteRegStr HKCR "@PACKAGE_TARNAME@" "URL Protocol" ""
|
||||
WriteRegStr HKCR "@PACKAGE_TARNAME@" "" "URL:Bitcoin"
|
||||
WriteRegStr HKCR "@PACKAGE_TARNAME@" "" "URL:Elements"
|
||||
WriteRegStr HKCR "@PACKAGE_TARNAME@\DefaultIcon" "" $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@
|
||||
WriteRegStr HKCR "@PACKAGE_TARNAME@\shell\open\command" "" '"$INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@" "%1"'
|
||||
SectionEnd
|
||||
|
|
@ -138,7 +138,7 @@ Section -un.post UNSEC0001
|
|||
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk"
|
||||
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk"
|
||||
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\@PACKAGE_NAME@ (testnet, 64-bit).lnk"
|
||||
Delete /REBOOTOK "$SMSTARTUP\Bitcoin.lnk"
|
||||
Delete /REBOOTOK "$SMSTARTUP\Elements.lnk"
|
||||
Delete /REBOOTOK $INSTDIR\uninstall.exe
|
||||
Delete /REBOOTOK $INSTDIR\debug.log
|
||||
Delete /REBOOTOK $INSTDIR\db.log
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue