Refactored yet again to give extensible support for the retrieval and assignment...
[castle.git] / Setup / Castle.wxs
blobde933d5a75da37e0b59bec495670a8c7622a37bb
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 Description="All Castle Binaries, documentation, samples and source code"
19 Comments="All Castle Binaries, documentation, samples and source code"
20 InstallerVersion="200" Compressed="yes" />
22 <Condition Message="An administrator must approve or install [ProductName].">Privileged</Condition>
24 <Property Id="VS2005_SCHEMAS_DIR">
25 <?undef VsVersion?>
26 <?define VsVersion = "8.0"?>
27 <RegistrySearch Id="SearchForCommonDirPath2005" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\$(var.VsVersion)\Setup\VC#" Name="ProductDir" Type="raw">
28 <DirectorySearch Id="SearchForProjectsPath2005" Path="CSharpProjects" Depth="1" />
29 </RegistrySearch>
30 </Property>
32 <Property Id='FRAMEWORK20'>
33 <RegistrySearch Id='Framework20Registry' Type='raw'
34 Root='HKLM' Key='Software\Microsoft\.NETFramework\Policy\v2.0' Name='50727' />
35 </Property>
37 <Media Id="1" Cabinet="Content.cab" EmbedCab="yes" CompressionLevel="high" />
39 <Directory Id="TARGETDIR" Name="SourceDir">
40 <Directory Id="ProgramFilesFolder">
41 <Directory Id="INSTALLLOCATION" Name="CastleProject">
43 <Directory Id="ReleaseNotesDir" Name="ReleaseNotes"/>
45 <Directory Id="BinDir" Name="Bin" />
47 <Directory Id="DocsDir" Name="Docs" />
49 <Directory Id="SourceCodeDir" Name="Source Code" />
51 <Directory Id="SamplesDir" Name="Samples" />
53 <Directory Id="WizardTemplatesDir" Name="Wizard Templates">
54 <Directory Id="TemplatesVs7Dir" Name="VS7">
55 </Directory>
57 <Directory Id="TemplatesVs8Dir" Name="VS8">
58 </Directory>
59 </Directory>
61 </Directory>
62 </Directory>
64 <Directory Id="ProgramMenuFolder" Name="Programs">
65 <Directory Id="SHORTCUTDIR" Name="Castle Project">
66 <Directory Id="CastleShortCutDIR" Name="Release Candidate 3">
67 </Directory>
68 </Directory>
69 </Directory>
71 </Directory>
73 <!-- Features -->
74 <Feature Id="Complete" Title="Castle"
75 Display="expand" Level="1" Description="Castle Project"
76 ConfigurableDirectory="INSTALLLOCATION">
78 <Feature
79 Id='MainProgram' Title='Binaries'
80 Description='Castle assemblies and dependencies' Level='1'>
82 <ComponentRef Id="ReleaseNotesRoot" />
83 <ComponentRef Id="ReleaseNotesComps" />
84 <ComponentRef Id="ReleaseNotesFacilities" />
85 <ComponentRef Id="ReleaseNotesServices" />
87 <ComponentRef Id="ProductComponent20" />
88 <ComponentRef Id="ProductComponentDeps" />
89 <ComponentGroupRef Id="ProductComponent20Resources"/>
90 </Feature>
92 <Feature
93 Id='Documentation' Title='Documentation'
94 Description='Castle documentation in chm format' Level='1'>
96 <ComponentRef Id='DocsComp' />
97 </Feature>
99 <Feature
100 Id='SourceCode' Title='Source Code'
101 Description='A zip file with the source code' Level='1'>
103 <ComponentRef Id='SourceComp' />
104 </Feature>
106 <Feature
107 Id='Samples' Title='Samples'
108 Description='Zip files with sample applications' Level='1'>
110 <ComponentRef Id='samplescomp' />
111 </Feature>
113 <Feature
114 Id='VSWizards2005' Title='Visual Studio 2005 Wizards'
115 Description='Wizards for VS.Net 2005 that helps in creating new projects' Level='1'>
117 <ComponentRef Id='vs2005addin' />
118 <ComponentRef Id='vs8comp' />
119 <ComponentRef Id='ARProject' />
120 <ComponentRef Id='ARProjectTest' />
121 <ComponentRef Id='MRProject' />
122 <ComponentRef Id='MRProject_Config' />
123 <ComponentRef Id='MRProject_Content_css' />
124 <ComponentRef Id='MRProject_Content_images' />
125 <ComponentRef Id='MRProject_Content_js' />
126 <ComponentRef Id='MRProject_Controllers' />
127 <ComponentRef Id='MRProject_Models' />
128 <ComponentRef Id='MRProject_Properties' />
129 <ComponentRef Id='MRProject_Views_contact' />
130 <ComponentRef Id='MRProject_Views_Home' />
131 <ComponentRef Id='MRProject_Views_layouts' />
132 <ComponentRef Id='MRProject_Views_login' />
133 <ComponentRef Id='MRProject_Views_rescues' />
134 <ComponentRef Id='MRProject_ViewsPlaceHolder' />
135 <ComponentRef Id='MRProject_ViewsPlaceHolder_contact' />
136 <ComponentRef Id='MRProject_ViewsPlaceHolder_home' />
137 <ComponentRef Id='MRProject_ViewsPlaceHolder_login' />
138 <ComponentRef Id='MRProjectTest' />
139 <ComponentRef Id='MRProjectTest_Controllers' />
140 </Feature>
142 </Feature>
144 <UIRef Id="FragmentUI" />
146 <AdminExecuteSequence />
148 <InstallExecuteSequence>
149 <!-- <RemoveExistingProducts After='InstallFinalize' /> -->
150 </InstallExecuteSequence>
152 </Product>
153 </Wix>