1 |
<?xml version='1.0' encoding='UTF-8'?> |
2 |
<installer-gui-script minSpecVersion='1'> |
3 |
<title>LinuxSampler</title> |
4 |
<welcome file='welcome.rtf'/> |
5 |
<license file='license.rtf'/> |
6 |
<background file='linuxsampler_splash_bg.png' alignment='topleft' scaling='none'/> |
7 |
<installation-check script='req_install_check();'/> |
8 |
<options allow-external-scripts='yes' rootVolumeOnly='true' customize='allow'/> |
9 |
<script> |
10 |
function req_install_check() { |
11 |
system.log("LinuxSampler installer launched ..."); |
12 |
if (!(system.version.ProductVersion >= '10.5.0')) { |
13 |
my.result.title = 'Wrong Mac OS X Version'; |
14 |
my.result.message = 'You need at least Mac OS X 10.5.0 to install this software'; |
15 |
my.result.type = 'Fatal'; |
16 |
return false; |
17 |
} |
18 |
return true; |
19 |
} |
20 |
|
21 |
function req_libgig() { |
22 |
return choices['libsampler'].selected || |
23 |
choices['libgigedit'].selected || |
24 |
choices['qsampler'].selected || |
25 |
choices['linuxsampler'].selected || |
26 |
choices['au_plugin'].selected || |
27 |
choices['vst_plugin'].selected || |
28 |
choices['gigedit'].selected; |
29 |
} |
30 |
|
31 |
function req_libsampler() { |
32 |
return choices['linuxsampler'].selected || |
33 |
choices['au_plugin'].selected || |
34 |
choices['vst_plugin'].selected; |
35 |
} |
36 |
|
37 |
function req_codecs() { |
38 |
return choices['libsampler'].selected || |
39 |
choices['libgigedit'].selected || |
40 |
choices['linuxsampler'].selected || |
41 |
choices['au_plugin'].selected || |
42 |
choices['vst_plugin'].selected || |
43 |
choices['gigedit'].selected; |
44 |
} |
45 |
|
46 |
function req_libgigedit() { |
47 |
return choices['gigedit'].selected; |
48 |
} |
49 |
|
50 |
function req_gtk() { |
51 |
return choices['libgigedit'].selected || |
52 |
choices['gigedit'].selected; |
53 |
} |
54 |
</script> |
55 |
|
56 |
<pkg-ref auth='Admin' id='org.linuxsampler.libgig' version='3.3.0' installKBytes='1076' onConclusion='None'>#libgig.pkg</pkg-ref> |
57 |
<pkg-ref auth='Admin' id='org.linuxsampler.codecs' version='1.0.0' installKBytes='8580' onConclusion='None'>#codecs.pkg</pkg-ref> |
58 |
<pkg-ref auth='Admin' id='org.linuxsampler.libgtk' version='2.0.0' installKBytes='36412' onConclusion='None'>#libgtk.pkg</pkg-ref> |
59 |
<pkg-ref auth='Admin' id='org.linuxsampler.liblinuxsampler' version='1.0.0' installKBytes='11072' onConclusion='None'>#liblinuxsampler.pkg</pkg-ref> |
60 |
<pkg-ref auth='Admin' id='org.linuxsampler.libgigedit' version='0.2.0' installKBytes='4368' onConclusion='None'>#libgigedit.pkg</pkg-ref> |
61 |
<pkg-ref auth='Admin' id='org.linuxsampler.au' version='1.0.0' installKBytes='396' onConclusion='None'>#linuxsampler_au.pkg</pkg-ref> |
62 |
<pkg-ref auth='Admin' id='org.linuxsampler.vst' version='1.0.0' installKBytes='224' onConclusion='None'>#linuxsampler_vst.pkg</pkg-ref> |
63 |
<pkg-ref auth='Admin' id='org.linuxsampler.qsampler' version='0.2.3' installKBytes='33116' onConclusion='None'>#qsampler.pkg</pkg-ref> |
64 |
<pkg-ref auth='Admin' id='org.linuxsampler' version='1.0.0' installKBytes='352' onConclusion='None'>#linuxsampler.pkg</pkg-ref> |
65 |
<pkg-ref auth='Admin' id='org.linuxsampler.gigedit' version='0.2.0' installKBytes='56' onConclusion='None'>#gigedit.pkg</pkg-ref> |
66 |
<pkg-ref auth='Admin' id='org.linuxsampler.fantasia' version='0.9.0' installKBytes='4324' onConclusion='None'>#fantasia.pkg</pkg-ref> |
67 |
|
68 |
<choice start_selected='true' start_enabled='false' title='libgig 3.3.0' id='libgig' start_visible='true' description='LIBGIG_DESCR' selected='req_libgig();'> |
69 |
<pkg-ref id='org.linuxsampler.libgig'/> |
70 |
</choice> |
71 |
|
72 |
<choice start_selected='true' start_enabled='false' title='Audio Codecs' id='codecs' start_visible='true' description='CODECS_DESCR' selected='req_codecs();'> |
73 |
<pkg-ref id='org.linuxsampler.codecs'/> |
74 |
</choice> |
75 |
|
76 |
<choice start_selected='true' start_enabled='false' title='GTK 2' id='libgtk' start_visible='true' description='GTK_DESCR' selected='req_gtk();'> |
77 |
<pkg-ref id='org.linuxsampler.libgtk'/> |
78 |
</choice> |
79 |
|
80 |
<choice start_selected='false' start_enabled='false' title='LinuxSampler 1.0.0 (DLL)' id='libsampler' start_visible='true' description='LINUXSAMPLER_DLL_DESCR' selected='req_libsampler();'> |
81 |
<pkg-ref id='org.linuxsampler.liblinuxsampler'/> |
82 |
</choice> |
83 |
|
84 |
<choice start_selected='true' start_enabled='false' title='libgigedit 0.2.0' id='libgigedit' start_visible='true' description='LIBGIGEDIT_DESCR' selected='req_libgigedit();'> |
85 |
<pkg-ref id='org.linuxsampler.libgigedit'/> |
86 |
</choice> |
87 |
|
88 |
<choice start_selected='true' start_enabled='true' title='Audio Unit (AU) Plugin' id='au_plugin' start_visible='true' description='AU_DESCR'> |
89 |
<pkg-ref id='org.linuxsampler.au'/> |
90 |
</choice> |
91 |
|
92 |
<choice start_selected='true' start_enabled='true' title='VST Plugin' id='vst_plugin' start_visible='true' description='VST_DESCR'> |
93 |
<pkg-ref id='org.linuxsampler.vst'/> |
94 |
</choice> |
95 |
|
96 |
<choice start_selected='true' start_enabled='true' title='QSampler 0.2.3' id='qsampler' start_visible='true' description='QSAMPLER_DESCR'> |
97 |
<pkg-ref id='org.linuxsampler.qsampler'/> |
98 |
</choice> |
99 |
|
100 |
<choice start_selected='true' start_enabled='true' title='Stand-Alone Backend' id='linuxsampler' start_visible='true' description='LINUXSAMPLER_BACKEND_DESCR'> |
101 |
<pkg-ref id='org.linuxsampler'/> |
102 |
</choice> |
103 |
|
104 |
<choice start_selected='true' start_enabled='true' title='GigEdit 0.2.0' id='gigedit' start_visible='true' description='GIGEDIT_DESCR'> |
105 |
<pkg-ref id='org.linuxsampler.gigedit'/> |
106 |
</choice> |
107 |
|
108 |
<choice start_selected='true' start_enabled='true' title='Fantasia 0.9.0' id='fantasia' start_visible='true' description='FANTASIA_DESCR'> |
109 |
<pkg-ref id='org.linuxsampler.fantasia'/> |
110 |
</choice> |
111 |
|
112 |
<choice start_selected='true' start_enabled='true' title='LinuxSampler 1.0.0' id='linuxsampler_group' start_visible='true' description='LINUXSAMPLER_GROUP_DESCR' /> |
113 |
<choice start_selected='true' start_enabled='false' title='3rd-party DLLs' id='3rd_libs_group' start_visible='true' description='3RD_PARTY_DLLS_DESCR' /> |
114 |
<choice start_selected='true' start_enabled='false' title='Program Libraries (DLLs)' id='libs_group' start_visible='true' description='DLL_GROUP_DESCR' /> |
115 |
|
116 |
<choices-outline> |
117 |
<line choice='linuxsampler_group'> |
118 |
<line choice='linuxsampler'/> |
119 |
<line choice='au_plugin'/> |
120 |
<line choice='vst_plugin'/> |
121 |
</line> |
122 |
<line choice='qsampler'/> |
123 |
<line choice='fantasia'/> |
124 |
<line choice='gigedit'/> |
125 |
<line choice='libs_group'> |
126 |
<line choice='libgig'/> |
127 |
<line choice='libgigedit'/> |
128 |
<line choice='libsampler'/> |
129 |
<line choice='3rd_libs_group'> |
130 |
<line choice='codecs'/> |
131 |
<line choice='libgtk'/> |
132 |
</line> |
133 |
</line> |
134 |
</choices-outline> |
135 |
</installer-gui-script> |