new Update installer: small tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17825 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-04-15 22:48:41 +00:00
parent 6cfe5bd129
commit 3ad8ca04b9

View File

@ -19,7 +19,7 @@
CRCCheck force CRCCheck force
; Make the installer as small as possible. ; Make the installer as small as possible.
; SetCompressor lzma SetCompressor lzma
;-------------------------------- ;--------------------------------
; You should need to change only these macros... ; You should need to change only these macros...
@ -52,8 +52,6 @@ BrandingText "LyXWinInstaller v3.12 - Update"
!define PRODUCT_UNINST_KEY_OLD "Software\Microsoft\Windows\CurrentVersion\Uninstall\LyX150svn" !define PRODUCT_UNINST_KEY_OLD "Software\Microsoft\Windows\CurrentVersion\Uninstall\LyX150svn"
!define PRODUCT_VERSION_OLD "LyX 1.5svn-09-04-2007" !define PRODUCT_VERSION_OLD "LyX 1.5svn-09-04-2007"
!define ClassFileDir "${PRODUCT_SOURCEDIR}\Resources\tex"
;-------------------------------- ;--------------------------------
; Make some of the information above available to NSIS. ; Make some of the information above available to NSIS.
@ -363,7 +361,7 @@ Section "-Installation actions" SecInstallation
${endif} ; end ${if} $Pointer != "-1" (if the folder is renamed) ${endif} ; end ${if} $Pointer != "-1" (if the folder is renamed)
; register LyX ; register LyX
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "${PRODUCT_EXE}" WriteRegStr SHCTX "${PRODUCT_DIR_REGKEY}" "" "${PRODUCT_EXE}"
WriteRegStr SHCTX "${PRODUCT_UNINST_KEY}" "RootKey" "$ProductRootKey" WriteRegStr SHCTX "${PRODUCT_UNINST_KEY}" "RootKey" "$ProductRootKey"
WriteRegStr SHCTX "${PRODUCT_UNINST_KEY}" "DisplayName" "LyX ${PRODUCT_VERSION}" WriteRegStr SHCTX "${PRODUCT_UNINST_KEY}" "DisplayName" "LyX ${PRODUCT_VERSION}"
WriteRegStr SHCTX "${PRODUCT_UNINST_KEY}" "UninstallString" "${PRODUCT_UNINSTALL_EXE}" WriteRegStr SHCTX "${PRODUCT_UNINST_KEY}" "UninstallString" "${PRODUCT_UNINSTALL_EXE}"