xref: /trunk/main/scp2/source/ooo/ure_standalone.scp (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "macros.inc"
29
30Installation gid_Installation_Ure
31    ProductName = "${PRODUCTNAME}";
32    ProductVersion = "${PRODUCTVERSION}";
33    ProductExtension = "${PRODUCTEXTENSION}";
34    OOoBaseVersion = "${OOOBASEVERSION}";
35#if defined WNT
36    DefaultDestPath = "<winprogpath>\%PRODUCTNAME";
37#else
38    DefaultDestPath = "/opt/%PRODUCTNAME";
39#endif
40End
41
42Directory gid_Dir_Ooo_Openofficeorg
43    ParentID = PREDEFINED_PROGDIR;
44  #ifdef WNT
45    HostName = "OpenOffice.org";
46  #else
47    HostName = "openoffice.org";
48  #endif
49    Styles = (ISINSTALLLOCATION);
50End
51
52Directory gid_Dir_Common_Ure
53    ParentID = gid_Dir_Ooo_Openofficeorg;
54  #ifdef WNT
55    HostName = "URE";
56  #else
57    HostName = "ure";
58  #endif
59    Styles = (UREDIRECTORY);
60End
61
62File gid_File_License_Ure
63    TXT_FILE_BODY;
64    Dir = gid_Dir_Common_Ure;
65    Name = "LICENSE";
66    Styles = (PACKED);
67End
68
69File gid_File_ThirdpartylicensereadmeHtml_Ure
70    TXT_FILE_BODY;
71    Dir = gid_Dir_Common_Ure;
72    Name = "THIRDPARTYLICENSEREADME.html";
73    Styles = (PACKED);
74End
75
76File gid_File_Readme_Ure
77    TXT_FILE_BODY;
78    Dir = gid_Dir_Common_Ure;
79    Name = "README";
80    Styles = (PACKED);
81End
82
83// Module
84
85Module gid_Module_Root
86    Name = "ure";
87    Description = "ure";
88End
89
90// Windows Registry:
91RegistryItem gid_Regitem_Ure_Software_Manufacturer_Productname_Productversion_Productcode_Install
92	ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
93	Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\%PRODUCTCODE";
94	ModuleID = gid_Module_Root;
95	Name = "INSTALLLOCATION";
96	Value = "[INSTALLLOCATION]";
97	Styles = (ALWAYS_REQUIRED);
98End
99
100RegistryItem gid_Regitem_Ure_Software_Manufacturer_Productname_Productversion_Upgradecode_Install
101	ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
102	Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\%UPGRADECODE";
103	ModuleID = gid_Module_Root;
104	Name = "INSTALLLOCATION";
105	Value = "[INSTALLLOCATION]";
106	Styles = (ALWAYS_REQUIRED);
107End
108
109
110