Changeset 902
- Timestamp:
- 09/24/07 05:14:07 (1 year ago)
- Location:
- trunk/installer
- Files:
-
- 2 modified
-
jahplayer.nsi (modified) (10 diffs)
-
jahplayer_bundle.nsi (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/installer/jahplayer.nsi
r681 r902 1 1 ;-------------------------------- 2 ;NSIS JahplayerInstallation Script2 ;NSIS jahPlayer bundle Installation Script 3 3 ;-------------------------------- 4 4 5 5 !ifndef VERSION 6 !define VERSION 0.2.26 !define VERSION 20070828 7 7 !endif 8 8 9 !ifndef OLIB _VERSION10 !define OLIB _VERSION 0.4.19 !ifndef OLIBS_PATH 10 !define OLIBS_PATH "$%OLIBS_DEVEL_ROOT%" 11 11 !endif 12 12 … … 17 17 OutFile "${OUTFILE}" 18 18 !else 19 OutFile jahplayer-${VERSION} -installer.exe19 OutFile jahplayer-${VERSION}.exe 20 20 !endif 21 21 … … 52 52 ;Pages 53 53 !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 thejahPlayer.\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" 55 55 56 56 !insertmacro MUI_PAGE_WELCOME … … 101 101 FunctionEnd 102 102 103 Section "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 122 SectionEnd 123 124 Section "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 147 SectionEnd 148 149 Section "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 167 SectionEnd 168 169 Section "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 288 SectionEnd 289 103 290 Section "jahPlayer" SecCore 104 291 … … 110 297 111 298 SetDetailsPrint textonly 112 DetailPrint "Installing jahPlayer ..."299 DetailPrint "Installing jahPlayer & jPlayer..." 113 300 SetDetailsPrint listonly 114 301 115 302 SetOutPath $INSTDIR\jahPlayer 116 303 File /r "..\jahPlayer\dist\*" 117 304 File "run_jahplayer.cmd" 305 118 306 SetOutPath $INSTDIR\jahTools 119 307 SetOutPath $INSTDIR\jahTools\encoder … … 123 311 124 312 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 128 315 129 316 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "DisplayName" "jahPlayer" 130 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "UninstallString" "$INSTDIR\uninst-jah player.exe"317 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "UninstallString" "$INSTDIR\uninst-jahPlayer.exe" 131 318 132 319 Push "JAHTOOLSPATH" … … 136 323 SectionEnd 137 324 138 Section "OpenLibraries" olib139 140 SectionIn 1141 SetOutPath $INSTDIR142 143 SetOverwrite on144 SetShellVarContext all145 146 SetDetailsPrint textonly147 DetailPrint "Installing OpenLibraries..."148 SetDetailsPrint listonly149 150 SetOutPath $INSTDIR151 File openlibraries-${OLIB_VERSION}-runtime.exe152 ExecWait '"$INSTDIR\openlibraries-${OLIB_VERSION}-runtime.exe" /S /D'153 154 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "olibs" "true"155 156 SetDetailsPrint both157 158 SectionEnd159 160 325 Section -post 161 326 162 WriteUninstaller $INSTDIR\uninst-jah player.exe327 WriteUninstaller $INSTDIR\uninst-jahPlayer.exe 163 328 164 329 SectionEnd … … 168 333 169 334 !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" 170 339 !insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "jahPlayer runtime files" 171 !insertmacro MUI_DESCRIPTION_TEXT ${olib} "OpenLibraries runtime files"172 340 !insertmacro MUI_FUNCTION_DESCRIPTION_END 173 341 … … 182 350 183 351 SetShellVarContext all 184 352 185 353 ;-- Remove registry keys 354 DeleteRegKey HKLM "Software\jahPlayer" 186 355 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" 187 356 … … 190 359 Call un.DeleteEnvStr 191 360 192 ;-- Remove desktop and start->Programs-> Jahplayer shortcuts361 ;-- Remove desktop and start->Programs->jahPlayer shortcuts 193 362 Delete $DESKTOP\jahPlayer.lnk 194 363 RMDir /r $SMPROGRAMS\jahshaka 195 Delete $SMPROGRAMS\jahPlayer.lnk196 364 197 365 ;-- Remove install directory -
trunk/installer/jahplayer_bundle.nsi
r681 r902 4 4 5 5 !ifndef VERSION 6 !define VERSION 0.2.26 !define VERSION 20070822 7 7 !endif 8 8 9 10 !ifndef OLIB_VERSION 11 !define OLIB_VERSION 0.4.1 9 !ifndef OLIBS_PATH 10 !define OLIBS_PATH "$%OLIBS_DEVEL_ROOT%" 12 11 !endif 13 12 … … 102 101 FunctionEnd 103 102 103 Section "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 122 SectionEnd 123 124 Section "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 147 SectionEnd 148 149 Section "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 167 SectionEnd 168 169 Section "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 288 SectionEnd 289 104 290 Section "jahPlayer" SecCore 105 291 … … 111 297 112 298 SetDetailsPrint textonly 113 DetailPrint "Installing jahPlayer ..."299 DetailPrint "Installing jahPlayer & jPlayer..." 114 300 SetDetailsPrint listonly 115 301 116 302 SetOutPath $INSTDIR\jahPlayer 117 303 File /r "..\jahPlayer\dist\*" 304 File "run_jahplayer.cmd" 118 305 119 306 SetOutPath $INSTDIR\jahTools … … 124 311 SetOutPath $INSTDIR\jahTools\jPlayer 125 312 File /r "..\jahTools\jPlayer\dist\*" 313 File "run_jplayer.cmd" 126 314 127 315 SetDetailsPrint both … … 129 317 SetOutPath $INSTDIR\jahPlayer 130 318 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 133 321 134 322 SetOutPath $INSTDIR\jahTools\jPlayer 135 323 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 138 326 139 327 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "DisplayName" "jahPlayer" … … 149 337 SectionEnd 150 338 151 Section "OpenLibraries" olib152 153 SectionIn 1154 SetOutPath $INSTDIR155 156 SetOverwrite on157 SetShellVarContext all158 159 SetDetailsPrint textonly160 DetailPrint "Installing OpenLibraries..."161 SetDetailsPrint listonly162 163 SetOutPath $INSTDIR164 File openlibraries-${OLIB_VERSION}-runtime.exe165 ExecWait '"$INSTDIR\openlibraries-${OLIB_VERSION}-runtime.exe" /S /D'166 167 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "olibs" "true"168 169 SetDetailsPrint both170 171 SectionEnd172 173 339 Section -post 174 340 … … 181 347 182 348 !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" 183 353 !insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "jahPlayer runtime files" 184 !insertmacro MUI_DESCRIPTION_TEXT ${olib} "OpenLibraries runtime files"185 354 !insertmacro MUI_FUNCTION_DESCRIPTION_END 186 355 … … 195 364 196 365 SetShellVarContext all 197 198 ;ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" "olibs"199 ;StrCmp $R0 "" skip_olib_uninstall200 ; ;-- Remove OpenLibraries201 ; ReadEnvStr $0 PYTHONPATH202 ; ExecWait '"$0\..\uninst-openlibraries.exe" /S /D'203 366 204 ;skip_olib_uninstall:205 206 367 ;-- Remove registry keys 368 DeleteRegKey HKLM "Software\jahPlayer" 207 369 DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jahPlayer" 208 370
