xref: /trunk/main/scp2/source/ooo/ure_standalone.scp (revision 599cc5b4)
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
26Installation gid_Installation_Ure
27    ProductName = "${PRODUCTNAME}";
28    ProductVersion = "${PRODUCTVERSION}";
29    ProductExtension = "${PRODUCTEXTENSION}";
30    OOoBaseVersion = "${OOOBASEVERSION}";
31#if defined WNT
32    DefaultDestPath = "<winprogpath>\%PRODUCTNAME";
33#else
34    DefaultDestPath = "/opt/%PRODUCTNAME";
35#endif
36End
37
38Directory gid_Dir_Ooo_Openofficeorg
39    ParentID = PREDEFINED_PROGDIR;
40  #ifdef WNT
41    HostName = "OpenOffice";
42  #else
43    HostName = "openoffice";
44  #endif
45    Styles = (ISINSTALLLOCATION);
46End
47
48Directory gid_Dir_Common_Ure
49    ParentID = gid_Dir_Ooo_Openofficeorg;
50  #ifdef WNT
51    HostName = "URE";
52  #else
53    HostName = "ure";
54  #endif
55    Styles = (UREDIRECTORY);
56End
57
58File gid_File_LICENSE_Ure
59    TXT_FILE_BODY;
60    Dir = gid_Dir_Common_Ure;
61    Name = "LICENSE";
62    Styles = (PACKED);
63End
64
65File gid_File_NOTICE_Ure
66    TXT_FILE_BODY;
67    Dir = gid_Dir_Common_Ure;
68    Name = "NOTICE";
69    Styles = (PACKED);
70End
71
72File gid_File_Readme_Ure
73    TXT_FILE_BODY;
74    Dir = gid_Dir_Common_Ure;
75    Name = "README";
76    Styles = (PACKED);
77End
78
79// Module
80
81Module gid_Module_Root
82    Name = "ure";
83    Description = "ure";
84End
85
86// Windows Registry:
87RegistryItem gid_Regitem_Ure_Software_Manufacturer_Productname_Productversion_Productcode_Install
88	ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
89	Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\%PRODUCTCODE";
90	ModuleID = gid_Module_Root;
91	Name = "INSTALLLOCATION";
92	Value = "[INSTALLLOCATION]";
93	Styles = (ALWAYS_REQUIRED);
94End
95
96RegistryItem gid_Regitem_Ure_Software_Manufacturer_Productname_Productversion_Upgradecode_Install
97	ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
98	Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\%UPGRADECODE";
99	ModuleID = gid_Module_Root;
100	Name = "INSTALLLOCATION";
101	Value = "[INSTALLLOCATION]";
102	Styles = (ALWAYS_REQUIRED);
103End
104
105
106