~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to src/install/NUnit.wxs

  • Committer: charliepoole
  • Date: 2008-04-27 19:27:47 UTC
  • Revision ID: vcs-imports@canonical.com-20080427192747-eb00ybm0know4dvf
Move install directory out of src to top level

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="utf-8"?>
2
 
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
3
 
 
4
 
  <Product UpgradeCode="009074FF-2CEC-4b0c-9951-B07186F9ED3A" 
5
 
      Name="NUnit $(var.NominalVersion)" 
6
 
          Id="8433D598-929C-4792-823A-AC9932FE6AA2"
7
 
      Version="$(var.ProductVersion)"
8
 
      Manufacturer="nunit.org" 
9
 
      Language="1033">
10
 
  
11
 
    <Package Id="????????-????-????-????-????????????" 
12
 
        Comments="NUnit $(var.ProductVersion)" 
13
 
                Manufacturer="nunit.org" 
14
 
        InstallerVersion="200" 
15
 
        Platforms="Intel" 
16
 
                Languages="1033" 
17
 
        Compressed="yes" 
18
 
        SummaryCodepage="1252" />
19
 
                         
20
 
    <Property Id="FRAMEWORK10">
21
 
      <RegistrySearch Id='Framework10Registry' Type='raw'
22
 
        Root='HKLM' Key='Software\Microsoft\.NETFramework\policy\v1.0' Name='3705' />
23
 
    </Property>
24
 
 
25
 
    <Property Id="FRAMEWORK11">
26
 
      <RegistrySearch Id='Framework11Registry' Type='raw'
27
 
        Root='HKLM' Key='Software\Microsoft\.NETFramework\policy\v1.1' Name='4322' />
28
 
    </Property>
29
 
 
30
 
    <Property Id="FRAMEWORK20">
31
 
      <RegistrySearch Id='Framework20Registry' Type='raw'
32
 
        Root='HKLM' Key='Software\Microsoft\.NETFramework\policy\v2.0' Name='50727' />
33
 
    </Property>
34
 
        
35
 
        <Property Id="MONODEFAULTCLR">
36
 
          <RegistrySearch Id="MonoDefaultClr" Type='raw'
37
 
            Root='HKLM' Key='Software\Novell\Mono' Name='DefaultCLR' />
38
 
        </Property>
39
 
        
40
 
        <Property Id="MONODIRECTORY">
41
 
          <RegistrySearch Id="MonoDirectory" Type='directory'
42
 
            Root='HKLM' Key='Software\Novell\Mono\[MONODEFAULTCLR]' Name='SDKInstallRoot' />
43
 
        </Property>
44
 
 
45
 
    <!-- Define all directories used in the install -->
46
 
        <Directory Id="TARGETDIR" Name="SourceDir">
47
 
          <Directory Id='ProgramFilesFolder' Name='PFiles'>
48
 
                
49
 
                <!-- Target locations for NUnit Files -->
50
 
                <Directory Id='INSTALLDIR' Name='NUnit' LongName="NUnit $(var.NominalVersion)"> 
51
 
                  <Directory Id='net_1.1' Name='net-1.1'>
52
 
                    <Directory Id='addins_1.1' Name='addins' />
53
 
                    <Directory Id='tests_1.1' Name='tests' />
54
 
                    <Directory Id='lib_1.1' Name='lib' />
55
 
                  </Directory>
56
 
 
57
 
                  <Directory Id='net_2.0' Name='net-2.0'>
58
 
                    <Directory Id='addins_2.0' Name='addins' />
59
 
                    <Directory Id='tests_2.0' Name='tests' />
60
 
                    <Directory Id='lib_2.0' Name='lib' />
61
 
                  </Directory>
62
 
 
63
 
                  <Directory Id='doc' Name='doc'>
64
 
                    <Directory Id='files' Name='files' />
65
 
                        <Directory Id='img' Name='img' />
66
 
                  </Directory>
67
 
                  
68
 
                  <Directory Id='samples' Name='samples'>
69
 
                        <Directory Id='csharp' Name='csharp' />
70
 
                        <Directory Id='jsharp' Name='jsharp' />
71
 
                        <Directory Id='vb' Name='vb' />
72
 
                        <Directory Id='cpp' Name='cpp' />
73
 
                        <Directory Id='extensibility' Name='EXTENSIB' LongName='Extensibility' />
74
 
                  </Directory>          
