source: branches/eraser6/Installer/DirectoryStructure.wxs @ 591

Revision 591, 3.0 KB checked in by lowjoel, 6 years ago (diff)

-Define the preprocessor constant with our version string
-Prevent installations where an installed version is newer than the current version
-Upgrade installations lower than the current installer version
-I've reset the upgradecode to be the same as the first installer

  • Property svn:eol-style set to native
  • 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    <Fragment Id="EraserDirectoryFragment">
25        <DirectoryRef Id="PFFolder">
26            <Directory Id="INSTALLLOCATION" Name="Eraser">
27                <Component Id="EraserMain" Guid="D9D7F28B-1F5E-4da4-8FF2-4F8DC031E472">
28                    <File Id="EraserExe" Name="Eraser.exe" Source="..\bin\Release\Eraser.exe"
29                            ProcessorArchitecture="msil" KeyPath="yes">
30                        <Shortcut Advertise="yes" Id="EraserExeProgramMenuShortcut" Directory="ProgramMenuFolder"
31                            Name="Eraser" Icon="Eraser.exe" IconIndex="0" />
32                        <Shortcut Advertise="yes" Id="EraserExeDesktopShortcut" Directory="DesktopFolder"
33                            Name="Eraser" Icon="Eraser.exe" IconIndex="0" />
34                    </File>
35                    <File Id="BevelLine" Name="BevelLine.dll" Source="..\bin\Release\BevelLine.dll"
36                        ProcessorArchitecture="msil" />
37                    <File Id="EraserManager" Name="Eraser.Manager.dll"
38                        Source="..\bin\Release\Eraser.Manager.dll" ProcessorArchitecture="msil" />
39                    <File Id="EraserUtil" Name="Eraser.Util.dll"
40                        Source="..\bin\Release\Eraser.Util.dll" ProcessorArchitecture="msil" />
41                </Component>
42
43                <Directory Id="EraserLangEnDir" Name="en">
44                    <Component Id="EraserLangEn" Guid="5BB2BEF6-1271-4786-9A40-552DD6223B1F">
45                        <File Id="EraserEn" Name="Eraser.resources.dll"
46                            Source="..\bin\Release\en\Eraser.resources.dll"
47                            ProcessorArchitecture="msil" />
48                    </Component>
49                </Directory>
50
51                <Directory Id="EraserPluginsDir" Name="Plugins">
52                    <Component Id="EraserPlugins" Guid="39A307BD-4244-4972-BC12-A5F5A76E684A">
53                        <File Id="DefaultPlugins" Name="Eraser.DefaultPlugins.dll"
54                            Source="..\bin\Release\Plugins\Eraser.DefaultPlugins.dll"
55                            ProcessorArchitecture="msil" />
56                        <File Id="ISAAC" Name="ISAAC.dll"
57                            Source="..\bin\Release\Plugins\ISAAC.dll"
58                            ProcessorArchitecture="msil" />
59                    </Component>
60
61                    <Directory Id="EraserPluginsLangEnDir" Name="en">
62                        <Component Id="EraserPluginsLangEn" Guid="23B2B7DD-C518-4dde-A229-94CA9122B995">
63                            <File Id="EraserDefaultPluginsEn" Name="Eraser.DefaultPlugins.resources.dll"
64                                Source="..\bin\Release\Plugins\en\Eraser.DefaultPlugins.resources.dll"
65                                ProcessorArchitecture="msil" />
66                        </Component>
67                    </Directory>
68                </Directory>
69            </Directory>
70        </DirectoryRef>
71    </Fragment>
72</Wix>
Note: See TracBrowser for help on using the repository browser.