source: branches/eraser6/Installer/Eraser.wxs @ 530

Revision 530, 5.9 KB checked in by lowjoel, 6 years ago (diff)

Added properties.

  • Property svn:keywords set to Id
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * $Id$
4 * Copyright 2008 The Eraser Project
5 * Original Author: Joel Low <lowjoel@users.sourceforge.net>
6 * Modified By:
7 *
8 * This file is part of Eraser.
9 *
10 * Eraser is free software: you can redistribute it and/or modify it under the
11 * terms of the GNU General Public License as published by the Free Software
12 * Foundation, either version 3 of the License, or (at your option) any later
13 * version.
14 *
15 * Eraser is distributed in the hope that it will be useful, but WITHOUT ANY
16 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
17 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18 *
19 * A copy of the GNU General Public License can be found at
20 * <http://www.gnu.org/licenses/>.
21-->
22
23<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
24    <Product Id="f4024002-a3ea-498a-993d-c0d32e205dfc" Name="Eraser" Language="1033" Version="6.0.0.0"
25            Manufacturer="The Eraser Project" UpgradeCode="073882b4-e059-4fb4-9d36-11e88d14ae87">
26        <Package InstallerVersion="200" Compressed="yes" />
27        <Media Id="1" Cabinet="Installer.cab" EmbedCab="yes" />
28
29        <Condition Message='This setup requires the .NET Framework 2.0 or higher.'>
30            <![CDATA[MsiNetAssemblySupport >= "2.0.50727"]]>
31        </Condition>
32
33        <Directory Id="TARGETDIR" Name="SourceDir">
34            <?if $(sys.BUILDARCH) = "x64"?>
35                <Directory Id="ProgramFiles64Folder">
36                    <Directory Id="PFFolder" />
37                </Directory>
38            <?else?>
39                <Directory Id="ProgramFilesFolder">
40                    <Directory Id="PFFolder" />
41                </Directory>
42            <?endif?>
43
44            <Directory Id="ProgramMenuFolder" Name="ProgramMenu" />
45            <Directory Id="DesktopFolder" Name="Desktop" />
46        </Directory>
47
48        <Feature Id="EraserMain" Title="Eraser" Description="The main Eraser program files." Level="1"
49                ConfigurableDirectory="INSTALLLOCATION" AllowAdvertise="system" Display="expand">
50            <ComponentRef Id="EraserMain" />
51            <ComponentRef Id="EraserLangEn" />
52            <ComponentRef Id="EraserPlugins" />
53            <ComponentRef Id="EraserPluginsLangEn" />
54
55            <Feature Id="EraserLanguages" Title="Alternative Languages"
56                    Description="Alternative localised version of Eraser." Level="10"
57                    Display="expand">
58                <Feature Id="EraserLanguagesNl" Title="Dutch" Description="Dutch localisation" Level="10">
59                    <ComponentRef Id="EraserLangNl" />
60                    <ComponentRef Id="EraserPluginsLangNl" />
61                </Feature>
62            </Feature>
63        </Feature>
64       
65        <Icon Id="Eraser.exe" SourceFile="..\Resources\Eraser.ico" />
66
67        <UIRef Id="WixUI_Mondo" />
68        <UIRef Id="WixUI_ErrorProgressText" />
69        <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
70        <WixVariable Id="WixUIBannerBmp" Value="Resources\Banner.bmp" />
71        <WixVariable Id="WixUIDialogBmp" Value="Resources\Dialog.bmp" />
72        <WixVariable Id="WixUIExclamationIco" Value="Resources\Exclamation.ico" />
73        <WixVariable Id="WixUIInfoIco" Value="Resources\Information.ico" />
74        <WixVariable Id="WixUINewIco" Value="Resources\New Folder.ico" />
75    </Product>
76
77    <Fragment Id="EraserMainFragment">
78        <DirectoryRef Id="PFFolder">
79            <Directory Id="INSTALLLOCATION" Name="Eraser">
80                <Component Id="EraserMain" Guid="D9D7F28B-1F5E-4da4-8FF2-4F8DC031E472">
81                    <File Id="EraserExe" Name="Eraser.exe" Source="..\bin\Release\Eraser.exe"
82                            ProcessorArchitecture="msil" KeyPath="yes">
83                        <Shortcut Advertise="yes" Id="EraserExeProgramMenuShortcut" Directory="ProgramMenuFolder"
84                            Name="Eraser" Icon="Eraser.exe" IconIndex="0" />
85                        <Shortcut Advertise="yes" Id="EraserExeDesktopShortcut" Directory="DesktopFolder"
86                            Name="Eraser" Icon="Eraser.exe" IconIndex="0" />
87                    </File>
88                    <File Id="BevelLine" Name="BevelLine.dll" Source="..\bin\Release\BevelLine.dll"
89                        ProcessorArchitecture="msil"/>
90                    <File Id="EraserManager" Name="Eraser.Manager.dll"
91                        Source="..\bin\Release\Eraser.Manager.dll" ProcessorArchitecture="msil" />
92                    <File Id="EraserUtil" Name="Eraser.Util.dll"
93                        Source="..\bin\Release\Eraser.Util.dll" ProcessorArchitecture="msil" />
94                </Component>
95
96                <Directory Id="EraserLangEnDir" Name="en">
97                    <Component Id="EraserLangEn" Guid="5BB2BEF6-1271-4786-9A40-552DD6223B1F">
98                        <File Id="EraserEn" Name="Eraser.resources.dll"
99                            Source="..\bin\Release\en\Eraser.resources.dll"
100                            ProcessorArchitecture="msil" />
101                    </Component>
102                </Directory>
103                <Directory Id="EraserLangNlDir" Name="nl">
104                    <Component Id="EraserLangNl" Guid="A404FC89-2216-4e14-96D5-30F54D120FBB">
105                        <File Id="EraserNl" Name="Eraser.resources.dll"
106                            Source="..\bin\Release\nl\Eraser.resources.dll"
107                            ProcessorArchitecture="msil" />
108                    </Component>
109                </Directory>
110
111                <Directory Id="EraserPluginsDir" Name="Plugins">
112                    <Component Id="EraserPlugins" Guid="39A307BD-4244-4972-BC12-A5F5A76E684A">
113                        <File Id="DefaultPlugins" Name="Eraser.DefaultPlugins.dll"
114                            Source="..\bin\Release\Plugins\Eraser.DefaultPlugins.dll"
115                            ProcessorArchitecture="msil" />
116                        <File Id="ISAAC" Name="ISAAC.dll"
117                            Source="..\bin\Release\Plugins\ISAAC.dll"
118                            ProcessorArchitecture="msil" />
119                    </Component>
120
121                    <Directory Id="EraserPluginsLangEnDir" Name="en">
122                        <Component Id="EraserPluginsLangEn" Guid="23B2B7DD-C518-4dde-A229-94CA9122B995">
123                            <File Id="EraserDefaultPluginsEn" Name="Eraser.DefaultPlugins.resources.dll"
124                                Source="..\bin\Release\Plugins\en\Eraser.DefaultPlugins.resources.dll"
125                                ProcessorArchitecture="msil" />
126                        </Component>
127                    </Directory>
128                    <Directory Id="EraserPluginsLangNlDir" Name="nl">
129                        <Component Id="EraserPluginsLangNl" Guid="CD85AC3F-2B4E-4ac8-8FF9-6BD3BC90BD3D">
130                            <File Id="EraserDefaultPluginsNl" Name="Eraser.DefaultPlugins.resources.dll"
131                                Source="..\bin\Release\Plugins\nl\Eraser.DefaultPlugins.resources.dll"
132                                ProcessorArchitecture="msil" />
133                        </Component>
134                    </Directory>
135                </Directory>
136            </Directory>
137        </DirectoryRef>
138    </Fragment>
139</Wix>
Note: See TracBrowser for help on using the repository browser.