Skip to content
Snippets Groups Projects
Commit d4185a15 authored by Veit Berwig's avatar Veit Berwig :zzz:
Browse files

Update inst.nsi

- uninstaller fixed
- vsd-manuals added
- link to manuals added
parent 7f2b3ec6
No related branches found
No related tags found
No related merge requests found
...@@ -825,6 +825,11 @@ Section "-gnupginst" ...@@ -825,6 +825,11 @@ Section "-gnupginst"
File /r "${VSNFD_CFG_SOURCE}\etc" File /r "${VSNFD_CFG_SOURCE}\etc"
SetOverwrite lastused SetOverwrite lastused
#---------------------------------------------------
# Create the menu entries for VSD-Docs
#---------------------------------------------------
CreateShortCut "$SMPROGRAMS\GnuPG Doc.lnk" "${VSNFD_CFG_TARGET}\etc\gnupg\doc" "" "${VSNFD_CFG_TARGET}\Icon.ico"
SectionEnd SectionEnd
LangString DESC_Menu_gnupg_readme ${LANG_ENGLISH} \ LangString DESC_Menu_gnupg_readme ${LANG_ENGLISH} \
...@@ -1678,6 +1683,19 @@ Section "-un.gnupginst" ...@@ -1678,6 +1683,19 @@ Section "-un.gnupginst"
RMDir "$INSTDIR\etc" RMDir "$INSTDIR\etc"
RMDir "$INSTDIR" RMDir "$INSTDIR"
# Remove global central config
# ${VSNFD_CFG_TARGET} is: "$COMMONPROGRAMDATA\GNU"
ifFileExists "${VSNFD_CFG_TARGET}\etc\*.*" 0 no_rmetc
RMDir /r "${VSNFD_CFG_TARGET}"
#---------------------------------------------------
# Temove the menu entries for VSD-Docs
#---------------------------------------------------
Delete "$SMPROGRAMS\GnuPG Doc.lnk"
no_rmetc:
# Clean the registry. # Clean the registry.
DeleteRegValue SHCTX "Software\GNU\GnuPG" "Install Directory" DeleteRegValue SHCTX "Software\GNU\GnuPG" "Install Directory"
SectionEnd SectionEnd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment