Changeset 902

Show
Ignore:
Timestamp:
09/24/07 05:14:07 (1 year ago)
Author:
nonhebel
Message:

Added missing dependencies
+ packaging private copy of olibs

Location:
trunk/installer
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/installer/jahplayer.nsi

    r681 r902  
    11;-------------------------------- 
    2 ;NSIS Jahplayer Installation Script 
     2;NSIS jahPlayer bundle Installation Script 
    33;-------------------------------- 
    44 
    55!ifndef VERSION 
    6   !define VERSION 0.2.2 
     6  !define VERSION 20070828 
    77!endif 
    88 
    9 !ifndef OLIB_VERSION 
    10   !define OLIB_VERSION 0.4.1 
     9!ifndef OLIBS_PATH 
     10  !define OLIBS_PATH "$%OLIBS_DEVEL_ROOT%" 
    1111!endif 
    1212 
     
    1717  OutFile "${OUTFILE}" 
    1818!else 
    19   OutFile jahplayer-${VERSION}-installer.exe 
     19  OutFile jahplayer-${VERSION}.exe 
    2020!endif 
    2121 
     
    5252;Pages 
    5353!define MUI_WELCOMEPAGE_TITLE "Welcome to the jahPlayer (v.${VERSION}) Setup Wizard" 
    54 !define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of the jahPlayer.\r\n\r\n$_CLICK" 
     54!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of jahPlayer.\r\n\r\n$_CLICK" 
    5555 
    5656!insertmacro MUI_PAGE_WELCOME 
     
    101101FunctionEnd 
    102102 
     103Section "Windows CRT DLLs" ms_crt_dlls 
     104 
     105  SectionIn 1 
     106  SetOutPath $INSTDIR 
     107 
     108  SetOverwrite on 
     109  SetShellVarContext all 
     110 
     111  SetDetailsPrint textonly 
     112  DetailPrint "Installing Windows VC redistributables..." 
     113  SetDetailsPrint listonly 
     114 
     115  SetOutPath $INSTDIR 
     116  File "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe" 
     117  File "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\product.xml" 
     118  ExecWait '"$INSTDIR\vcredist_x86.exe"' 
     119 
     120  SetDetailsPrint both 
     121 
     122SectionEnd 
     123 
     124Section "MSXML4 SP2" msxml2 
     125 
     126  SectionIn 1 
     127  SetOutPath $INSTDIR 
     128 
     129  SetOverwrite on 
     130  SetShellVarContext all 
     131 
     132  SetDetailsPrint textonly 
     133  DetailPrint "Installing MSXML4 SP2..." 
     134  SetDetailsPrint listonly 
     135 
     136  SetOutPath $INSTDIR 
     137  File "${OLIBS_PATH}\installer\msxml4.msi" 
     138 
     139  ExecWait 'MsiExec.exe /qn /x{2AEBE10C-D819-4EBF-BC60-03BF2327D340}'   ; uninstall MSXML4 if it's there 
     140  ExecWait 'MsiExec.exe /qn /x{35343FF7-939B-401A-87B3-FF90A5123D88}'   ; uninstall MSXML4 SP1 if it's there 
     141  ExecWait 'MsiExec.exe /qn /i "$INSTDIR\msxml4.msi"' 
     142   
     143  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenLibraries" "msxml2" "" 
     144 
     145  SetDetailsPrint both 
     146 
     147SectionEnd 
     148 
     149Section "OpenAL" openal 
     150 
     151  SectionIn 1 
     152  SetOutPath $INSTDIR 
     153 
     154  SetOverwrite on 
     155  SetShellVarContext all 
     156 
     157  SetDetailsPrint textonly 
     158  DetailPrint "Installing OpenAL..." 
     159  SetDetailsPrint listonly 
     160 
     161  SetOutPath $INSTDIR 
     162  File "C:\Program Files\OpenAL 1.1 SDK\redist\oalinst.exe" 
     163  ExecWait '"$INSTDIR\oalinst.exe" /S /D' 
     164 
     165  SetDetailsPrint both 
     166 
     167SectionEnd 
     168 
     169Section "OpenLibraries" olibs 
     170 
     171  SetDetailsPrint textonly 
     172  DetailPrint "Installing OpenLibraries..." 
     173  SetDetailsPrint listonly 
     174 
     175  SectionIn 1 RO 
     176  SetOutPath $INSTDIR 
     177 
     178  SetOverwrite on 
     179 
     180  SetOutPath $INSTDIR\openlibraries\bin 
     181  File "${OLIBS_PATH}\src\openpluginlib\pl\Multi-threaded Release DLL\openpluginlib_pl-vc80-r-0_4_1.dll" 
     182  File "${OLIBS_PATH}\src\openimagelib\il\Multi-threaded Release DLL\openimagelib_il-vc80-r-0_4_1.dll" 
     183  File "${OLIBS_PATH}\src\openmedialib\ml\Multi-threaded Release DLL\openmedialib_ml-vc80-r-0_4_1.dll" 
     184  File "${OLIBS_PATH}\src\openobjectlib\sg\Multi-threaded Release DLL\openobjectlib_sg-vc80-r-0_4_1.dll" 
     185  File "${OLIBS_PATH}\src\openassetlib\al\Multi-threaded Release DLL\openassetlib_al-vc80-r-0_4_1.dll" 
     186 
     187  ; dependencies 
     188  File "C:\Program Files\FFmpeg\lib\avcodec-51.dll" 
     189  File "C:\Program Files\FFmpeg\lib\avformat-51.dll" 
     190  File "C:\Program Files\FFmpeg\lib\avutil-49.dll" 
     191  File "C:\openexr-1.4.0-vs2005\bin\Half_dll.dll" 
     192  File "C:\openexr-1.4.0-vs2005\bin\IlmImf_dll.dll" 
     193  File "C:\openexr-1.4.0-vs2005\bin\Iex_dll.dll" 
     194  File "C:\openexr-1.4.0-vs2005\bin\Imath_dll.dll" 
     195  File "C:\openexr-1.4.0-vs2005\bin\zlib1.dll" 
     196  File "C:\openexr-1.4.0-vs2005\bin\IlmThread_dll.dll" 
     197  File "C:\SDL-1.2.11\lib\SDL.dll" 
     198  File "C:\Program Files\NVIDIA Corporation\Cg\bin\cg.dll" 
     199  File "C:\Program Files\NVIDIA Corporation\Cg\bin\cgGL.dll" 
     200  File "C:\windows\system32\msvcp71.dll" 
     201  File "C:\windows\system32\msvcr71.dll" 
     202  File "C:\windows\system32\glew32.dll" 
     203  File "C:\windows\system32\glut32.dll" 
     204  File "c:\windows\system32\python24.dll" 
     205  File "C:\Qt\3.3.6\bin\qt-mt336.dll" 
     206  File "c:\boost\lib\boost_python-vc80-mt-1_33_1.dll" 
     207 
     208  ; Python 
     209  SetOutPath $INSTDIR\openlibraries\python 
     210  File "${OLIBS_PATH}\src\openpluginlib\py\Multi-threaded Release DLL\openpluginlib.pyd" 
     211  File "${OLIBS_PATH}\src\openimagelib\py\Multi-threaded Release DLL\openimagelib.pyd" 
     212  File "${OLIBS_PATH}\src\openmedialib\py\Multi-threaded Release DLL\openmedialib.pyd" 
     213  File "${OLIBS_PATH}\src\openassetlib\py\Multi-threaded Release DLL\openassetlib.pyd" 
     214   
     215  SetOutPath $INSTDIR\openlibraries\plugins\release 
     216  File "${OLIBS_PATH}\src\openimagelib\plugins\3D_lightmap\3D_lightmap_plugin.opl" 
     217  File "${OLIBS_PATH}\src\openimagelib\plugins\3D_lightmap\Multi-threaded Release DLL\openimagelib_3D_lightmap-vc80-r-0_4_1.dll" 
     218  File "${OLIBS_PATH}\src\openimagelib\plugins\dds\dds_plugin.opl" 
     219  File "${OLIBS_PATH}\src\openimagelib\plugins\dds\Multi-threaded Release DLL\openimagelib_dds-vc80-r-0_4_1.dll" 
     220  File "${OLIBS_PATH}\src\openimagelib\plugins\dpx\dpx_plugin.opl" 
     221  File "${OLIBS_PATH}\src\openimagelib\plugins\dpx\Multi-threaded Release DLL\openimagelib_dpx-vc80-r-0_4_1.dll" 
     222  File "${OLIBS_PATH}\src\openimagelib\plugins\exr\exr_plugin.opl" 
     223  File "${OLIBS_PATH}\src\openimagelib\plugins\exr\Multi-threaded Release DLL\openimagelib_exr-vc80-r-0_4_1.dll" 
     224  File "${OLIBS_PATH}\src\openimagelib\plugins\gdi+\gdi_plugin.opl" 
     225  File "${OLIBS_PATH}\src\openimagelib\plugins\gdi+\Multi-threaded Release DLL\openimagelib_gdi-vc80-r-0_4_1.dll" 
     226  File "${OLIBS_PATH}\src\openimagelib\plugins\hdr\hdr_plugin.opl" 
     227  File "${OLIBS_PATH}\src\openimagelib\plugins\hdr\Multi-threaded Release DLL\openimagelib_hdr-vc80-r-0_4_1.dll" 
     228  File "${OLIBS_PATH}\src\openimagelib\plugins\sgi\sgi_plugin.opl" 
     229  File "${OLIBS_PATH}\src\openimagelib\plugins\sgi\Multi-threaded Release DLL\openimagelib_sgi-vc80-r-0_4_1.dll" 
     230  File "${OLIBS_PATH}\src\openimagelib\plugins\tga\tga_plugin.opl" 
     231  File "${OLIBS_PATH}\src\openimagelib\plugins\tga\Multi-threaded Release DLL\openimagelib_tga-vc80-r-0_4_1.dll" 
     232  File "${OLIBS_PATH}\src\openimagelib\plugins\qim\qim_plugin.opl" 
     233  File "${OLIBS_PATH}\src\openimagelib\plugins\qim\Multi-threaded Release DLL\openimagelib_qim-vc80-r-0_4_1.dll" 
     234  File "${OLIBS_PATH}\src\openmedialib\plugins\avformat\avformat_plugin.opl" 
     235  File "${OLIBS_PATH}\src\openmedialib\plugins\avformat\Multi-threaded Release DLL\openmedialib_avformat-vc80-r-0_4_1.dll" 
     236  File "${OLIBS_PATH}\src\openmedialib\plugins\glew\glew_plugin.opl" 
     237  File "${OLIBS_PATH}\src\openmedialib\plugins\glew\Multi-threaded Release DLL\openmedialib_glew-vc80-r-0_4_1.dll" 
     238  File "${OLIBS_PATH}\src\openmedialib\plugins\oil\oil_plugin.opl" 
     239  File "${OLIBS_PATH}\src\openmedialib\plugins\oil\Multi-threaded Release DLL\openmedialib_oil-vc80-r-0_4_1.dll" 
     240  File "${OLIBS_PATH}\src\openmedialib\plugins\openal\openal_plugin.opl" 
     241  File "${OLIBS_PATH}\src\openmedialib\plugins\openal\Multi-threaded Release DLL\openmedialib_openal-vc80-r-0_4_1.dll" 
     242  File "${OLIBS_PATH}\src\openmedialib\plugins\template\template_plugin.opl" 
     243  File "${OLIBS_PATH}\src\openmedialib\plugins\template\Multi-threaded Release DLL\openmedialib_template-vc80-r-0_4_1.dll" 
     244  File "${OLIBS_PATH}\src\openmedialib\plugins\gensys\gensys_plugin.opl" 
     245  File "${OLIBS_PATH}\src\openmedialib\plugins\gensys\Multi-threaded Release DLL\openmedialib_gensys-vc80-r-0_4_1.dll" 
     246  File "${OLIBS_PATH}\src\openmedialib\plugins\quicktime\quicktime_plugin.opl" 
     247  File "${OLIBS_PATH}\src\openmedialib\plugins\quicktime\Multi-threaded Release DLL\openmedialib_quicktime-vc80-r-0_4_1.dll" 
     248  File "${OLIBS_PATH}\src\openmedialib\plugins\sdl\sdl_plugin.opl" 
     249  File "${OLIBS_PATH}\src\openmedialib\plugins\sdl\Multi-threaded Release DLL\openmedialib_sdl-vc80-r-0_4_1.dll" 
     250  File "${OLIBS_PATH}\src\openobjectlib\plugins\3ds\3ds_plugin.opl" 
     251  File "${OLIBS_PATH}\src\openobjectlib\plugins\3ds\Multi-threaded Release DLL\openobjectlib_3ds-vc80-r-0_4_1.dll" 
     252  File "${OLIBS_PATH}\src\openobjectlib\plugins\obj\obj_plugin.opl" 
     253  File "${OLIBS_PATH}\src\openobjectlib\plugins\obj\Multi-threaded Release DLL\openobjectlib_obj-vc80-r-0_4_1.dll" 
     254  File "${OLIBS_PATH}\src\openobjectlib\plugins\tsto\tsto_plugin.opl" 
     255  File "${OLIBS_PATH}\src\openobjectlib\plugins\tsto\Multi-threaded Release DLL\openobjectlib_tsto-vc80-r-0_4_1.dll" 
     256  File "${OLIBS_PATH}\src\openobjectlib\plugins\X3D\x3d_plugin.opl" 
     257  File "${OLIBS_PATH}\src\openobjectlib\plugins\X3D\Multi-threaded Release DLL\openobjectlib_x3d-vc80-r-0_4_1.dll" 
     258  File "${OLIBS_PATH}\src\openobjectlib\plugins\Collada\collada_plugin.opl" 
     259  File "${OLIBS_PATH}\src\openobjectlib\plugins\Collada\Multi-threaded Release DLL\openobjectlib_collada-vc80-r-0_4_1.dll" 
     260  File "${OLIBS_PATH}\src\openeffectslib\plugins\tonemap\tonemap_plugin.opl" 
     261  File "${OLIBS_PATH}\src\openeffectslib\plugins\tonemap\Multi-threaded Release DLL\openeffectslib_tonemap-vc80-r-0_4_1.dll" 
     262  File "${OLIBS_PATH}\src\openassetlib\plugins\filesystem_storage_plugin\filesystem_storage_plugin.opl" 
     263  File "${OLIBS_PATH}\src\openassetlib\plugins\filesystem_storage_plugin\Multi-threaded Release DLL\openassetlib_filesystem-vc80-r-0_4_1.dll" 
     264  File "${OLIBS_PATH}\src\openassetlib\plugins\sqlite3_metadata_plugin\sqlite3_metadata_plugin.opl" 
     265  File "${OLIBS_PATH}\src\openassetlib\plugins\sqlite3_metadata_plugin\Multi-threaded Release DLL\openassetlib_sqlite3-vc80-r-0_4_1.dll" 
     266   
     267  SetOutPath $INSTDIR\openlibraries\kernels 
     268  File "${OLIBS_PATH}\effects\kernels\sepia.gpu_kernel" 
     269   
     270  SetOutPath $INSTDIR\openlibraries\shaders 
     271  File "${OLIBS_PATH}\effects\shaders\sepia.cg" 
     272  File "${OLIBS_PATH}\effects\shaders\sepia.frag" 
     273  File "${OLIBS_PATH}\effects\shaders\fixed_function.vert" 
     274  File "${OLIBS_PATH}\effects\shaders\passthrough.vert" 
     275  File "${OLIBS_PATH}\effects\shaders\passthrough.cg" 
     276  File "${OLIBS_PATH}\effects\shaders\rgb_to_yuv444.frag" 
     277  File "${OLIBS_PATH}\effects\shaders\yuv444_to_rgb.frag" 
     278  File "${OLIBS_PATH}\effects\shaders\yuv444_to_rgb.cg" 
     279  File "${OLIBS_PATH}\effects\shaders\yuv444_to_rgb_deinterlace.cg" 
     280  File "${OLIBS_PATH}\effects\shaders\yuv444_to_rgb_deinterlace.frag" 
     281  File "${OLIBS_PATH}\effects\shaders\histogram.cg" 
     282  File "${OLIBS_PATH}\effects\shaders\histogram.frag" 
     283  File "${OLIBS_PATH}\effects\shaders\channel_selector.cg" 
     284  File "${OLIBS_PATH}\effects\shaders\channel_selector.frag" 
     285  
     286  SetDetailsPrint both 
     287 
     288SectionEnd 
     289 
    103290Section "jahPlayer" SecCore 
    104291 
     
    110297   
    111298  SetDetailsPrint textonly 
    112   DetailPrint "Installing jahPlayer..." 
     299  DetailPrint "Installing jahPlayer & jPlayer..." 
    113300  SetDetailsPrint listonly 
    114301 
    115302  SetOutPath $INSTDIR\jahPlayer 
    116303  File /r "..\jahPlayer\dist\*" 
    117    
     304  File "run_jahplayer.cmd" 
     305 
    118306  SetOutPath $INSTDIR\jahTools 
    119307  SetOutPath $INSTDIR\jahTools\encoder 
     
    123311 
    124312  SetOutPath $INSTDIR\jahPlayer 
    125   CreateDirectory "$SMPROGRAMS\jahshaka" 
    126   CreateShortCut "$SMPROGRAMS\jahshaka\jahPlayer.lnk" "$INSTDIR\jahPlayer\jahPlayer.exe" 
    127   CreateShortCut "$DESKTOP\jahPlayer.lnk" "$INSTDIR\jahPlayer\jahplayer.exe" 
     313  CreateShortCut "$SMPROGRAMS\jahPlayer.lnk" "$INSTDIR\jahPlayer\run_jahPlayer.cmd" '' "$INSTDIR\jahPlayer\jahPlayer.exe" 0 SW_SHOWMINIMIZED 
     314  CreateShortCut "$DESKTOP\jahPlayer.lnk" "$INSTDIR\jahPlayer\run_jahPlayer.cmd" '' "$INSTDIR\jahPlayer\jahPlayer.exe" 0 SW_SHOWMINIMIZED 
    128315 
    129316  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "DisplayName" "jahPlayer" 
    130   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "UninstallString" "$INSTDIR\uninst-jahplayer.exe" 
     317  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "UninstallString" "$INSTDIR\uninst-jahPlayer.exe" 
    131318 
    132319  Push "JAHTOOLSPATH" 
     
    136323SectionEnd 
    137324 
    138 Section "OpenLibraries" olib 
    139  
    140   SectionIn 1 
    141   SetOutPath $INSTDIR 
    142  
    143   SetOverwrite on 
    144   SetShellVarContext all 
    145  
    146   SetDetailsPrint textonly 
    147   DetailPrint "Installing OpenLibraries..." 
    148   SetDetailsPrint listonly 
    149  
    150   SetOutPath $INSTDIR 
    151   File openlibraries-${OLIB_VERSION}-runtime.exe 
    152   ExecWait '"$INSTDIR\openlibraries-${OLIB_VERSION}-runtime.exe" /S /D' 
    153    
    154   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "olibs" "true" 
    155  
    156   SetDetailsPrint both 
    157  
    158 SectionEnd 
    159  
    160325Section -post 
    161326 
    162         WriteUninstaller $INSTDIR\uninst-jahplayer.exe 
     327        WriteUninstaller $INSTDIR\uninst-jahPlayer.exe 
    163328 
    164329SectionEnd 
     
    168333 
    169334!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN 
     335  !insertmacro MUI_DESCRIPTION_TEXT ${ms_crt_dlls} "Windows CRT DLLs" 
     336  !insertmacro MUI_DESCRIPTION_TEXT ${msxml2} "MSXML2 SP2" 
     337  !insertmacro MUI_DESCRIPTION_TEXT ${openal} "OpenAL" 
     338  !insertmacro MUI_DESCRIPTION_TEXT ${olibs} "OpenLibraries runtime files" 
    170339  !insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "jahPlayer runtime files" 
    171   !insertmacro MUI_DESCRIPTION_TEXT ${olib} "OpenLibraries runtime files" 
    172340!insertmacro MUI_FUNCTION_DESCRIPTION_END 
    173341 
     
    182350   
    183351  SetShellVarContext all 
    184  
     352         
    185353  ;-- Remove registry keys 
     354  DeleteRegKey HKLM "Software\jahPlayer" 
    186355  DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" 
    187356 
     
    190359  Call un.DeleteEnvStr 
    191360 
    192   ;-- Remove desktop and start->Programs->Jahplayer shortcuts 
     361  ;-- Remove desktop and start->Programs->jahPlayer shortcuts 
    193362  Delete $DESKTOP\jahPlayer.lnk 
    194363  RMDir /r $SMPROGRAMS\jahshaka 
    195   Delete $SMPROGRAMS\jahPlayer.lnk 
    196364 
    197365  ;-- Remove install directory 
  • trunk/installer/jahplayer_bundle.nsi

    r681 r902  
    44 
    55!ifndef VERSION 
    6   !define VERSION 0.2.2 
     6  !define VERSION 20070822 
    77!endif 
    88 
    9  
    10 !ifndef OLIB_VERSION 
    11   !define OLIB_VERSION 0.4.1 
     9!ifndef OLIBS_PATH 
     10  !define OLIBS_PATH "$%OLIBS_DEVEL_ROOT%" 
    1211!endif 
    1312 
     
    102101FunctionEnd 
    103102 
     103Section "Windows CRT DLLs" ms_crt_dlls 
     104 
     105  SectionIn 1 
     106  SetOutPath $INSTDIR 
     107 
     108  SetOverwrite on 
     109  SetShellVarContext all 
     110 
     111  SetDetailsPrint textonly 
     112  DetailPrint "Installing Windows VC redistributables..." 
     113  SetDetailsPrint listonly 
     114 
     115  SetOutPath $INSTDIR 
     116  File "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe" 
     117  File "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\product.xml" 
     118  ExecWait '"$INSTDIR\vcredist_x86.exe"' 
     119 
     120  SetDetailsPrint both 
     121 
     122SectionEnd 
     123 
     124Section "MSXML4 SP2" msxml2 
     125 
     126  SectionIn 1 
     127  SetOutPath $INSTDIR 
     128 
     129  SetOverwrite on 
     130  SetShellVarContext all 
     131 
     132  SetDetailsPrint textonly 
     133  DetailPrint "Installing MSXML4 SP2..." 
     134  SetDetailsPrint listonly 
     135 
     136  SetOutPath $INSTDIR 
     137  File "${OLIBS_PATH}\installer\msxml4.msi" 
     138 
     139  ExecWait 'MsiExec.exe /qn /x{2AEBE10C-D819-4EBF-BC60-03BF2327D340}'   ; uninstall MSXML4 if it's there 
     140  ExecWait 'MsiExec.exe /qn /x{35343FF7-939B-401A-87B3-FF90A5123D88}'   ; uninstall MSXML4 SP1 if it's there 
     141  ExecWait 'MsiExec.exe /qn /i "$INSTDIR\msxml4.msi"' 
     142   
     143  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenLibraries" "msxml2" "" 
     144 
     145  SetDetailsPrint both 
     146 
     147SectionEnd 
     148 
     149Section "OpenAL" openal 
     150 
     151  SectionIn 1 
     152  SetOutPath $INSTDIR 
     153 
     154  SetOverwrite on 
     155  SetShellVarContext all 
     156 
     157  SetDetailsPrint textonly 
     158  DetailPrint "Installing OpenAL..." 
     159  SetDetailsPrint listonly 
     160 
     161  SetOutPath $INSTDIR 
     162  File "C:\Program Files\OpenAL 1.1 SDK\redist\oalinst.exe" 
     163  ExecWait '"$INSTDIR\oalinst.exe" /S /D' 
     164 
     165  SetDetailsPrint both 
     166 
     167SectionEnd 
     168 
     169Section "OpenLibraries" olibs 
     170 
     171  SetDetailsPrint textonly 
     172  DetailPrint "Installing OpenLibraries..." 
     173  SetDetailsPrint listonly 
     174 
     175  SectionIn 1 RO 
     176  SetOutPath $INSTDIR 
     177 
     178  SetOverwrite on 
     179 
     180  SetOutPath $INSTDIR\openlibraries\bin 
     181  File "${OLIBS_PATH}\src\openpluginlib\pl\Multi-threaded Release DLL\openpluginlib_pl-vc80-r-0_4_1.dll" 
     182  File "${OLIBS_PATH}\src\openimagelib\il\Multi-threaded Release DLL\openimagelib_il-vc80-r-0_4_1.dll" 
     183  File "${OLIBS_PATH}\src\openmedialib\ml\Multi-threaded Release DLL\openmedialib_ml-vc80-r-0_4_1.dll" 
     184  File "${OLIBS_PATH}\src\openobjectlib\sg\Multi-threaded Release DLL\openobjectlib_sg-vc80-r-0_4_1.dll" 
     185  File "${OLIBS_PATH}\src\openassetlib\al\Multi-threaded Release DLL\openassetlib_al-vc80-r-0_4_1.dll" 
     186 
     187  ; dependencies 
     188  File "C:\Program Files\FFmpeg\lib\avcodec-51.dll" 
     189  File "C:\Program Files\FFmpeg\lib\avformat-51.dll" 
     190  File "C:\Program Files\FFmpeg\lib\avutil-49.dll" 
     191  File "C:\openexr-1.4.0-vs2005\bin\Half_dll.dll" 
     192  File "C:\openexr-1.4.0-vs2005\bin\IlmImf_dll.dll" 
     193  File "C:\openexr-1.4.0-vs2005\bin\Iex_dll.dll" 
     194  File "C:\openexr-1.4.0-vs2005\bin\Imath_dll.dll" 
     195  File "C:\openexr-1.4.0-vs2005\bin\zlib1.dll" 
     196  File "C:\openexr-1.4.0-vs2005\bin\IlmThread_dll.dll" 
     197  File "C:\SDL-1.2.11\lib\SDL.dll" 
     198  File "C:\Program Files\NVIDIA Corporation\Cg\bin\cg.dll" 
     199  File "C:\Program Files\NVIDIA Corporation\Cg\bin\cgGL.dll" 
     200  File "C:\windows\system32\msvcp71.dll" 
     201  File "C:\windows\system32\msvcr71.dll" 
     202  File "C:\windows\system32\glew32.dll" 
     203  File "C:\windows\system32\glut32.dll" 
     204  File "c:\windows\system32\python24.dll" 
     205  File "C:\Qt\3.3.6\bin\qt-mt336.dll" 
     206  File "c:\boost\lib\boost_python-vc80-mt-1_33_1.dll" 
     207 
     208  ; Python 
     209  SetOutPath $INSTDIR\openlibraries\python 
     210  File "${OLIBS_PATH}\src\openpluginlib\py\Multi-threaded Release DLL\openpluginlib.pyd" 
     211  File "${OLIBS_PATH}\src\openimagelib\py\Multi-threaded Release DLL\openimagelib.pyd" 
     212  File "${OLIBS_PATH}\src\openmedialib\py\Multi-threaded Release DLL\openmedialib.pyd" 
     213  File "${OLIBS_PATH}\src\openassetlib\py\Multi-threaded Release DLL\openassetlib.pyd" 
     214   
     215  SetOutPath $INSTDIR\openlibraries\plugins\release 
     216  File "${OLIBS_PATH}\src\openimagelib\plugins\3D_lightmap\3D_lightmap_plugin.opl" 
     217  File "${OLIBS_PATH}\src\openimagelib\plugins\3D_lightmap\Multi-threaded Release DLL\openimagelib_3D_lightmap-vc80-r-0_4_1.dll" 
     218  File "${OLIBS_PATH}\src\openimagelib\plugins\dds\dds_plugin.opl" 
     219  File "${OLIBS_PATH}\src\openimagelib\plugins\dds\Multi-threaded Release DLL\openimagelib_dds-vc80-r-0_4_1.dll" 
     220  File "${OLIBS_PATH}\src\openimagelib\plugins\dpx\dpx_plugin.opl" 
     221  File "${OLIBS_PATH}\src\openimagelib\plugins\dpx\Multi-threaded Release DLL\openimagelib_dpx-vc80-r-0_4_1.dll" 
     222  File "${OLIBS_PATH}\src\openimagelib\plugins\exr\exr_plugin.opl" 
     223  File "${OLIBS_PATH}\src\openimagelib\plugins\exr\Multi-threaded Release DLL\openimagelib_exr-vc80-r-0_4_1.dll" 
     224  File "${OLIBS_PATH}\src\openimagelib\plugins\gdi+\gdi_plugin.opl" 
     225  File "${OLIBS_PATH}\src\openimagelib\plugins\gdi+\Multi-threaded Release DLL\openimagelib_gdi-vc80-r-0_4_1.dll" 
     226  File "${OLIBS_PATH}\src\openimagelib\plugins\hdr\hdr_plugin.opl" 
     227  File "${OLIBS_PATH}\src\openimagelib\plugins\hdr\Multi-threaded Release DLL\openimagelib_hdr-vc80-r-0_4_1.dll" 
     228  File "${OLIBS_PATH}\src\openimagelib\plugins\sgi\sgi_plugin.opl" 
     229  File "${OLIBS_PATH}\src\openimagelib\plugins\sgi\Multi-threaded Release DLL\openimagelib_sgi-vc80-r-0_4_1.dll" 
     230  File "${OLIBS_PATH}\src\openimagelib\plugins\tga\tga_plugin.opl" 
     231  File "${OLIBS_PATH}\src\openimagelib\plugins\tga\Multi-threaded Release DLL\openimagelib_tga-vc80-r-0_4_1.dll" 
     232  File "${OLIBS_PATH}\src\openimagelib\plugins\qim\qim_plugin.opl" 
     233  File "${OLIBS_PATH}\src\openimagelib\plugins\qim\Multi-threaded Release DLL\openimagelib_qim-vc80-r-0_4_1.dll" 
     234  File "${OLIBS_PATH}\src\openmedialib\plugins\avformat\avformat_plugin.opl" 
     235  File "${OLIBS_PATH}\src\openmedialib\plugins\avformat\Multi-threaded Release DLL\openmedialib_avformat-vc80-r-0_4_1.dll" 
     236  File "${OLIBS_PATH}\src\openmedialib\plugins\glew\glew_plugin.opl" 
     237  File "${OLIBS_PATH}\src\openmedialib\plugins\glew\Multi-threaded Release DLL\openmedialib_glew-vc80-r-0_4_1.dll" 
     238  File "${OLIBS_PATH}\src\openmedialib\plugins\oil\oil_plugin.opl" 
     239  File "${OLIBS_PATH}\src\openmedialib\plugins\oil\Multi-threaded Release DLL\openmedialib_oil-vc80-r-0_4_1.dll" 
     240  File "${OLIBS_PATH}\src\openmedialib\plugins\openal\openal_plugin.opl" 
     241  File "${OLIBS_PATH}\src\openmedialib\plugins\openal\Multi-threaded Release DLL\openmedialib_openal-vc80-r-0_4_1.dll" 
     242  File "${OLIBS_PATH}\src\openmedialib\plugins\template\template_plugin.opl" 
     243  File "${OLIBS_PATH}\src\openmedialib\plugins\template\Multi-threaded Release DLL\openmedialib_template-vc80-r-0_4_1.dll" 
     244  File "${OLIBS_PATH}\src\openmedialib\plugins\gensys\gensys_plugin.opl" 
     245  File "${OLIBS_PATH}\src\openmedialib\plugins\gensys\Multi-threaded Release DLL\openmedialib_gensys-vc80-r-0_4_1.dll" 
     246  File "${OLIBS_PATH}\src\openmedialib\plugins\quicktime\quicktime_plugin.opl" 
     247  File "${OLIBS_PATH}\src\openmedialib\plugins\quicktime\Multi-threaded Release DLL\openmedialib_quicktime-vc80-r-0_4_1.dll" 
     248  File "${OLIBS_PATH}\src\openmedialib\plugins\sdl\sdl_plugin.opl" 
     249  File "${OLIBS_PATH}\src\openmedialib\plugins\sdl\Multi-threaded Release DLL\openmedialib_sdl-vc80-r-0_4_1.dll" 
     250  File "${OLIBS_PATH}\src\openobjectlib\plugins\3ds\3ds_plugin.opl" 
     251  File "${OLIBS_PATH}\src\openobjectlib\plugins\3ds\Multi-threaded Release DLL\openobjectlib_3ds-vc80-r-0_4_1.dll" 
     252  File "${OLIBS_PATH}\src\openobjectlib\plugins\obj\obj_plugin.opl" 
     253  File "${OLIBS_PATH}\src\openobjectlib\plugins\obj\Multi-threaded Release DLL\openobjectlib_obj-vc80-r-0_4_1.dll" 
     254  File "${OLIBS_PATH}\src\openobjectlib\plugins\tsto\tsto_plugin.opl" 
     255  File "${OLIBS_PATH}\src\openobjectlib\plugins\tsto\Multi-threaded Release DLL\openobjectlib_tsto-vc80-r-0_4_1.dll" 
     256  File "${OLIBS_PATH}\src\openobjectlib\plugins\X3D\x3d_plugin.opl" 
     257  File "${OLIBS_PATH}\src\openobjectlib\plugins\X3D\Multi-threaded Release DLL\openobjectlib_x3d-vc80-r-0_4_1.dll" 
     258  File "${OLIBS_PATH}\src\openobjectlib\plugins\Collada\collada_plugin.opl" 
     259  File "${OLIBS_PATH}\src\openobjectlib\plugins\Collada\Multi-threaded Release DLL\openobjectlib_collada-vc80-r-0_4_1.dll" 
     260  File "${OLIBS_PATH}\src\openeffectslib\plugins\tonemap\tonemap_plugin.opl" 
     261  File "${OLIBS_PATH}\src\openeffectslib\plugins\tonemap\Multi-threaded Release DLL\openeffectslib_tonemap-vc80-r-0_4_1.dll" 
     262  File "${OLIBS_PATH}\src\openassetlib\plugins\filesystem_storage_plugin\filesystem_storage_plugin.opl" 
     263  File "${OLIBS_PATH}\src\openassetlib\plugins\filesystem_storage_plugin\Multi-threaded Release DLL\openassetlib_filesystem-vc80-r-0_4_1.dll" 
     264  File "${OLIBS_PATH}\src\openassetlib\plugins\sqlite3_metadata_plugin\sqlite3_metadata_plugin.opl" 
     265  File "${OLIBS_PATH}\src\openassetlib\plugins\sqlite3_metadata_plugin\Multi-threaded Release DLL\openassetlib_sqlite3-vc80-r-0_4_1.dll" 
     266   
     267  SetOutPath $INSTDIR\openlibraries\kernels 
     268  File "${OLIBS_PATH}\effects\kernels\sepia.gpu_kernel" 
     269   
     270  SetOutPath $INSTDIR\openlibraries\shaders 
     271  File "${OLIBS_PATH}\effects\shaders\sepia.cg" 
     272  File "${OLIBS_PATH}\effects\shaders\sepia.frag" 
     273  File "${OLIBS_PATH}\effects\shaders\fixed_function.vert" 
     274  File "${OLIBS_PATH}\effects\shaders\passthrough.vert" 
     275  File "${OLIBS_PATH}\effects\shaders\passthrough.cg" 
     276  File "${OLIBS_PATH}\effects\shaders\rgb_to_yuv444.frag" 
     277  File "${OLIBS_PATH}\effects\shaders\yuv444_to_rgb.frag" 
     278  File "${OLIBS_PATH}\effects\shaders\yuv444_to_rgb.cg" 
     279  File "${OLIBS_PATH}\effects\shaders\yuv444_to_rgb_deinterlace.cg" 
     280  File "${OLIBS_PATH}\effects\shaders\yuv444_to_rgb_deinterlace.frag" 
     281  File "${OLIBS_PATH}\effects\shaders\histogram.cg" 
     282  File "${OLIBS_PATH}\effects\shaders\histogram.frag" 
     283  File "${OLIBS_PATH}\effects\shaders\channel_selector.cg" 
     284  File "${OLIBS_PATH}\effects\shaders\channel_selector.frag" 
     285  
     286  SetDetailsPrint both 
     287 
     288SectionEnd 
     289 
    104290Section "jahPlayer" SecCore 
    105291 
     
    111297   
    112298  SetDetailsPrint textonly 
    113   DetailPrint "Installing jahPlayer..." 
     299  DetailPrint "Installing jahPlayer & jPlayer..." 
    114300  SetDetailsPrint listonly 
    115301 
    116302  SetOutPath $INSTDIR\jahPlayer 
    117303  File /r "..\jahPlayer\dist\*" 
     304  File "run_jahplayer.cmd" 
    118305 
    119306  SetOutPath $INSTDIR\jahTools 
     
    124311  SetOutPath $INSTDIR\jahTools\jPlayer 
    125312  File /r "..\jahTools\jPlayer\dist\*" 
     313  File "run_jplayer.cmd" 
    126314 
    127315  SetDetailsPrint both 
     
    129317  SetOutPath $INSTDIR\jahPlayer 
    130318  CreateDirectory "$SMPROGRAMS\jahshaka" 
    131   CreateShortCut "$SMPROGRAMS\jahshaka\jahPlayer.lnk" "$INSTDIR\jahPlayer\jahPlayer.exe" 
    132   CreateShortCut "$DESKTOP\jahPlayer.lnk" "$INSTDIR\jahPlayer\jahPlayer.exe" 
     319  CreateShortCut "$SMPROGRAMS\jahshaka\jahPlayer.lnk" "$INSTDIR\jahPlayer\run_jahPlayer.cmd" '' "$INSTDIR\jahPlayer\jahPlayer.exe" 0 SW_SHOWMINIMIZED 
     320  CreateShortCut "$DESKTOP\jahPlayer.lnk" "$INSTDIR\jahPlayer\run_jahPlayer.cmd" '' "$INSTDIR\jahPlayer\jahPlayer.exe" 0 SW_SHOWMINIMIZED 
    133321 
    134322  SetOutPath $INSTDIR\jahTools\jPlayer 
    135323  CreateDirectory "$SMPROGRAMS\jahshaka\jahTools" 
    136   CreateShortCut "$SMPROGRAMS\jahshaka\jahTools\jPlayer.lnk" "$INSTDIR\jahTools\jPlayer\jPlayer.exe" 
    137   CreateShortCut "$DESKTOP\jPlayer.lnk" "$INSTDIR\jahTools\jPlayer\jPlayer.exe" 
     324  CreateShortCut "$SMPROGRAMS\jahshaka\jahTools\jPlayer.lnk" "$INSTDIR\jahTools\jPlayer\run_jPlayer.cmd" '' "$INSTDIR\jahTools\jPlayer\jPlayer.exe" 0 SW_SHOWMINIMIZED 
     325  CreateShortCut "$DESKTOP\jPlayer.lnk" "$INSTDIR\jahTools\jPlayer\run_jPlayer.cmd" '' "$INSTDIR\jahTools\jPlayer\jPlayer.exe" 0 SW_SHOWMINIMIZED 
    138326 
    139327  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "DisplayName" "jahPlayer" 
     
    149337SectionEnd 
    150338 
    151 Section "OpenLibraries" olib 
    152  
    153   SectionIn 1 
    154   SetOutPath $INSTDIR 
    155  
    156   SetOverwrite on 
    157   SetShellVarContext all 
    158  
    159   SetDetailsPrint textonly 
    160   DetailPrint "Installing OpenLibraries..." 
    161   SetDetailsPrint listonly 
    162  
    163   SetOutPath $INSTDIR 
    164   File openlibraries-${OLIB_VERSION}-runtime.exe 
    165   ExecWait '"$INSTDIR\openlibraries-${OLIB_VERSION}-runtime.exe" /S /D' 
    166    
    167   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "olibs" "true" 
    168  
    169   SetDetailsPrint both 
    170  
    171 SectionEnd 
    172  
    173339Section -post 
    174340 
     
    181347 
    182348!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN 
     349  !insertmacro MUI_DESCRIPTION_TEXT ${ms_crt_dlls} "Windows CRT DLLs" 
     350  !insertmacro MUI_DESCRIPTION_TEXT ${msxml2} "MSXML2 SP2" 
     351  !insertmacro MUI_DESCRIPTION_TEXT ${openal} "OpenAL" 
     352  !insertmacro MUI_DESCRIPTION_TEXT ${olibs} "OpenLibraries runtime files" 
    183353  !insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "jahPlayer runtime files" 
    184   !insertmacro MUI_DESCRIPTION_TEXT ${olib} "OpenLibraries runtime files" 
    185354!insertmacro MUI_FUNCTION_DESCRIPTION_END 
    186355 
     
    195364   
    196365  SetShellVarContext all 
    197    
    198   ;ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "olibs" 
    199   ;StrCmp $R0 "" skip_olib_uninstall 
    200   ;  ;-- Remove OpenLibraries 
    201   ;  ReadEnvStr $0 PYTHONPATH 
    202   ;  ExecWait '"$0\..\uninst-openlibraries.exe" /S /D' 
    203366         
    204   ;skip_olib_uninstall: 
    205  
    206367  ;-- Remove registry keys 
     368  DeleteRegKey HKLM "Software\jahPlayer" 
    207369  DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" 
    208370