]> git.lyx.org Git - lyx.git/commitdiff
installer: some special settings for the alpha/beta releases
authorUwe Stöhr <uwestoehr@web.de>
Mon, 19 Apr 2010 03:58:48 +0000 (03:58 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Mon, 19 Apr 2010 03:58:48 +0000 (03:58 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34218 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/AltInstaller/ConfigLyX.nsh
development/Win32/packaging/AltInstaller/LyXInstaller-small.nsi

index 02b1957a5e9c41ff876ce27959bf427f6dc4931f..2c7faf98839edd8d3cfc23deed280fa319d58612 100644 (file)
@@ -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}
index 54bb1cbd9f69c8502bf318cd8c4665cd7beec6df..900e61e3bd565ff74c947f9e5eecaf1e7e19746f 100644 (file)
@@ -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