mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
installer: some special settings for the alpha/beta releases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34218 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
baf3cc15e1
commit
830788118b
@ -109,9 +109,9 @@ Function ConfigureLyX
|
||||
# .lyx15 don't set this, because this is designed to be opened with LyX 1.5.x
|
||||
#WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}15" "" "${PRODUCT_REGNAME}"
|
||||
#WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}15" "Content Type" "${PRODUCT_MIME_TYPE}"
|
||||
# .lyx16
|
||||
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}16" "" "${PRODUCT_REGNAME}"
|
||||
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}16" "Content Type" "${PRODUCT_MIME_TYPE}"
|
||||
# .lyx16 don't set this, because this is designed to be opened with LyX 1.6.x
|
||||
#WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}16" "" "${PRODUCT_REGNAME}"
|
||||
#WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}16" "Content Type" "${PRODUCT_MIME_TYPE}"
|
||||
# refresh shell
|
||||
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
|
||||
${endif}
|
||||
|
@ -19,7 +19,7 @@
|
||||
CRCCheck force
|
||||
|
||||
# Make the installer as small as possible.
|
||||
#SetCompressor lzma
|
||||
SetCompressor lzma
|
||||
|
||||
#--------------------------------
|
||||
# You should need to change only these macros...
|
||||
@ -177,10 +177,11 @@ Section "$(SecAllUsersTitle)" SecAllUsers
|
||||
SetShellVarContext all
|
||||
StrCpy $ProductRootKey "HKLM"
|
||||
SectionEnd
|
||||
Section "$(SecFileAssocTitle)" SecFileAssoc
|
||||
# remove the /o for LyX 2.0 final!
|
||||
Section /o "$(SecFileAssocTitle)" SecFileAssoc
|
||||
StrCpy $CreateFileAssociations "true"
|
||||
SectionEnd
|
||||
Section "$(SecDesktopTitle)" SecDesktop
|
||||
Section /o "$(SecDesktopTitle)" SecDesktop
|
||||
StrCpy $CreateDesktopIcon "true"
|
||||
SectionEnd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user