source: trunk/sln/HalWiX/HalWiX.wxs @ 464

Revision 464, 4.6 KB checked in by Eoin, 11 years ago (diff)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3                <Product Id="3c203d40-c34d-485d-a516-75b5d1b595f2" Name="Halite" Language="1033" Version="0.3.2.0"
4             Manufacturer="BinaryNotions.com" UpgradeCode="8cac0e8f-e307-450f-8aa4-af2bd341c69b">
5
6      <Package InstallerVersion="200" Compressed="yes" Platforms="Intel64,Intel"/>
7      <Media Id="1" Cabinet="HalWiX.cab" EmbedCab="yes" />
8     
9      <Directory Id="TARGETDIR" Name="SourceDir">
10        <Directory Id="AppDataFolder" />
11        <Directory Id="DesktopFolder" />
12       
13        <Directory Id="ProgramMenuFolder">
14          <Directory Id="HaliteProgramMenuFolder" Name="Halite">
15            <Component Id='HaliteExeStartMenuFolder' Guid='{D6B80025-50FC-4760-89B2-72340616AD19}'>
16             
17              <RegistryKey Root="HKCU" Key="Software\Halite\Uninstall">
18                <RegistryValue Value="HaliteProgramMenuFolder"
19                               Type="string"
20                               KeyPath="yes" />
21              </RegistryKey>   
22             
23              <RemoveFolder Id="RemoveShorcutFolder" On="uninstall" />
24            </Component>
25
26          </Directory>
27        </Directory>
28
29        <Directory Id="ProgramFilesFolder">
30          <Directory Id="HALITE_PRODUCTDIR" Name="Halite">
31
32            <Component Id='ReadMeText' Guid='0E8E2FD3-7658-4429-BBD1-BBDF76E99D71'>
33              <File Id='Readme' Name='readme.txt' DiskId='1' Source='..\..\Readme.txt' />
34            </Component>
35         
36            <Component Id='HaliteExe' Guid='{601CEE5B-5AE0-462f-BB19-A6FDBD520E40}'>
37              <File Id='HaliteFile' Name='Halite.exe' DiskId='1' Source='..\..\release\Halite.exe'>
38                <Shortcut Id="desktopHaliteFile" Directory="DesktopFolder" Name="Halite"
39                    WorkingDirectory='INSTALLDIR' Advertise="yes" Icon="HaliteIcon.exe" IconIndex="0" />
40                <Shortcut Id="startmenuHaliteFile" Directory="HaliteProgramMenuFolder" Name="Halite"
41                    WorkingDirectory='INSTALLDIR' Advertise="yes" Icon="HaliteIcon.exe" IconIndex="0" />
42              </File>
43            </Component>
44
45            <Component Id='LangDutch' Guid='{EA0BF907-8BF8-41b2-9014-34DAC36D207F}'>
46              <File Id='LangDutchFile' Name='Dutch.dll' DiskId='1' Source='..\..\lang\bin\x86\Dutch.dll' />
47            </Component>
48           
49          </Directory>
50        </Directory>
51
52        <Directory Id="ProgramFiles64Folder">
53          <Directory Id="HALITE_PRODUCTDIR64" Name="Halite">
54           
55            <Component Id='ReadMeText64' Win64="yes" Guid='{5DEB2C02-9FD5-46bb-A6F2-2D97CBE09BD6}'>
56              <File Id='Readme64' Name='readme.txt' DiskId='1' Source='..\..\Readme.txt' />
57            </Component>
58           
59            <Component Id='HaliteExe64' Win64="yes" Guid='{835DF415-07C2-4ac4-90B3-B78CB02594E9}'>
60              <File Id='HaliteFile64' Name='Halite.exe' DiskId='1' Source='..\..\x64\release\Halite.exe'>
61                <Shortcut Id="desktopHaliteFile64" Directory="DesktopFolder" Name="Halite"
62                    WorkingDirectory='INSTALLDIR' Advertise="yes" Icon="HaliteIcon.exe" IconIndex="0" />
63                <Shortcut Id="startmenuHaliteFile64" Directory="HaliteProgramMenuFolder" Name="Halite"
64                    WorkingDirectory='INSTALLDIR' Advertise="yes" Icon="HaliteIcon.exe" IconIndex="0" />
65              </File>
66            </Component>
67
68          </Directory>
69        </Directory>
70      </Directory>
71     
72      <Feature Id="x86Components" Title="Halite (Core 32bit)" Level="1"
73               ConfigurableDirectory="HALITE_PRODUCTDIR">
74        <ComponentRef Id="HaliteExe" />
75        <ComponentRef Id="HaliteExeStartMenuFolder" />
76        <ComponentRef Id="ReadMeText" />
77        <Condition Level="0">VersionNT64</Condition>
78      </Feature>
79
80      <Feature Id="Languages" Title="Languages" Level="1">
81        <Feature Id="FeatLangDutch" Title="Dutch" Level="1">
82          <ComponentRef Id="LangDutch" />
83        </Feature>
84        <Condition Level="0">VersionNT64</Condition>
85      </Feature>
86
87      <Feature Id="x64Components" Title="Halite (Core 64bit)" Level="1"
88               ConfigurableDirectory="HALITE_PRODUCTDIR64">
89        <ComponentRef Id="HaliteExe64" />
90        <ComponentRef Id="HaliteExeStartMenuFolder" />
91        <ComponentRef Id="ReadMeText64" />
92        <Condition Level="0">NOT VersionNT64</Condition>
93      </Feature>
94
95      <Icon Id="HaliteIcon.exe" SourceFile="..\..\release\Halite.exe" />
96
97      <UIRef Id="WixUI_FeatureTree" />
98    </Product>
99</Wix>
Note: See TracBrowser for help on using the repository browser.