|
Last change
on this file since 94 was 94, checked in by Silvan Scherrer, 16 years ago |
|
smplayer: 0.6.9 part2
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | smplayer-installer.nsi is the script for NSIS (Nullsoft Scriptable Install System), which allows to create
|
|---|
| 2 | the installer for Windows. This script requires requires NSIS Unicode 2.45 available freely from http://www.scratchpaper.com/home/downloads.
|
|---|
| 3 | It is intended to be ran one directory up from 'smplayer-build'.
|
|---|
| 4 |
|
|---|
| 5 | The SMPlayer NSIS script is set up to compile two different setups:
|
|---|
| 6 | - SMPlayer including MPlayer files
|
|---|
| 7 | - SMPlayer that downloads MPlayer from a remote server
|
|---|
| 8 |
|
|---|
| 9 | Downloading MPlayer during install is the default mode. To create an installer with the MPlayer
|
|---|
| 10 | files you need to define WITH_MPLAYER in the compiler. You need to have the smplayer-build\mplayer files present (not included in SVN):
|
|---|
| 11 | makensis.exe /DWITH_MPLAYER smplayer-installer.nsi
|
|---|
| 12 |
|
|---|
| 13 | MakeNSISW (GUI Compiler): Tools -> Settings. Add WITH_MPLAYER in Symbol Name and add to the list. Leave the Value field blank.
|
|---|
| 14 |
|
|---|
| 15 | Other required files:
|
|---|
| 16 | - 7za.exe (http://www.7zip.org)
|
|---|
| 17 | - Unicode inetc plugin (http://nsis.sourceforge.net/Inetc_plug-in)
|
|---|
| 18 | Also available in: ftp://ftp.berlios.de/pub/smplayer/tools/nsis/
|
|---|
| 19 |
|
|---|
| 20 | Other required defines w/ values:
|
|---|
| 21 | VER_MAJOR
|
|---|
| 22 | VER_MINOR
|
|---|
| 23 | VER_BUILD
|
|---|
| 24 | VER_REVISION (only if non-zero)
|
|---|
| 25 |
|
|---|
| 26 | To build v0.6.8 that includes MPlayer files:
|
|---|
| 27 | C:\Program Files\NSIS\Unicode\makensis.exe /DWITH_MPLAYER /DVER_MAJOR=0 /DVER_MINOR=6 /DVER_BUILD=8 smplayer-installer.nsi
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.