1
1
<?xml version="1.0" encoding="utf-8"?>
2
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
5
UpgradeCode="009074FF-2CEC-4b0c-9951-B07186F9ED3A"
6
Name="NUnit $(var.NominalVersion)"
7
Id="321FC471-2945-4d25-8D04-10B6A7AE5F15"
8
Version="$(var.ProductVersion)"
9
Manufacturer="nunit.org"
12
<Package Id="????????-????-????-????-????????????"
13
Comments="NUnit $(var.ProductVersion)"
14
Manufacturer="nunit.org"
15
InstallerVersion="200"
19
SummaryCodepage="1252" />
2
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
4
<Product UpgradeCode="009074FF-2CEC-4b0c-9951-B07186F9ED3A" Name="NUnit $(var.NominalVersion)" Id="321FC471-2945-4d25-8D04-10B6A7AE5F15" Version="$(var.ProductVersion)" Manufacturer="nunit.org" Language="1033">
6
<Package Comments="NUnit $(var.ProductVersion)" Manufacturer="nunit.org" InstallerVersion="200" Platform="x86" Languages="1033" Compressed="yes" SummaryCodepage="1252" />
21
8
<!-- ***************************************************************** -->
22
9
<!-- ********** Define Install Conditions ********** -->
31
18
<!-- ***************************************************************** -->
33
20
<Property Id="FRAMEWORK20">
34
<RegistrySearch Id='Framework20Registry' Type='raw' Root='HKLM'
35
Key='Software\Microsoft\.NETFramework\policy\v2.0' Name='50727' />
21
<RegistrySearch Id="Framework20Registry" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework\policy\v2.0" Name="50727" />
38
24
<Property Id="FRAMEWORK40">
39
<RegistrySearch Id='Framework40Registry' Type='raw' Root='HKLM'
40
Key='Software\Microsoft\.NETFramework\policy\v4.0' Name='30319' />
25
<RegistrySearch Id="Framework40Registry" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework\policy\v4.0" Name="30319" />
43
28
<Property Id="MONODEFAULTCLR">
44
<RegistrySearch Id="MonoDefaultClr" Type='raw' Root='HKLM'
45
Key='Software\Novell\Mono' Name='DefaultCLR' />
29
<RegistrySearch Id="MonoDefaultClr" Type="raw" Root="HKLM" Key="Software\Novell\Mono" Name="DefaultCLR" />
48
32
<Property Id="MONODIRECTORY">
49
<RegistrySearch Id="MonoDirectory" Type='directory' Root='HKLM'
50
Key='Software\Novell\Mono\[MONODEFAULTCLR]' Name='SDKInstallRoot' />
33
<RegistrySearch Id="MonoDirectory" Type="directory" Root="HKLM" Key="Software\Novell\Mono\[MONODEFAULTCLR]" Name="SDKInstallRoot" />
53
<Property Id="CMD_EXE" Value="[!SystemFolder]cmd.exe"/>
36
<Property Id="CMD_EXE" Value="[!SystemFolder]cmd.exe" />
38
<!-- Set ALLUSERS to null, user may override by specifying
39
ALLUSERS=1 as part of the command line. -->
40
<Property Id="ALLUSERS" Secure="yes" />
55
42
<!-- ***************************************************************** -->
56
43
<!-- ********* Properties for the Add Remove Programs list ********* -->
57
44
<!-- ***************************************************************** -->
59
46
<Property Id="ARPCONTACT" Value="Charlie Poole" />
60
<Property Id='ARPPRODUCTICON' Value='nunit_icon.exe'/>
47
<Property Id="ARPPRODUCTICON" Value="nunit_icon.exe" />
61
48
<Property Id="ARPHELPLINK" Value="http://lists.sourceforge.net/lists/listinfo/nunit-users" />
62
49
<Property Id="ARPREADME" Value="http://nunit.org/?p=releaseNotes&r=2.5" />
63
50
<Property Id="ARPURLINFOABOUT" Value="NUnit is a testing framework for all .NET languages" />
71
58
<Directory Id="TARGETDIR" Name="SourceDir">
73
<Directory Id='ProgramFilesFolder' Name='PFiles'>
60
<Directory Id="ProgramFilesFolder" Name="PFiles">
75
62
<!-- Target locations for NUnit Files -->
76
<Directory Id='INSTALLDIR' Name='NUnit' LongName="NUnit $(var.NominalVersion)">
78
<Directory Id='bin' Name='bin'>
80
<Directory Id='lib' Name='lib'>
81
<Directory Id='Images' Name='Images'>
82
<Directory Id='Tree' Name='Tree'>
83
<Directory Id='Circles' Name='Circles' />
84
<Directory Id='Classic' Name='Classic' />
85
<Directory Id='Default' Name='Default' />
86
<Directory Id='VisualStudio' Name='VStudio' LongName='Visual Studio' />
63
<Directory Id="INSTALLDIR" ShortName="NUnit" Name="NUnit $(var.NominalVersion)">
65
<Directory Id="bin" Name="bin">
67
<Directory Id="lib" Name="lib">
68
<Directory Id="Images" Name="Images">
69
<Directory Id="Tree" Name="Tree">
70
<Directory Id="Circles" Name="Circles" />
71
<Directory Id="Classic" Name="Classic" />
72
<Directory Id="Default" Name="Default" />
73
<Directory Id="VisualStudio" ShortName="VStudio" Name="Visual Studio" />
90
<Directory Id='addins' Name='addins' />
91
<Directory Id='tests' Name='tests' />
92
<Directory Id='framework' Name='FRAMEWK' LongName='framework' />
96
<Directory Id='doc' Name='doc'>
97
<Directory Id='files' Name='files' />
98
<Directory Id='img' Name='img' />
101
<Directory Id='samples' Name='samples'>
102
<Directory Id='csharp' Name='csharp' />
103
<Directory Id='jsharp' Name='jsharp' />
104
<Directory Id='vb' Name='vb' />
105
<Directory Id='cpp' Name='cpp' />
106
<Directory Id='extensibility' Name='EXTENSIB' LongName='Extensibility' />
77
<Directory Id="addins" Name="addins" />
78
<Directory Id="tests" Name="tests" />
79
<Directory Id="framework" ShortName="FRAMEWK" Name="framework" />
83
<Directory Id="doc" Name="doc">
84
<Directory Id="files" Name="files" />
85
<Directory Id="img" Name="img" />
88
<Directory Id="samples" Name="samples">
89
<Directory Id="csharp" Name="csharp" />
90
<Directory Id="jsharp" Name="jsharp" />
91
<Directory Id="vb" Name="vb" />
92
<Directory Id="cpp" Name="cpp" />
93
<Directory Id="extensibility" ShortName="EXTENSIB" Name="Extensibility" />
113
100
<!-- Desktop Folder Directory for our Desktop Shortcut -->
114
<Directory Id="DesktopFolder" Name="." SourceName="DESKTOP" LongSource="User's Desktop" />
101
<Directory Id="DesktopFolder" Name="." SourceName="User's Desktop" />
116
103
<!-- Program Menu Folder and our subfolders for Shortcuts -->
117
<Directory Id="ProgramMenuFolder" Name="." SourceName="PROGRAMS" LongSource="User's Program Menu">
118
<Directory Id="NUnitMenu" Name="NUnit" LongName="NUnit $(var.NominalVersion)" >
119
<Directory Id="RunUnderMenu" Name="RunUnder" LongName="Select Runtime" />
104
<Directory Id="ProgramMenuFolder" Name="." SourceName="User's Program Menu">
105
<Directory Id="NUnitMenu" ShortName="NUnit" Name="NUnit $(var.NominalVersion)">
106
<Directory Id="RunUnderMenu" ShortName="RunUnder" Name="Select Runtime" />
120
107
<Directory Id="SamplesMenu" Name="Samples" />
128
115
<!-- ********** Define the NUnit feature tree ********** -->
129
116
<!-- ***************************************************************** -->
131
<Feature Id="BaseFeature" ConfigurableDirectory="INSTALLDIR"
132
Level="1" Title="NUnit $(var.NominalVersion)" Display='expand'
133
Description="Installs the NUnit console runner and supporting assemblies required to write and run tests.">
118
<Feature Id="BaseFeature" ConfigurableDirectory="INSTALLDIR" Level="1" Title="NUnit $(var.NominalVersion)" Display="expand" Description="Installs the NUnit console runner and supporting assemblies required to write and run tests.">
135
120
<!-- Defined in base.wxs -->
136
<ComponentRef Id="C__LICENSE"/>
137
<ComponentRef Id="C__LOGO"/>
138
<ComponentRef Id="InstallationRegistryEntry"/>
139
<ComponentRef Id="nunit.framework"/>
140
<ComponentRef Id="nunit.mocks"/>
141
<ComponentRef Id="AssemblyReferenceFolder"/>
142
<ComponentRef Id="nunit.core"/>
143
<ComponentRef Id="nunit.core.interfaces"/>
144
<ComponentRef Id="nunit.util"/>
145
<ComponentRef Id="AddinsFolder"/>
146
<ComponentRef Id="nunit_console"/>
147
<ComponentRef Id="console.dll"/>
148
<ComponentRef Id="nunit_agent"/>
150
<!-- Defined in base_x86.wxs -->
151
<ComponentRef Id="nunit_console_x86"/>
152
<ComponentRef Id="nunit_agent_x86"/>
154
<Feature Id="GuiRunner" Level="1" Title='Gui Runner' Display='expand'
155
Description="Installs the NUnit GUI runner.">
121
<ComponentRef Id="C__LICENSE" />
122
<ComponentRef Id="C__LOGO" />
123
<ComponentRef Id="InstallationRegistryEntry" />
124
<ComponentRef Id="nunit.framework" />
125
<ComponentRef Id="nunit.mocks" />
126
<ComponentRef Id="AssemblyReferenceFolder" />
127
<ComponentRef Id="nunit.core" />
128
<ComponentRef Id="nunit.core.interfaces" />
129
<ComponentRef Id="nunit.util" />
130
<ComponentRef Id="AddinsFolder" />
131
<ComponentRef Id="nunit_console" />
132
<ComponentRef Id="nunit_console_x86" />
133
<ComponentRef Id="console.dll" />
134
<ComponentRef Id="nunit_agent" />
135
<ComponentRef Id="nunit_agent_x86" />
137
<Feature Id="GuiRunner" Level="1" Title="Gui Runner" Display="expand" Description="Installs the NUnit GUI runner.">
157
139
<!-- Defined in nunit-gui.wxs -->
158
140
<ComponentRef Id="nunit.exe" />
164
146
<ComponentRef Id="DefaultImageSet" />
165
147
<ComponentRef Id="VisualStudioImageSet" />
166
148
<ComponentRef Id="nunit.uiexception.dll" />
167
<ComponentRef Id="DllFileAssociation" />
168
<ComponentRef Id="NUnitProjectFileAssociation" />
149
<!--<ComponentRef Id="DllFileAssociation" />
150
<ComponentRef Id="NUnitProjectFileAssociation" />-->
169
151
<ComponentRef Id="MenuShortcut_NUnit" />
170
152
<ComponentRef Id="MenuShortcut_2.0" />
171
153
<ComponentRef Id="MenuShortcut_Mono_2.0" />
177
159
<!-- Defined in pnunit.wxs -->
178
<Feature Id="PNunitRunner" Level="10" Title='PNUnit Runner' Display='expand'
179
Description="Installs the PNUnit runner for parallel distributed tests.">
160
<Feature Id="PNunitRunner" Level="10" Title="PNUnit Runner" Display="expand" Description="Installs the PNUnit runner for parallel distributed tests.">
181
162
<!-- Defined in pnunit.wxs -->
182
<ComponentRef Id="pnunit_agent"/>
183
<ComponentRef Id="pnunit_launcher"/>
184
<ComponentRef Id="pnunit_framework"/>
185
<ComponentRef Id="log4net"/>
163
<ComponentRef Id="pnunit_agent" />
164
<ComponentRef Id="pnunit_launcher" />
165
<ComponentRef Id="pnunit_framework" />
166
<ComponentRef Id="log4net" />
189
<Feature Id="TestsFeature" Level="10" Title='Unit Tests' Display='expand'
190
Description='Installs the unit tests for NUnit itself.'>
170
<Feature Id="TestsFeature" Level="10" Title="Unit Tests" Display="expand" Description="Installs the unit tests for NUnit itself.">
192
172
<!-- Defined in tests.wxs -->
193
173
<ComponentRef Id="NUnitTestProject" />
198
178
<ComponentRef Id="NSubstitute" />
200
180
<!-- Defined in pnunit.wxs -->
201
<ComponentRef Id="pnunit_tests"/>
181
<ComponentRef Id="pnunit_tests" />
203
183
<!-- Defined in nunit-gui.wxs -->
204
184
<ComponentRef Id="gui_tests" />
208
<Feature Id="DocumentationFeature" Level="1" Title='Documentation' Display='expand'
209
Description="Installs the NUnit documentation.">
188
<Feature Id="DocumentationFeature" Level="1" Title="Documentation" Display="expand" Description="Installs the NUnit documentation.">
211
190
<!-- Defined in doc.wxs -->
212
191
<ComponentRef Id="HtmlDocs" />
213
192
<ComponentRef Id="DocFiles" />
214
193
<ComponentRef Id="DocImages" />
194
<ComponentRef Id="MenuShortcut_NUnitHelp"/>
218
198
<!-- Defined in samples.wxs -->
219
<Feature Id="SamplesFeature" Level="1" Title='Samples' Display='collapse'
220
Description='Installs sample code showing the use of NUnit.' >
199
<Feature Id="SamplesFeature" Level="1" Title="Samples" Display="collapse" Description="Installs sample code showing the use of NUnit.">
222
201
<ComponentRef Id="C__SamplesCommon" />
223
202
<ComponentRef Id="C__SampleShortcuts" />
225
<Feature Id="CSharpSamples" Level="1" Title='C# Samples' Display='expand'
226
Description='Installs C# samples.' >
204
<Feature Id="CSharpSamples" Level="1" Title="C# Samples" Display="expand" Description="Installs C# samples.">
228
206
<ComponentRef Id="C__CSharp_Samples" />
229
207
<ComponentRef Id="C__CSharp_Failures" />
253
<Feature Id="JSharpSamples" Level="1" Title='J# Samples' Display='expand'
254
Description='Installs J# samples.' >
230
<Feature Id="JSharpSamples" Level="1" Title="J# Samples" Display="expand" Description="Installs J# samples.">
256
232
<ComponentRef Id="C__JSharp_Samples" />
257
233
<ComponentRef Id="C__JSharp_Failures" />
261
<Feature Id="CPPSamples" Level="1" Title='C++ Samples' Display='expand'
262
Description='Installs C++ samples.' >
237
<Feature Id="CPPSamples" Level="1" Title="C++ Samples" Display="expand" Description="Installs C++ samples.">
264
239
<!-- Managed C++ Samples -->
265
240
<ComponentRef Id="C__CPP_Managed_Samples" />