Skip to content

Commit

Permalink
fix windows installer path (#2112)
Browse files Browse the repository at this point in the history
* fix windows installer path and registry keys to prompt for uninstall before installing a new version. Previous versions should be uninstalled first on windows as the default path and registry keys are updated

* update artifact name to match
  • Loading branch information
Russel Waters committed Jul 2, 2019
1 parent 61393fd commit e8fcb11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Expand Up @@ -435,9 +435,10 @@ if (NANO_GUI OR RAIBLOCKS_GUI)
WriteRegDWORD HKLM 'SYSTEM\\\\CurrentControlSet\\\\Services\\\\EventLog\\\\Nano\\\\Nano' 'TypesSupported' '0x7'
WriteRegStr HKLM 'SYSTEM\\\\CurrentControlSet\\\\Services\\\\EventLog\\\\Nano\\\\Nano' 'EventMessageFile' '$INSTDIR\\\\nano_wallet.exe'")
set (CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "DeleteRegKey HKLM 'SYSTEM\\\\CurrentControlSet\\\\Services\\\\EventLog\\\\Nano'")
set (CPACK_PACKAGE_INSTALL_DIRECTORY "nanocurrency")
set (CPACK_NSIS_MUI_ICON ${CMAKE_SOURCE_DIR}/Nano.ico)
set (CPACK_NSIS_DISPLAY_NAME "Nano")
set (CPACK_PACKAGE_NAME "Nano_Installer")
set (CPACK_PACKAGE_NAME "nano-node")
set (CPACK_NSIS_PACKAGE_NAME "Nano")
set (CPACK_NSIS_URL_INFO_ABOUT "https://nano.org")
set (CPACK_NSIS_CONTACT "info@nano.org")
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Expand Up @@ -41,5 +41,5 @@ after_build:
artifacts:
- path: nano*.zip
name: nano_release_%network%
- path: Nano_Installer-*.exe
name: Nano_Installer_%network%
- path: nano-node-*.exe
name: nano-node-%network%

0 comments on commit e8fcb11

Please sign in to comment.