1 |
schoenebeck |
2707 |
<?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 |
schoenebeck |
2769 |
if (!(system.compareVersions(system.version.ProductVersion, '10.5.0') >= 0)) { |
13 |
schoenebeck |
2707 |
my.result.title = 'Wrong Mac OS X Version'; |
14 |
schoenebeck |
2716 |
my.result.message = 'You need at least Mac OS X 10.5.0 to install this software'; |
15 |
schoenebeck |
2707 |
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 |
schoenebeck |
2802 |
<pkg-ref auth='Admin' id='org.linuxsampler.libgig' version='4.0.0' installKBytes='1076' onConclusion='None'>#libgig.pkg</pkg-ref> |
57 |
|
|
<pkg-ref auth='Admin' id='org.linuxsampler.gigtools' version='4.0.0' installKBytes='1' onConclusion='None'>#gigtools.pkg</pkg-ref> |
58 |
schoenebeck |
2707 |
<pkg-ref auth='Admin' id='org.linuxsampler.codecs' version='1.0.0' installKBytes='8580' onConclusion='None'>#codecs.pkg</pkg-ref> |
59 |
|
|
<pkg-ref auth='Admin' id='org.linuxsampler.libgtk' version='2.0.0' installKBytes='36412' onConclusion='None'>#libgtk.pkg</pkg-ref> |
60 |
schoenebeck |
2802 |
<pkg-ref auth='Admin' id='org.linuxsampler.liblinuxsampler' version='2.0.0' installKBytes='11072' onConclusion='None'>#liblinuxsampler.pkg</pkg-ref> |
61 |
|
|
<pkg-ref auth='Admin' id='org.linuxsampler.libgigedit' version='1.0.0' installKBytes='4368' onConclusion='None'>#libgigedit.pkg</pkg-ref> |
62 |
|
|
<pkg-ref auth='Admin' id='org.linuxsampler.au' version='2.0.0' installKBytes='396' onConclusion='None'>#linuxsampler_au.pkg</pkg-ref> |
63 |
|
|
<pkg-ref auth='Admin' id='org.linuxsampler.vst' version='2.0.0' installKBytes='224' onConclusion='None'>#linuxsampler_vst.pkg</pkg-ref> |
64 |
|
|
<pkg-ref auth='Admin' id='org.linuxsampler.qsampler' version='0.3.0' installKBytes='33116' onConclusion='None'>#qsampler.pkg</pkg-ref> |
65 |
|
|
<pkg-ref auth='Admin' id='org.linuxsampler' version='2.0.0' installKBytes='352' onConclusion='None'>#linuxsampler.pkg</pkg-ref> |
66 |
|
|
<pkg-ref auth='Admin' id='org.linuxsampler.gigedit' version='1.0.0' installKBytes='56' onConclusion='None'>#gigedit.pkg</pkg-ref> |
67 |
schoenebeck |
2707 |
<pkg-ref auth='Admin' id='org.linuxsampler.fantasia' version='0.9.0' installKBytes='4324' onConclusion='None'>#fantasia.pkg</pkg-ref> |
68 |
|
|
|
69 |
schoenebeck |
2802 |
<choice start_selected='true' start_enabled='false' title='libgig 4.0.0' id='libgig' start_visible='true' description='LIBGIG_DESCR' selected='req_libgig();'> |
70 |
schoenebeck |
2707 |
<pkg-ref id='org.linuxsampler.libgig'/> |
71 |
|
|
</choice> |
72 |
|
|
|
73 |
schoenebeck |
2775 |
<choice start_selected='true' start_enabled='true' title='Command Line Tools' id='gigtools' start_visible='true' description='GIGTOOLS_DESCR'> |
74 |
|
|
<pkg-ref id='org.linuxsampler.gigtools'/> |
75 |
|
|
</choice> |
76 |
|
|
|
77 |
schoenebeck |
2707 |
<choice start_selected='true' start_enabled='false' title='Audio Codecs' id='codecs' start_visible='true' description='CODECS_DESCR' selected='req_codecs();'> |
78 |
|
|
<pkg-ref id='org.linuxsampler.codecs'/> |
79 |
|
|
</choice> |
80 |
|
|
|
81 |
|
|
<choice start_selected='true' start_enabled='false' title='GTK 2' id='libgtk' start_visible='true' description='GTK_DESCR' selected='req_gtk();'> |
82 |
|
|
<pkg-ref id='org.linuxsampler.libgtk'/> |
83 |
|
|
</choice> |
84 |
|
|
|
85 |
schoenebeck |
2802 |
<choice start_selected='false' start_enabled='false' title='LinuxSampler 2.0.0 (DLL)' id='libsampler' start_visible='true' description='LINUXSAMPLER_DLL_DESCR' selected='req_libsampler();'> |
86 |
schoenebeck |
2707 |
<pkg-ref id='org.linuxsampler.liblinuxsampler'/> |
87 |
|
|
</choice> |
88 |
|
|
|
89 |
schoenebeck |
2802 |
<choice start_selected='true' start_enabled='false' title='libgigedit 1.0.0' id='libgigedit' start_visible='true' description='LIBGIGEDIT_DESCR' selected='req_libgigedit();'> |
90 |
schoenebeck |
2707 |
<pkg-ref id='org.linuxsampler.libgigedit'/> |
91 |
|
|
</choice> |
92 |
|
|
|
93 |
|
|
<choice start_selected='true' start_enabled='true' title='Audio Unit (AU) Plugin' id='au_plugin' start_visible='true' description='AU_DESCR'> |
94 |
|
|
<pkg-ref id='org.linuxsampler.au'/> |
95 |
|
|
</choice> |
96 |
|
|
|
97 |
|
|
<choice start_selected='true' start_enabled='true' title='VST Plugin' id='vst_plugin' start_visible='true' description='VST_DESCR'> |
98 |
|
|
<pkg-ref id='org.linuxsampler.vst'/> |
99 |
|
|
</choice> |
100 |
|
|
|
101 |
schoenebeck |
2802 |
<choice start_selected='true' start_enabled='true' title='QSampler 0.3.0' id='qsampler' start_visible='true' description='QSAMPLER_DESCR'> |
102 |
schoenebeck |
2707 |
<pkg-ref id='org.linuxsampler.qsampler'/> |
103 |
|
|
</choice> |
104 |
|
|
|
105 |
|
|
<choice start_selected='true' start_enabled='true' title='Stand-Alone Backend' id='linuxsampler' start_visible='true' description='LINUXSAMPLER_BACKEND_DESCR'> |
106 |
|
|
<pkg-ref id='org.linuxsampler'/> |
107 |
|
|
</choice> |
108 |
|
|
|
109 |
schoenebeck |
2802 |
<choice start_selected='true' start_enabled='true' title='GigEdit 1.0.0' id='gigedit' start_visible='true' description='GIGEDIT_DESCR'> |
110 |
schoenebeck |
2707 |
<pkg-ref id='org.linuxsampler.gigedit'/> |
111 |
|
|
</choice> |
112 |
|
|
|
113 |
|
|
<choice start_selected='true' start_enabled='true' title='Fantasia 0.9.0' id='fantasia' start_visible='true' description='FANTASIA_DESCR'> |
114 |
|
|
<pkg-ref id='org.linuxsampler.fantasia'/> |
115 |
|
|
</choice> |
116 |
|
|
|
117 |
schoenebeck |
2802 |
<choice start_selected='true' start_enabled='true' title='LinuxSampler 2.0.0' id='linuxsampler_group' start_visible='true' description='LINUXSAMPLER_GROUP_DESCR' /> |
118 |
schoenebeck |
2707 |
<choice start_selected='true' start_enabled='false' title='3rd-party DLLs' id='3rd_libs_group' start_visible='true' description='3RD_PARTY_DLLS_DESCR' /> |
119 |
|
|
<choice start_selected='true' start_enabled='false' title='Program Libraries (DLLs)' id='libs_group' start_visible='true' description='DLL_GROUP_DESCR' /> |
120 |
|
|
|
121 |
|
|
<choices-outline> |
122 |
|
|
<line choice='linuxsampler_group'> |
123 |
|
|
<line choice='linuxsampler'/> |
124 |
|
|
<line choice='au_plugin'/> |
125 |
|
|
<line choice='vst_plugin'/> |
126 |
|
|
</line> |
127 |
|
|
<line choice='qsampler'/> |
128 |
|
|
<line choice='fantasia'/> |
129 |
|
|
<line choice='gigedit'/> |
130 |
schoenebeck |
2775 |
<line choice='gigtools'/> |
131 |
schoenebeck |
2707 |
<line choice='libs_group'> |
132 |
|
|
<line choice='libgig'/> |
133 |
|
|
<line choice='libgigedit'/> |
134 |
|
|
<line choice='libsampler'/> |
135 |
|
|
<line choice='3rd_libs_group'> |
136 |
|
|
<line choice='codecs'/> |
137 |
|
|
<line choice='libgtk'/> |
138 |
|
|
</line> |
139 |
|
|
</line> |
140 |
|
|
</choices-outline> |
141 |
|
|
</installer-gui-script> |