[xiph-commits] r11642 - branches/oggdsf_ce_port/build/NSIS/Release

illiminable at svn.xiph.org illiminable at svn.xiph.org
Sat Jun 24 06:20:13 PDT 2006


Author: illiminable
Date: 2006-06-24 06:20:08 -0700 (Sat, 24 Jun 2006)
New Revision: 11642

Modified:
   branches/oggdsf_ce_port/build/NSIS/Release/oggcodecs_release.nsi
Log:
* Sections page in installer
* Give user option to force WMP to recognise .ogg extensions as strictly an audio file in the library. Will cause theora .ogg files to be incorrectly classified. (Default is on)

Modified: branches/oggdsf_ce_port/build/NSIS/Release/oggcodecs_release.nsi
===================================================================
--- branches/oggdsf_ce_port/build/NSIS/Release/oggcodecs_release.nsi	2006-06-24 12:31:07 UTC (rev 11641)
+++ branches/oggdsf_ce_port/build/NSIS/Release/oggcodecs_release.nsi	2006-06-24 13:20:08 UTC (rev 11642)
@@ -23,7 +23,7 @@
 !define PRODUCT_NAME "oggcodecs"
 
 ;	CHANGE EVERY VERSION
-!define PRODUCT_VERSION "0.72.1634"					
+!define PRODUCT_VERSION "0.72.1638"					
 
 !define PRODUCT_PUBLISHER "illiminable"
 !define PRODUCT_WEB_SITE "http://www.illiminable.com/ogg/"
@@ -75,6 +75,9 @@
 !insertmacro MUI_PAGE_LICENSE "${OGGCODECS_ROOT_DIR}\COPYRIGHTS.rtf"
 ; Directory page
 !insertmacro MUI_PAGE_DIRECTORY
+; COMPONENTS
+!insertmacro MUI_PAGE_COMPONENTS
+
 ; Start menu page
 var ICONS_GROUP
 !define MUI_STARTMENUPAGE_NODISABLE
@@ -171,7 +174,9 @@
 
 
 
-Section "Ogg Core Files" SEC01
+Section "Oggcodecs Core Files" SEC_CORE
+  SectionIn 1 RO
+
   SetOutPath "$INSTDIR"
   SetOverwrite ifnewer
 
@@ -282,9 +287,23 @@
 
 
 
+Section ".ogg defaults to audio" SEC_OGG_AUDIO_DEFAULT
+  SectionIn 1
+SectionEnd
 
 
 
+
+LangString DESC_OggCoreSection ${LANG_ENGLISH} "Core files for oggcodecs"
+LangString DESC_OggExtensionAudioByDefault ${LANG_ENGLISH} "Makes files with .ogg extension default to the audio section in Windows Media Player Library. Note: This means that ogg theora files with .ogg extension will be in audio section. The .ogv section defaults to video."
+
+!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
+  !insertmacro MUI_DESCRIPTION_TEXT ${SEC_CORE} $(DESC_OggCoreSection)
+  !insertmacro MUI_DESCRIPTION_TEXT ${SEC_OGG_AUDIO_DEFAULT} $(DESC_OggExtensionAudioByDefault)
+!insertmacro MUI_FUNCTION_DESCRIPTION_END
+
+
+
 Section -AdditionalIcons
   !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
   WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"



More information about the commits mailing list