xref: /trunk/main/scp2/source/ooo/profileitem_ooo.scp (revision 910823ae)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "macros.inc"
25
26ProfileItem gid_Profileitem_Setup_Uno_Java_Comppath
27    ProfileID = gid_Profile_Setup_Ini;
28    ModuleID = gid_Module_Root;
29    Section = "Bootstrap";
30    Order = 1;
31    Key = "UNO_JAVA_COMPPATH";
32    Value = "$ORIGIN/classes";
33End
34
35ProfileItem gid_Profileitem_Setup_Uno_Services
36    ProfileID = gid_Profile_Setup_Ini;
37    ModuleID = gid_Module_Root;
38    Section = "Bootstrap";
39    Order = 2;
40    Key = "UNO_SERVICES";
41    Value = "$ORIGIN/setup_services.rdb";
42End
43
44ProfileItem gid_Profileitem_Setup_Uno_Types
45    ProfileID = gid_Profile_Setup_Ini;
46    ModuleID = gid_Module_Root;
47    Section = "Bootstrap";
48    Order = 3;
49    Key = "UNO_TYPES";
50    Value = "$ORIGIN/types.rdb";
51End
52
53#ifdef WNT
54
55ProfileItem gid_Profileitem_Setup_Alluserset
56    ProfileID = gid_Profile_Setup_Ini;
57    ModuleID = gid_Module_Root;
58    Section = "Bootstrap";
59    Order = 4;
60    Key = "ALLUSERS";
61    Value = "[ALLUSERS]";
62    Inifiletablekey = "AllUsersSet";
63    Inifiletableaction = "1";
64    Styles = (INIFILETABLE);
65End
66
67#endif
68
69#ifdef WNT
70
71ProfileItem gid_Profileitem_Setup_Findproduct
72    ProfileID = gid_Profile_Setup_Ini;
73    ModuleID = gid_Module_Root;
74    Section = "Bootstrap";
75    Order = 5;
76    Key = "FINDPRODUCT";
77    Value = "[FINDPRODUCT]";
78    Inifiletablekey = "FindProductSet";
79    Inifiletableaction = "1";
80    Styles = (INIFILETABLE);
81End
82
83#endif
84
85#ifdef WNT
86
87ProfileItem gid_Profileitem_Setup_Productcode
88    ProfileID = gid_Profile_Setup_Ini;
89    ModuleID = gid_Module_Root;
90    Section = "Bootstrap";
91    Order = 6;
92    Key = "ProductCode";
93    Value = "<productcode>";
94End
95
96#endif
97
98#ifdef WNT
99
100ProfileItem gid_Profileitem_Setup_Upgradecode
101    ProfileID = gid_Profile_Setup_Ini;
102    ModuleID = gid_Module_Root;
103    Section = "Bootstrap";
104    Order = 7;
105    Key = "UpgradeCode";
106    Value = "<upgradecode>";
107End
108
109#endif
110
111ProfileItem gid_Profileitem_Soffice_Logo
112    ProfileID = gid_Profile_Soffice_Ini;
113    ModuleID = gid_Module_Root;
114    Section = "Bootstrap";
115    Order = 1;
116    Key = "Logo";
117    Value = "1";
118End
119
120ProfileItem gid_Profileitem_Soffice_ProgressBarColor
121    ProfileID = gid_Profile_Soffice_Ini;
122    ModuleID = gid_Module_Root;
123    Section = "Bootstrap";
124    Order = 2;
125    Key = "ProgressBarColor";
126    Value = "0,0,128";
127End
128
129ProfileItem gid_Profileitem_Soffice_ProgressSize
130    ProfileID = gid_Profile_Soffice_Ini;
131    ModuleID = gid_Module_Root;
132    Section = "Bootstrap";
133    Order = 3;
134    Key = "ProgressSize";
135    Value = "-1,6";
136End
137
138ProfileItem gid_Profileitem_Soffice_ProgressPosition
139    ProfileID = gid_Profile_Soffice_Ini;
140    ModuleID = gid_Module_Root;
141    Section = "Bootstrap";
142    Order = 4;
143    Key = "ProgressPosition";
144    Value = "-1,-1";
145End
146
147ProfileItem gid_Profileitem_Soffice_NativeProgress
148    ProfileID = gid_Profile_Soffice_Ini;
149    ModuleID = gid_Module_Root;
150    Section = "Bootstrap";
151    Order = 6;
152    Key = "NativeProgress";
153    Value = "true";
154End
155
156#ifdef WNT
157
158ProfileItem gid_Profileitem_Soffice_Hideeula
159    ProfileID = gid_Profile_Soffice_Ini;
160    ModuleID = gid_Module_Root;
161    Section = "Bootstrap";
162    Order = 8;
163    Key = "HideEula";
164    Value = "[HIDEEULA]";
165    Inifiletablekey = "HideEula";
166    Inifiletableaction = "1";
167    Styles = (INIFILETABLE);
168End
169
170#endif
171
172ProfileItem gid_Profileitem_Uno_Ure_Internal_Lib_Dir
173    ProfileID = gid_Profile_Uno_Ini;
174    ModuleID = gid_Module_Root;
175    Section = "Bootstrap";
176    Order = 1;
177    Key = "URE_INTERNAL_LIB_DIR";
178    Value = "${ORIGIN}";
179End
180
181ProfileItem gid_Profileitem_Uno_Ure_Internal_Java_Dir
182    ProfileID = gid_Profile_Uno_Ini;
183    ModuleID = gid_Module_Root;
184    Section = "Bootstrap";
185    Order = 2;
186    Key = "URE_INTERNAL_JAVA_DIR";
187    Value = "${ORIGIN}/classes";
188End
189
190ProfileItem gid_Profileitem_Uno_Ure_Internal_Java_Classpath
191    ProfileID = gid_Profile_Uno_Ini;
192    ModuleID = gid_Module_Root;
193    Section = "Bootstrap";
194    Order = 3;
195    Key = "URE_INTERNAL_JAVA_CLASSPATH";
196    Value = "${URE_MORE_JAVA_TYPES}";
197End
198
199ProfileItem gid_Profileitem_Uno_Uno_Types
200    ProfileID = gid_Profile_Uno_Ini;
201    ModuleID = gid_Module_Root;
202    Section = "Bootstrap";
203    Order = 4;
204    Key = "UNO_TYPES";
205    Value = "${ORIGIN}/types.rdb ${URE_MORE_TYPES}";
206End
207
208ProfileItem gid_Profileitem_Uno_Uno_Services
209    ProfileID = gid_Profile_Uno_Ini;
210    ModuleID = gid_Module_Root;
211    Section = "Bootstrap";
212    Order = 5;
213    Key = "UNO_SERVICES";
214    Value = "${ORIGIN}/services.rdb ${URE_MORE_SERVICES}";
215End
216
217ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions
218    ProfileID = gid_Profile_Uno_Ini;
219    ModuleID = gid_Module_Root;
220    Section = "Bootstrap";
221    Order = 6;
222    Key = "BUNDLED_EXTENSIONS";
223    Value = "$OOO_BASE_DIR/share/extensions";
224End
225
226ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions_Prereg
227    ProfileID = gid_Profile_Uno_Ini;
228    ModuleID = gid_Module_Root;
229    Section = "Bootstrap";
230    Order = 7;
231    Key = "BUNDLED_EXTENSIONS_PREREG";
232    Value = "$OOO_BASE_DIR/share/prereg/bundled";
233End
234
235ProfileItem gid_Profileitem_Uno_Uno_Bundled_Extensions_User
236    ProfileID = gid_Profile_Uno_Ini;
237    ModuleID = gid_Module_Root;
238    Section = "Bootstrap";
239    Order = 8;
240    Key = "BUNDLED_EXTENSIONS_USER";
241    Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/bundled";
242End
243
244ProfileItem gid_Profileitem_Uno_Uno_Shared_Packages
245    ProfileID = gid_Profile_Uno_Ini;
246    ModuleID = gid_Module_Root;
247    Section = "Bootstrap";
248    Order = 9;
249    Key = "UNO_SHARED_PACKAGES";
250    Value = "$OOO_BASE_DIR/share/uno_packages";
251End
252
253ProfileItem gid_Profileitem_Uno_Uno_Shared_Packages_Cache
254    ProfileID = gid_Profile_Uno_Ini;
255    ModuleID = gid_Module_Root;
256    Section = "Bootstrap";
257    Order = 10;
258    Key = "UNO_SHARED_PACKAGES_CACHE";
259    Value = "$UNO_SHARED_PACKAGES/cache";
260End
261
262ProfileItem gid_Profileitem_Uno_Uno_Bundled_Tmp_Extensions
263    ProfileID = gid_Profile_Uno_Ini;
264    ModuleID = gid_Module_Root;
265    Section = "Bootstrap";
266    Order = 11;
267    Key = "TMP_EXTENSIONS";
268    Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/tmp";
269End
270
271ProfileItem gid_Profileitem_Uno_Uno_Shared_Extensions_User
272    ProfileID = gid_Profile_Uno_Ini;
273    ModuleID = gid_Module_Root;
274    Section = "Bootstrap";
275    Order = 12;
276    Key = "SHARED_EXTENSIONS_USER";
277    Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/shared";
278End
279
280ProfileItem gid_Profileitem_Uno_Uno_User_Packages
281    ProfileID = gid_Profile_Uno_Ini;
282    ModuleID = gid_Module_Root;
283    Section = "Bootstrap";
284    Order = 13;
285    Key = "UNO_USER_PACKAGES";
286    Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/uno_packages";
287End
288
289ProfileItem gid_Profileitem_Uno_Uno_Bundled_Bak_Extensions
290    ProfileID = gid_Profile_Uno_Ini;
291    ModuleID = gid_Module_Root;
292    Section = "Bootstrap";
293    Order = 14;
294    Key = "BAK_EXTENSIONS";
295    Value = "${$OOO_BASE_DIR/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/extensions/bak";
296End
297
298ProfileItem gid_Profileitem_Uno_Uno_User_Packages_Cache
299    ProfileID = gid_Profile_Uno_Ini;
300    ModuleID = gid_Module_Root;
301    Section = "Bootstrap";
302    Order = 15;
303    Key = "UNO_USER_PACKAGES_CACHE";
304    Value = "$UNO_USER_PACKAGES/cache";
305End
306ProfileItem gid_Profileitem_Uno_Pkg_BundledUnoFile
307    ProfileID = gid_Profile_Uno_Ini;
308    ModuleID = gid_Module_Root;
309    Section = "Bootstrap";
310    Order = 16;
311    Key = "PKG_BundledUnoFile";
312    Value = "$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
313End
314
315ProfileItem gid_Profileitem_Uno_Pkg_SharedUnoFile
316    ProfileID = gid_Profile_Uno_Ini;
317    ModuleID = gid_Module_Root;
318    Section = "Bootstrap";
319    Order = 17;
320    Key = "PKG_SharedUnoFile";
321    Value = "$SHARED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
322End
323
324ProfileItem gid_Profileitem_Uno_Pkg_UserUnoFile
325    ProfileID = gid_Profile_Uno_Ini;
326    ModuleID = gid_Module_Root;
327    Section = "Bootstrap";
328    Order = 18;
329    Key = "PKG_UserUnoFile";
330    Value = "$UNO_USER_PACKAGES_CACHE/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc";
331End
332
333#ifdef JSC
334// JSC, will be removed soon
335ProfileItem gid_Profileitem_Fundamentalbasis_Brand_Base_Dir
336    ModuleID = gid_Module_Root;
337    ProfileID = gid_Profile_Fundamentalbasis_Ini;
338    Section = "Bootstrap";
339    Key = "BRAND_BASE_DIR";
340    Value = "${ORIGIN}/..";
341End
342#endif
343
344ProfileItem gid_Profileitem_Fundamentalbasis_Ooo_Base_Dir
345    ModuleID = gid_Module_Root;
346    ProfileID = gid_Profile_Fundamentalbasis_Ini;
347    Section = "Bootstrap";
348    Key = "OOO_BASE_DIR";
349    Value = "${ORIGIN}/..";
350End
351
352ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions
353    ModuleID = gid_Module_Root;
354    ProfileID = gid_Profile_Fundamentalbasis_Ini;
355    Section = "Bootstrap";
356    Key = "BUNDLED_EXTENSIONS";
357    Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS}";
358End
359
360ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions_User
361    ModuleID = gid_Module_Root;
362    ProfileID = gid_Profile_Fundamentalbasis_Ini;
363    Section = "Bootstrap";
364    Key = "BUNDLED_EXTENSIONS_USER";
365    Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS_USER}";
366End
367
368ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bundled_Extensions_Prereg
369    ModuleID = gid_Module_Root;
370    ProfileID = gid_Profile_Fundamentalbasis_Ini;
371    Section = "Bootstrap";
372    Key = "BUNDLED_EXTENSIONS_PREREG";
373    Value = "${$ORIGIN/" PROFILENAME(uno) ":BUNDLED_EXTENSIONS_PREREG}";
374End
375
376ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Shared_Packages_Cache
377    ModuleID = gid_Module_Root;
378    ProfileID = gid_Profile_Fundamentalbasis_Ini;
379    Section = "Bootstrap";
380    Key = "UNO_SHARED_PACKAGES_CACHE";
381    Value = "${$ORIGIN/" PROFILENAME(uno) ":UNO_SHARED_PACKAGES_CACHE}";
382End
383
384ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Shared_Extensions_User
385    ModuleID = gid_Module_Root;
386    ProfileID = gid_Profile_Fundamentalbasis_Ini;
387    Section = "Bootstrap";
388    Key = "SHARED_EXTENSIONS_USER";
389    Value = "${$ORIGIN/" PROFILENAME(uno) ":SHARED_EXTENSIONS_USER}";
390End
391
392ProfileItem gid_Profileitem_Fundamentalbasis_Uno_User_Packages_Cache
393    ModuleID = gid_Module_Root;
394    ProfileID = gid_Profile_Fundamentalbasis_Ini;
395    Section = "Bootstrap";
396    Key = "UNO_USER_PACKAGES_CACHE";
397    Value = "${$ORIGIN/" PROFILENAME(uno) ":UNO_USER_PACKAGES_CACHE}";
398End
399
400ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Tmp_Extensions
401    ModuleID = gid_Module_Root;
402    ProfileID = gid_Profile_Fundamentalbasis_Ini;
403    Section = "Bootstrap";
404    Key = "TMP_EXTENSIONS";
405    Value = "${$ORIGIN/" PROFILENAME(uno) ":TMP_EXTENSIONS}";
406End
407
408ProfileItem gid_Profileitem_Fundamentalbasis_Uno_Bak_Extensions
409    ModuleID = gid_Module_Root;
410    ProfileID = gid_Profile_Fundamentalbasis_Ini;
411    Section = "Bootstrap";
412    Key = "BAK_EXTENSIONS";
413    Value = "${$ORIGIN/" PROFILENAME(uno) ":BAK_EXTENSIONS}";
414End
415
416ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Types
417    ModuleID = gid_Module_Root;
418    ProfileID = gid_Profile_Fundamentalbasis_Ini;
419    Section = "Bootstrap";
420    Key = "URE_MORE_TYPES";
421    Value = "$ORIGIN/oovbaapi.rdb ${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_TYPES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_TYPES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_TYPES}";
422End
423
424ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Services
425    ModuleID = gid_Module_Root;
426    ProfileID = gid_Profile_Fundamentalbasis_Ini;
427    Section = "Bootstrap";
428    Key = "URE_MORE_SERVICES";
429    Value = "${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_SERVICES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_SERVICES} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_SERVICES}";
430End
431
432ProfileItem gid_Profileitem_Fundamentalbasis_Ure_More_Java_Types
433    ModuleID = gid_Module_Root;
434    ProfileID = gid_Profile_Fundamentalbasis_Ini;
435    Section = "Bootstrap";
436    Key = "URE_MORE_JAVA_TYPES";
437    Value = "$ORIGIN/classes/unoil.jar $ORIGIN/classes/ScriptFramework.jar ${${$ORIGIN/" PROFILENAME(uno) ":PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/" PROFILENAME(uno) ":PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}";
438End
439
440ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_Shared_Data
441    ModuleID = gid_Module_Root;
442    ProfileID = gid_Profile_Fundamentalbasis_Ini;
443    Section = "Bootstrap";
444    Key = "URE_OVERRIDE_JAVA_JFW_SHARED_DATA";
445    Value = "${OOO_BASE_DIR}/share/config/javasettings_${_OS}_${_ARCH}.xml";
446End
447
448ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Jfw_User_Data
449    ModuleID = gid_Module_Root;
450    ProfileID = gid_Profile_Fundamentalbasis_Ini;
451    Section = "Bootstrap";
452    Key = "URE_OVERRIDE_JAVA_JFW_USER_DATA";
453    Value = "${${OOO_BASE_DIR}/program/" PROFILENAME(bootstrap) ":UserInstallation}/user/config/javasettings_${_OS}_${_ARCH}.xml";
454End
455
456ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Java_Classpath_Urls
457    ModuleID = gid_Module_Root;
458    ProfileID = gid_Profile_Fundamentalbasis_Ini;
459    Section = "Bootstrap";
460    Key = "URE_MORE_JAVA_CLASSPATH_URLS";
461    Value = "";
462#ifdef SYSTEM_BSH
463    ValueList1 = BSH_JAR;
464#endif
465#ifdef SYSTEM_HSQLDB
466    ValueList2 = HSQLDB_JAR;
467#endif
468#ifdef SYSTEM_SAXON
469    ValueList3 = SAXON_JAR;
470#endif
471End
472
473ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Bin_Dir
474    ModuleID = gid_Module_Root;
475    ProfileID = gid_Profile_Fundamentalbasis_Ini;
476    Section = "Bootstrap";
477    Key = "URE_BIN_DIR";
478#if defined(WNT) || defined(OS2)
479    Value = "$ORIGIN";
480//    Value = "${.link:$ORIGIN/../ure-link}/bin";
481#else
482    Value = "$ORIGIN";
483//    Value = "$ORIGIN/../ure-link/bin";
484#endif
485End
486
487ProfileItem gid_Profileitem_Fundamentalbasis_Ure_Lib_Dir
488    ModuleID = gid_Module_Root;
489    ProfileID = gid_Profile_Fundamentalbasis_Ini;
490    Section = "Bootstrap";
491    Key = "URE_LIB_DIR";
492#if defined(WNT) || defined(OS2)
493    Value = "$ORIGIN";
494//    Value = "${.link:$ORIGIN/../ure-link}/bin";
495#else
496    Value = "$ORIGIN";
497//    Value = "$ORIGIN/../ure-link/lib";
498#endif
499End
500
501// Basis layer: gid_Profile_Version_Ini_Basis
502
503#if defined(JSC)
504
505ProfileItem gid_Basis_Profileitem_Version_Buildid
506    ProfileID = gid_Profile_Version_Ini_Basis;
507    ModuleID = gid_Module_Root;
508    Section = "Version";
509    Key = "buildid";
510    Value = "<buildid>";
511End
512
513ProfileItem gid_Basis_Profileitem_Version_ScsRevision
514    ProfileID = gid_Profile_Version_Ini_Basis;
515    ModuleID = gid_Module_Root;
516    Section = "Version";
517    Key = "Revision";
518    Value = "<scsrevision>";
519End
520
521ProfileItem gid_Basis_Profileitem_Version_Productsource
522    ProfileID = gid_Profile_Version_Ini_Basis;
523    ModuleID = gid_Module_Root;
524    Section = "Version";
525    Key = "ProductSource";
526    Value = "<sourceid>";
527End
528
529ProfileItem gid_Basis_Profileitem_Version_Productmajor
530    ProfileID = gid_Profile_Version_Ini_Basis;
531    ModuleID = gid_Module_Root;
532    Section = "Version";
533    Key = "ProductMajor";
534    Value = "<productmajor>";
535End
536
537ProfileItem gid_Basis_Profileitem_Version_Productminor
538    ProfileID = gid_Profile_Version_Ini_Basis;
539    ModuleID = gid_Module_Root;
540    Section = "Version";
541    Key = "ProductMinor";
542    Value = "<productminor>";
543End
544
545ProfileItem gid_Basis_Profileitem_Version_Productbuildid
546    ProfileID = gid_Profile_Version_Ini_Basis;
547    ModuleID = gid_Module_Root;
548    Section = "Version";
549    Key = "ProductBuildid";
550    Value = "<productbuildid>";
551End
552
553ProfileItem gid_Basis_Profileitem_Version_Ooobaseversion
554    ProfileID = gid_Profile_Version_Ini_Basis;
555    ModuleID = gid_Module_Root;
556    Section = "Version";
557    Key = "OOOBaseVersion";
558    Value = "${OOOBASEVERSION}";
559End
560
561ProfileItem gid_Basis_Profileitem_Version_Ooopackageversion
562    ProfileID = gid_Profile_Version_Ini_Basis;
563    ModuleID = gid_Module_Root;
564    Section = "Version";
565    Key = "OOOPackageVersion";
566    Value = "${OOOPACKAGEVERSION}";
567End
568
569#endif // JSC
570