75
 
                </Directory>
76
 
                
77
 
          </Directory>
78
 
 
79
 
      <!-- Desktop Folder Directory for our Desktop Shortcut -->
80
 
          <Directory Id="DesktopFolder" Name="." SourceName="DESKTOP" LongSource="User's Desktop" />
81
 
      
82
 
      <!-- Program Menu Folder and our subfolders for Shortcuts -->
83
 
          <Directory Id="ProgramMenuFolder" Name="." SourceName="PROGRAMS" LongSource="User's Program Menu">
84
 
        <Directory Id="NUnitMenu" Name="NUnit" LongName="NUnit $(var.NominalVersion)" >
85
 
                  <Directory Id="SamplesMenu" Name="Samples" />
86
 
                </Directory>
87
 
      </Directory>
88
 
      
89
 
    </Directory>
90
 
    
91
 
        <!-- Top Level File Components -->
92
 
        <DirectoryRef Id="INSTALLDIR">
93
 
        
94
 
      <Component Id="C__LOGO" Guid="99080421-75CC-4DFC-0987-AA16B7E68659">
95
 
        <File Id="_LOGO" Name="Logo.ico" Source="Logo.ico" Vital="yes" KeyPath="yes" DiskId="1" />
96
 
                    <RemoveFile Id="RemoveThumbnails" Name="*" On="uninstall" />
97
 
      </Component>
98
 
      
99
 
      <Component Id="C__LICENSE" Guid="7D03AE6B-15A7-16E0-0D21-D65708B2FA79">
100
 
        <File Id="_LICENSE" Name="license.txt" Source="license.txt" 
101
 
                          Vital="yes" KeyPath="yes" DiskId="1" />
102
 
      </Component>
103
 
          
104
 
      <Component Id="C__FIT_LICENSE" Guid="6C47563D-CDCD-4a65-BD89-A37F3A3C681D">
105
 
        <File Id="fit_license.txt" Name="FITLICNS.TXT" LongName="fit-license.txt" Source="fit-license.txt" 
106
 
                          Vital="yes" KeyPath="yes" DiskId="1" />
107
 
      </Component>
108
 
          
109
 
      <Component Id="C__ROWTEST_LICENSE" Guid="D394F6E1-C2D5-4d37-8E77-4941EDB3FC5D">
110
 
        <File Id="rowtest_license" Name="ROWTSTLI.TXT" LongName="rowtest-license.txt"
111
 
Source="rowtest-license.txt" 
112
 
                          Vital="yes" KeyPath="yes" DiskId="1" />
113
 
      </Component>
114
 
      
115
 
      <Component Id="InstallationRegistryEntry" Guid="FD139082-C1B1-46be-AA70-BA970EBDF397">
116
 
      
117
 
          <Registry Id="R__INSTALLDIR" Root="HKMU" Key="Software\[Manufacturer]\NUnit\$(var.NominalVersion)" Name="InstallDir" 
118
 
                                    Action="write" Type="string" Value="[INSTALLDIR]" />
119
 
                            
120
 
          <Registry Id="R__ProductVersion" Root="HKMU" Key="Software\[Manufacturer]\NUnit\$(var.NominalVersion)" Name="ProductVersion" 
121
 
                                    Action="write" Type="string" Value="[ProductVersion]" />
122
 
        
123
 
      </Component>
124
 
          
125
 
        </DirectoryRef>
126
 
      
127
 
    <!-- Define the NUnit base feature it's contents and reference 
128
 
                 sub-features defined in other files -->
129
 
        <Feature Id="BaseFeature" 
130
 
                Level="1" 
131
 
                ConfigurableDirectory="INSTALLDIR"
132
 
                Title="NUnit $(var.NominalVersion)" 
133
 
                Display='expand'
134
 
                Description="Installs all NUnit components for use under .NET 1.1 and .NET 2.0">
135
 
      
136
 
        <!-- Defined above -->
137
 
                <ComponentRef Id="C__LICENSE" />
138
 
                <ComponentRef Id="C__FIT_LICENSE" />
139
 
                <ComponentRef Id="C__LOGO" />
140
 
        <ComponentRef Id="C__ROWTEST_LICENSE"/>
141
 
        <ComponentRef Id="InstallationRegistryEntry"/>
142
 
 
143
 
                <Feature Id="Net_1.1_BaseFeature" 
144
 
                        Level="1" 
