2 ;; Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
3 ;; All rights reserved.
4 ;; Contact: Nokia Corporation (qt-info@nokia.com)
6 ;; This file is part of the tools applications of the Qt Toolkit.
8 ;; $QT_BEGIN_LICENSE:LGPL$
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
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.
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.
27 ;; If you have questions regarding the use of this file, please contact
28 ;; Nokia at qt-info@nokia.com.
39 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
40 !ifdef MODULE_OPENSOURCE
41 !macro OPENSOURCE_INITIALIZE
42 !define MODULE_OPENSOURCE_PAGE "opensource.ini"
43 page custom ModuleOpenSourceShowPage
45 !macro OPENSOURCE_SECTIONS
46 Section -ModuleOpenSourceSection
47 !ifdef MODULE_OPENSOURCE_ROOT
49 File "${MODULE_OPENSOURCE_ROOT}\OPENSOURCE-NOTICE.TXT"
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"
60 !macro OPENSOURCE_DESCRIPTION
62 !macro OPENSOURCE_STARTUP
63 !insertmacro MUI_INSTALLOPTIONS_EXTRACT "${MODULE_OPENSOURCE_PAGE}"
65 !macro OPENSOURCE_FINISH
67 !macro OPENSOURCE_UNSTARTUP
69 !macro OPENSOURCE_UNINSTALL
70 Section -un.ModuleOpenSourceSection
71 Delete "$SMPROGRAMS\$STARTMENU_STRING\OpenSource Notice.lnk"
74 !macro OPENSOURCE_UNFINISH
76 !else ;MODULE_OPENSOURCE
77 !macro OPENSOURCE_INITIALIZE
79 !macro OPENSOURCE_SECTIONS
81 !macro OPENSOURCE_DESCRIPTION
83 !macro OPENSOURCE_STARTUP
85 !macro OPENSOURCE_FINISH
87 !macro OPENSOURCE_UNSTARTUP
89 !macro OPENSOURCE_UNINSTALL
91 !macro OPENSOURCE_UNFINISH
93 !endif ;MODULE_OPENSOURCE