aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/w32installer.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/w32installer.nsi')
-rw-r--r--scripts/w32installer.nsi32
1 files changed, 26 insertions, 6 deletions
diff --git a/scripts/w32installer.nsi b/scripts/w32installer.nsi
index 6d7f97d22..ebb414f3d 100644
--- a/scripts/w32installer.nsi
+++ b/scripts/w32installer.nsi
@@ -37,7 +37,6 @@ InstallDirRegKey HKLM "Software\GNU\GnuPG" "Install Directory"
SetCompressor lzma
-
VIProductVersion "${PROD_VERSION}"
VIAddVersionKey "ProductName" "GNU Privacy Guard (${VERSION})"
VIAddVersionKey "Comments" \
@@ -132,6 +131,8 @@ Page custom CustomPageOptions
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
ReserveFile "opt.ini"
ReserveFile "COPYING.txt"
+ReserveFile "README-W32.txt"
+ReserveFile "${NSISDIR}/Plugins/System.dll"
ReserveFile "${NSISDIR}/Plugins/UserInfo.dll"
@@ -236,15 +237,22 @@ SectionEnd ; Section Documentation
;------------------
!ifdef WITH_SOURCE
-Section "Source" SecSource
+Section /o "Source" SecSource
SetOutPath "$INSTDIR\Src"
- ; Note that we include the uncompressed tarball because this allows
+ ; Note that we include the uncompressed tarballs because this allows
; far better compression results for the distribution. We might
; want to compress it again after installation.
+
File "gnupg-${VERSION}.tar"
+ File "libiconv-${LIBICONV_VERSION}.tar"
+
+!ifdef WITH_WINPT
+ File "winpt-$(WINPT_VERSION}.tar"
+!endif ; WITH_WINPT
+
SectionEnd ; Section Source
!endif
@@ -389,6 +397,11 @@ Section "Uninstall"
Delete "$INSTDIR\Doc\NEWS.txt"
Delete "$INSTDIR\Doc\FAQ.txt"
+ Delete "$INSTDIR\Src\gnupg-${VERSION}.tar"
+ Delete "$INSTDIR\Src\libiconv-${LIBICONV_VERSION}.tar"
+ Delete "$INSTDIR\Src\winpt-$(WINPT_VERSION}.tar"
+ Delete "$INSTDIR\Src\*.diff"
+
Delete "$INSTDIR\uninst-gnupg.exe"
;;------------------------
@@ -553,13 +566,15 @@ LangString T_About ${LANG_ENGLISH} \
with the proposed OpenPGP Internet standard as described in RFC2440. \
\r\n\r\n$_CLICK \
\r\n\r\n\r\n\r\n\r\nThis is GnuPG version ${VERSION}\r\n\
- built on $%BUILDINFO%"
+ built on $%BUILDINFO%\r\n\
+ file version ${PROD_VERSION}"
LangString T_About ${LANG_GERMAN} \
"GnuPG is das Werkzeug aus dem GNU Projekt zur sicheren Kommunikation \
sowie zum sicheren Speichern von Daten. \
\r\n\r\n$_CLICK \
- \r\n\r\n\r\n\r\n\r\nDies ist GnuPG version ${VERSION}\r\n\
- erstellt am $%BUILDINFO%"
+ \r\n\r\n\r\n\r\n\r\nDies ist GnuPG Version ${VERSION}\r\n\
+ erstellt am $%BUILDINFO%\r\n\
+ Dateiversion ${PROD_VERSION}"
; Startup page
LangString T_GPLHeader ${LANG_ENGLISH} \
@@ -634,6 +649,11 @@ LangString DESC_SecDoc ${LANG_ENGLISH} \
LangString DESC_SecDoc ${LANG_GERMAN} \
"Handbuchseiten und eine FAQ"
+LangString DESC_SecSource ${LANG_ENGLISH} \
+ "Quelltextdateien"
+LangString DESC_SecSource ${LANG_GERMAN} \
+ "Source files"
+
;-------------------------------------