installer: register the file extensions ".lyx15" etc. that you get when exporting to older LyX formats

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26762 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-10-05 21:48:07 +00:00
parent 4eadce28f7
commit 347589f7a7
2 changed files with 12 additions and 1 deletions

View File

@ -2,6 +2,8 @@
- LyX 1.6rc3
(list of current regressions: http://tinyurl.com/yu4the )
(list of current crashes and critical bugs: http://tinyurl.com/653prg)
- LyX files with the exensions ".lyx15" etc. that you get when exporting
to older LyX versions, can now be opened by double clicking on them
- updated to MiKTeX 2.7 (build 3164)
- updated to Python 2.5.2
- updated to Ghostscript 8.63

View File

@ -106,7 +106,16 @@ Function ConfigureLyX
WriteRegStr SHCTX "Software\Classes\${PRODUCT_REGNAME}\Shell\open\command" "" '"${PRODUCT_BAT}" "%1"'
# write informations about file extensions
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}" "" "${PRODUCT_REGNAME}"
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}" "Content Type" "${PRODUCT_MIME_TYPE}"
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}" "Content Type" "${PRODUCT_MIME_TYPE}"
# .lyx13
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}13" "" "${PRODUCT_REGNAME}"
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}13" "Content Type" "${PRODUCT_MIME_TYPE}"
# .lyx14
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}14" "" "${PRODUCT_REGNAME}"
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}14" "Content Type" "${PRODUCT_MIME_TYPE}"
# .lyx15
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}15" "" "${PRODUCT_REGNAME}"
WriteRegStr SHCTX "Software\Classes\${PRODUCT_EXT}15" "Content Type" "${PRODUCT_MIME_TYPE}"
# refresh shell
System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
${endif}