145
 
                        Title=".NET 1.1"
146
 
                        Description="Base NUnit assemblies required to write and run tests under .NET 1.1 using the NUnit-Console runner.">
147
 
                
148
 
                        <!-- Defined in bin.wxs -->
149
 
                        <ComponentRef Id="C__NUnitBase_1.1" />
150
 
                        <ComponentRef Id="C__Addins_1.1" />
151
 
                        <ComponentRef Id="C__Framework_Net_1_1" />
152
 
                
153
 
                        <!-- Defined in nunit-gui.wxs -->
154
 
                        <Feature Id="Net_1.1_GuiFeature" 
155
 
                                Level="1"
156
 
                                Title='NUnit Gui' 
157
 
                                Display='expand'
158
 
                                Description="Windows GUI runner for NUnit tests under .NET 1.1">
159
 
                
160
 
                                <ComponentGroupRef Id="Net_1.1_GuiGroup"/>
161
 
                                
162
 
                        </Feature>
163
 
                    
164
 
                        <Feature Id="Net_1.1_TestsFeature" 
165
 
                                Level="1"
166
 
                                Title='Unit Tests' 
167
 
                                Description='Unit tests for NUnit under .NET 1.1' 
168
 
                                Display='expand'>
169
 
                                
170
 
                                <ComponentGroupRef Id="Net_1.1_TestsGroup" />
171
 
                                
172
 
                        </Feature>
173
 
             
174
 
                </Feature>
175
 
                
176
 
                <Feature Id="Net_2.0_BaseFeature" 
177
 
                        Level="1" 
178
 
                        Title=".NET 2.0"
179
 
                        Description="NUnit assemblies required to write and run tests under .NET 2.0 using the NUnit-Console runner.">
180
 
                        
181
 
                        <ComponentRef Id="C__NUnitBase_2.0" />
182
 
                        <ComponentRef Id="C__Addins_2.0" />
183
 
                        <ComponentRef Id="C__Framework_Net_2_0" />
184
 
                        <ComponentRef Id="C__Console_x86_exe" />
185
 
 
186
 
                        <Feature Id="Net_2.0_GuiFeature" 
187
 
                                Level="1"
188
 
                                Title='NUnit Gui' 
189
 
                                Display='expand'
190
 
                                Description="Windows GUI runner for NUnit tests under .NET 2.0">
191
 
                
192
 
                                <ComponentGroupRef Id="Net_2.0_GuiGroup"/>
193
 
                                
194
 
                        </Feature>   
195
 
                                
196
 
                        <Feature Id="Net_2.0_TestsFeature" 
197
 
                                Level="1"
198
 
                                Title='Unit Tests' 
199
 
                                Description='Unit tests for NUnit under .NET 1.1' 
200
 
                                Display='expand'>
201
 
                                
202
 
                                <ComponentGroupRef Id="Net_2.0_TestsGroup" />
203
 
                                
204
 
                        </Feature>
205
 
 
206
 
                </Feature>
207
 
                
208
 
                <Feature Id="DocumentationFeature" 
209
 
                        Level="1"
210
 
                        Title='Documentation' 
211
 
                        Display='expand'
212
 
                        Description="HTML documentation for NUNit">
213
 
                        
214
 
                        <ComponentGroupRef Id="DocumentationComponents"/>
215
 
                
216
 
                </Feature>
217
 
      
218
 
                
219
 
                <!-- Defined in samples.wxs -->
220
 
                <Feature Id="SamplesFeature" 
221
 
                        Level="1"
222
 
                        Title='Samples' 
223
 
                        Description='Sample code showing the use of NUnit' 
224
 
                        Display='expand'>
225
 
                
226
 
                        <ComponentGroupRef Id="SampleComponents"/>
227
 
 
228
 
                </Feature>
229
 
                
230
 
    </Feature>
231
 
   
232
 
        <!-- The NUnit files are all in a single cab file that is embedded in the MSI -->
233
 
        <Media Id="1" EmbedCab="yes" Cabinet="nunit.cab" />
234
 
 
235
 
        <!-- Define our GUI using the standard WiX UI FeatureTree set-->
236
 
        <UIRef Id="WixUI_FeatureTree" />
237
 
    <UIRef Id="WixUI_ErrorProgressText" /> 
238
 
        
239
 
  </Product>
240
 
</Wix>
 
 
b'\\ No newline at end of file'