0
|
1 |
;;
|
|
2 |
;; Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
;; All rights reserved.
|
|
4 |
;; Contact: Nokia Corporation (qt-info@nokia.com)
|
|
5 |
;;
|
|
6 |
;; This file is part of the tools applications of the Qt Toolkit.
|
|
7 |
;;
|
|
8 |
;; $QT_BEGIN_LICENSE:LGPL$
|
|
9 |
;; No Commercial Usage
|
|
10 |
;; This file contains pre-release code and may not be distributed.
|
|
11 |
;; You may use this file in accordance with the terms and conditions
|
|
12 |
;; contained in the Technology Preview License Agreement accompanying
|
|
13 |
;; this package.
|
|
14 |
;;
|
|
15 |
;; GNU Lesser General Public License Usage
|
|
16 |
;; Alternatively, this file may be used under the terms of the GNU Lesser
|
|
17 |
;; General Public License version 2.1 as published by the Free Software
|
|
18 |
;; Foundation and appearing in the file LICENSE.LGPL included in the
|
|
19 |
;; packaging of this file. Please review the following information to
|
|
20 |
;; ensure the GNU Lesser General Public License version 2.1 requirements
|
|
21 |
;; will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
22 |
;;
|
|
23 |
;; In addition, as a special exception, Nokia gives you certain additional
|
|
24 |
;; rights. These rights are described in the Nokia Qt LGPL Exception
|
|
25 |
;; version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
26 |
;;
|
|
27 |
;; If you have questions regarding the use of this file, please contact
|
|
28 |
;; Nokia at qt-info@nokia.com.
|
|
29 |
;;
|
|
30 |
;;
|
|
31 |
;;
|
|
32 |
;;
|
|
33 |
;;
|
|
34 |
;;
|
|
35 |
;;
|
|
36 |
;;
|
|
37 |
;; $QT_END_LICENSE$
|
|
38 |
;;
|
|
39 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
40 |
!ifdef MODULE_OPENSOURCE
|
|
41 |
!macro OPENSOURCE_INITIALIZE
|
|
42 |
!define MODULE_OPENSOURCE_PAGE "opensource.ini"
|
|
43 |
page custom ModuleOpenSourceShowPage
|
|
44 |
!macroend
|
|
45 |
!macro OPENSOURCE_SECTIONS
|
|
46 |
Section -ModuleOpenSourceSection
|
|
47 |
!ifdef MODULE_OPENSOURCE_ROOT
|
|
48 |
SetOutPath "$INSTDIR"
|
|
49 |
File "${MODULE_OPENSOURCE_ROOT}\OPENSOURCE-NOTICE.TXT"
|
|
50 |
!endif
|
|
51 |
SectionEnd
|
|
52 |
|
|
53 |
Function ModuleOpenSourceShowPage
|
|
54 |
!insertmacro MUI_HEADER_TEXT "Open Source Edition" " "
|
|
55 |
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "${MODULE_OPENSOURCE_PAGE}"
|
|
56 |
strcpy "$LICENSEE" "Open Source"
|
|
57 |
strcpy "$LICENSE_PRODUCT" "OpenSource"
|
|
58 |
FunctionEnd
|
|
59 |
!macroend
|
|
60 |
!macro OPENSOURCE_DESCRIPTION
|
|
61 |
!macroend
|
|
62 |
!macro OPENSOURCE_STARTUP
|
|
63 |
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "${MODULE_OPENSOURCE_PAGE}"
|
|
64 |
!macroend
|
|
65 |
!macro OPENSOURCE_FINISH
|
|
66 |
!macroend
|
|
67 |
!macro OPENSOURCE_UNSTARTUP
|
|
68 |
!macroend
|
|
69 |
!macro OPENSOURCE_UNINSTALL
|
|
70 |
Section -un.ModuleOpenSourceSection
|
|
71 |
Delete "$SMPROGRAMS\$STARTMENU_STRING\OpenSource Notice.lnk"
|
|
72 |
SectionEnd
|
|
73 |
!macroend
|
|
74 |
!macro OPENSOURCE_UNFINISH
|
|
75 |
!macroend
|
|
76 |
!else ;MODULE_OPENSOURCE
|
|
77 |
!macro OPENSOURCE_INITIALIZE
|
|
78 |
!macroend
|
|
79 |
!macro OPENSOURCE_SECTIONS
|
|
80 |
!macroend
|
|
81 |
!macro OPENSOURCE_DESCRIPTION
|
|
82 |
!macroend
|
|
83 |
!macro OPENSOURCE_STARTUP
|
|
84 |
!macroend
|
|
85 |
!macro OPENSOURCE_FINISH
|
|
86 |
!macroend
|
|
87 |
!macro OPENSOURCE_UNSTARTUP
|
|
88 |
!macroend
|
|
89 |
!macro OPENSOURCE_UNINSTALL
|
|
90 |
!macroend
|
|
91 |
!macro OPENSOURCE_UNFINISH
|
|
92 |
!macroend
|
|
93 |
!endif ;MODULE_OPENSOURCE
|
|
94 |
|