xref: /aoo42x/main/scp2/source/ooo/ure_standalone.scp (revision 599cc5b4)
1022bd5b4SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3022bd5b4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4022bd5b4SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5022bd5b4SAndrew Rist * distributed with this work for additional information
6022bd5b4SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7022bd5b4SAndrew Rist * to you under the Apache License, Version 2.0 (the
8022bd5b4SAndrew Rist * "License"); you may not use this file except in compliance
9022bd5b4SAndrew Rist * with the License.  You may obtain a copy of the License at
10022bd5b4SAndrew Rist *
11022bd5b4SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12022bd5b4SAndrew Rist *
13022bd5b4SAndrew Rist * Unless required by applicable law or agreed to in writing,
14022bd5b4SAndrew Rist * software distributed under the License is distributed on an
15022bd5b4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16022bd5b4SAndrew Rist * KIND, either express or implied.  See the License for the
17022bd5b4SAndrew Rist * specific language governing permissions and limitations
18022bd5b4SAndrew Rist * under the License.
19022bd5b4SAndrew Rist *
20022bd5b4SAndrew Rist *************************************************************/
21022bd5b4SAndrew Rist
22022bd5b4SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "macros.inc"
25cdf0e10cSrcweir
26cdf0e10cSrcweirInstallation gid_Installation_Ure
27cdf0e10cSrcweir    ProductName = "${PRODUCTNAME}";
28cdf0e10cSrcweir    ProductVersion = "${PRODUCTVERSION}";
29cdf0e10cSrcweir    ProductExtension = "${PRODUCTEXTENSION}";
30cdf0e10cSrcweir    OOoBaseVersion = "${OOOBASEVERSION}";
31cdf0e10cSrcweir#if defined WNT
32cdf0e10cSrcweir    DefaultDestPath = "<winprogpath>\%PRODUCTNAME";
33cdf0e10cSrcweir#else
34cdf0e10cSrcweir    DefaultDestPath = "/opt/%PRODUCTNAME";
35cdf0e10cSrcweir#endif
36cdf0e10cSrcweirEnd
37cdf0e10cSrcweir
38cdf0e10cSrcweirDirectory gid_Dir_Ooo_Openofficeorg
39cdf0e10cSrcweir    ParentID = PREDEFINED_PROGDIR;
40cdf0e10cSrcweir  #ifdef WNT
41*599cc5b4SOliver-Rainer Wittmann    HostName = "OpenOffice";
42cdf0e10cSrcweir  #else
43*599cc5b4SOliver-Rainer Wittmann    HostName = "openoffice";
44cdf0e10cSrcweir  #endif
45cdf0e10cSrcweir    Styles = (ISINSTALLLOCATION);
46cdf0e10cSrcweirEnd
47cdf0e10cSrcweir
48cdf0e10cSrcweirDirectory gid_Dir_Common_Ure
49cdf0e10cSrcweir    ParentID = gid_Dir_Ooo_Openofficeorg;
50cdf0e10cSrcweir  #ifdef WNT
51cdf0e10cSrcweir    HostName = "URE";
52cdf0e10cSrcweir  #else
53cdf0e10cSrcweir    HostName = "ure";
54cdf0e10cSrcweir  #endif
55cdf0e10cSrcweir    Styles = (UREDIRECTORY);
56cdf0e10cSrcweirEnd
57cdf0e10cSrcweir
58a4309db7SHerbert DürrFile gid_File_LICENSE_Ure
59cdf0e10cSrcweir    TXT_FILE_BODY;
60cdf0e10cSrcweir    Dir = gid_Dir_Common_Ure;
61cdf0e10cSrcweir    Name = "LICENSE";
62cdf0e10cSrcweir    Styles = (PACKED);
63cdf0e10cSrcweirEnd
64cdf0e10cSrcweir
65a4309db7SHerbert DürrFile gid_File_NOTICE_Ure
66cdf0e10cSrcweir    TXT_FILE_BODY;
67cdf0e10cSrcweir    Dir = gid_Dir_Common_Ure;
68a4309db7SHerbert Dürr    Name = "NOTICE";
69cdf0e10cSrcweir    Styles = (PACKED);
70cdf0e10cSrcweirEnd
71cdf0e10cSrcweir
72cdf0e10cSrcweirFile gid_File_Readme_Ure
73cdf0e10cSrcweir    TXT_FILE_BODY;
74cdf0e10cSrcweir    Dir = gid_Dir_Common_Ure;
75cdf0e10cSrcweir    Name = "README";
76cdf0e10cSrcweir    Styles = (PACKED);
77cdf0e10cSrcweirEnd
78cdf0e10cSrcweir
79cdf0e10cSrcweir// Module
80cdf0e10cSrcweir
81cdf0e10cSrcweirModule gid_Module_Root
82cdf0e10cSrcweir    Name = "ure";
83cdf0e10cSrcweir    Description = "ure";
84cdf0e10cSrcweirEnd
85cdf0e10cSrcweir
86cdf0e10cSrcweir// Windows Registry:
87cdf0e10cSrcweirRegistryItem gid_Regitem_Ure_Software_Manufacturer_Productname_Productversion_Productcode_Install
88cdf0e10cSrcweir	ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
89cdf0e10cSrcweir	Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\%PRODUCTCODE";
90cdf0e10cSrcweir	ModuleID = gid_Module_Root;
91cdf0e10cSrcweir	Name = "INSTALLLOCATION";
92cdf0e10cSrcweir	Value = "[INSTALLLOCATION]";
93cdf0e10cSrcweir	Styles = (ALWAYS_REQUIRED);
94cdf0e10cSrcweirEnd
95cdf0e10cSrcweir
96cdf0e10cSrcweirRegistryItem gid_Regitem_Ure_Software_Manufacturer_Productname_Productversion_Upgradecode_Install
97cdf0e10cSrcweir	ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
98cdf0e10cSrcweir	Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\%UPGRADECODE";
99cdf0e10cSrcweir	ModuleID = gid_Module_Root;
100cdf0e10cSrcweir	Name = "INSTALLLOCATION";
101cdf0e10cSrcweir	Value = "[INSTALLLOCATION]";
102cdf0e10cSrcweir	Styles = (ALWAYS_REQUIRED);
103cdf0e10cSrcweirEnd
104cdf0e10cSrcweir
105cdf0e10cSrcweir
106