Sections hashtable should be case insensitive
[castle.git] / Setup / Castle.wxs
blob795d579584d8caac548176acb5d7a0be83618aa7
1 <?xml version="1.0"?>
3 <?define VsVersion = "dummy"?>
5 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
7 <?include Includes.wxi?>
9 <Product
10 UpgradeCode="$(var.UpgradeGuid)"
11 Id="*"
12 Name="$(var.ProductName)"
13 Language="1033"
14 Version="$(var.VersionNumber)"
15 Manufacturer="$(var.PackageManufacturer)">
17 <Package
18 Id="00489AF3-C92D-465C-82F2-7F6042D75E2B"
19 Description="All Castle Binaries, documentation, samples and source code"
20 Comments="All Castle Binaries, documentation, samples and source code"
21 InstallerVersion="200" Compressed="yes" />
23 <Condition Message="An administrator must approve or install [ProductName].">Privileged</Condition>
25 <Property Id="VS2003_SCHEMAS_DIR">
26 <?undef VsVersion?>
27 <?define VsVersion = "7.1"?>
28 <RegistrySearch Id="SearchForCommonDirPath2003" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\$(var.VsVersion)\Setup\VC#" Name="ProductDir" Type="raw">
29 <DirectorySearch Id="SearchForProjectsPath2003" Path="CSharpProjects" Depth="1" />
30 </RegistrySearch>
31 </Property>
33 <Property Id="VS2005_SCHEMAS_DIR">
34 <?undef VsVersion?>
35 <?define VsVersion = "8.0"?>
36 <RegistrySearch Id="SearchForCommonDirPath2005" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\$(var.VsVersion)\Setup\VC#" Name="ProductDir" Type="raw">
37 <DirectorySearch Id="SearchForProjectsPath2005" Path="CSharpProjects" Depth="1" />
38 </RegistrySearch>
39 </Property>
41 <Property Id='FRAMEWORK11'>
42 <RegistrySearch Id='Framework11Registry' Type='raw'
43 Root='HKLM' Key='Software\Microsoft\.NETFramework\Policy\v1.1' Name='4322' />
44 </Property>
46 <Property Id='FRAMEWORK20'>
47 <RegistrySearch Id='Framework20Registry' Type='raw'
48 Root='HKLM' Key='Software\Microsoft\.NETFramework\Policy\v2.0' Name='50727' />
49 </Property>
51 <Media Id="1" Cabinet="Content.cab" EmbedCab="yes" CompressionLevel="high" />
53 <Directory Id="TARGETDIR" Name="SourceDir">
54 <Directory Id="ProgramFilesFolder">
55 <Directory Id="INSTALLLOCATION" Name="CastleProject">
57 <Directory Id="ReleaseNotesDir" Name="ReleaseNotes"/>
59 <Directory Id="BinDir" Name="Bin" />
61 <Directory Id="DocsDir" Name="Docs" />
63 <Directory Id="SourceCodeDir" Name="Source Code" />
65 <Directory Id="SamplesDir" Name="Samples" />
67 <Directory Id="WizardTemplatesDir" Name="Wizard Templates">
68 <Directory Id="TemplatesVs7Dir" Name="VS7">
69 </Directory>
71 <Directory Id="TemplatesVs8Dir" Name="VS8">
72 </Directory>
73 </Directory>
75 </Directory>
76 </Directory>
78 <Directory Id="ProgramMenuFolder" Name="Programs">
79 <Directory Id="SHORTCUTDIR" Name="Castle Project">
80 <Directory Id="CastleShortCutDIR" Name="Release Candidate 2">
81 </Directory>
82 </Directory>
83 </Directory>
85 </Directory>
87 <!-- Features -->
88 <Feature Id="Complete" Title="Castle"
89 Display="expand" Level="1" Description="Castle Project"
90 ConfigurableDirectory="INSTALLLOCATION">
92 <Feature
93 Id='MainProgram' Title='Binaries'
94 Description='Castle assemblies and dependencies' Level='1'>
96 <ComponentRef Id="ReleaseNotesRoot" />
97 <ComponentRef Id="ReleaseNotesComps" />
98 <ComponentRef Id="ReleaseNotesFacilities" />
99 <ComponentRef Id="ReleaseNotesServices" />
101 <ComponentRef Id="ProductComponent11" />
102 <ComponentRef Id="ProductComponent20" />
103 <ComponentRef Id="ProductComponentGac1" />
104 <ComponentRef Id="ProductComponentGac2" />
105 </Feature>
107 <Feature
108 Id='Documentation' Title='Documentation'
109 Description='Castle documentation' Level='1'>
111 <ComponentRef Id='DocsComp' />
112 </Feature>
114 <Feature
115 Id='SourceCode' Title='Source Code'
116 Description='A zip file with the source code' Level='1'>
118 <ComponentRef Id='SourceComp' />
119 </Feature>
121 <Feature
122 Id='Samples' Title='Samples'
123 Description='Zip files with sample applications' Level='1'>
125 <ComponentRef Id='samplescomp' />
126 </Feature>
128 <Feature
129 Id='VSWizards2003' Title='Visual Studio 2003 Wizards'
130 Description='Wizards for VS.Net 2003 that helps in creating new projects' Level='1'>
132 <ComponentRef Id='vs2003addin' />
133 <ComponentRef Id='vs7comp' />
134 <ComponentRef Id='componentvs2003_ARProject' />
135 <ComponentRef Id='componentvs2003_ARProjectTest' />
136 <ComponentRef Id='componentvs2003_MRProject' />
137 <ComponentRef Id='componentvs2003_MRProject1' />
138 <ComponentRef Id='componentvs2003_MRProject2' />
139 <ComponentRef Id='componentvs2003_MRProject3' />
140 <ComponentRef Id='componentvs2003_MRProject4' />
141 <ComponentRef Id='componentvs2003_MRProject5' />
142 <ComponentRef Id='componentvs2003_MRProject6' />
143 <ComponentRef Id='componentvs2003_MRProjectTest' />
144 </Feature>
146 <Feature
147 Id='VSWizards2005' Title='Visual Studio 2005 Wizards'
148 Description='Wizards for VS.Net 2005 that helps in creating new projects' Level='1'>
150 <ComponentRef Id='vs2005addin' />
151 <ComponentRef Id='vs8comp' />
152 <ComponentRef Id='componentvs2005_ARProject' />
153 <ComponentRef Id='componentvs2005_ARProjectTest' />
154 <ComponentRef Id='componentvs2005_MRProject' />
155 <ComponentRef Id='componentvs2005_MRProject1' />
156 <ComponentRef Id='componentvs2005_MRProject2' />
157 <ComponentRef Id='componentvs2005_MRProject3' />
158 <ComponentRef Id='componentvs2005_MRProject4' />
159 <ComponentRef Id='componentvs2005_MRProject5' />
160 <ComponentRef Id='componentvs2005_MRProject6' />
161 <ComponentRef Id='componentvs2005_MRProject7' />
162 <ComponentRef Id='componentvs2005_MRProjectTest' />
163 </Feature>
165 </Feature>
167 <!-- <UIRef Id="FragmentUI" /> -->
169 <FragmentRef Id='FragmentUI' />
171 <AdminExecuteSequence />
173 <InstallExecuteSequence>
174 <!-- <RemoveExistingProducts After='InstallFinalize' /> -->
175 </InstallExecuteSequence>
177 </Product>
178 </Wix>