~jterrell/nunitv2/nunitv2

« back to all changes in this revision

Viewing changes to install/NUnit.wxs

  • Committer: Charlie Poole
  • Date: 2012-02-02 01:55:11 UTC
  • mfrom: (3368.1.11 work)
  • Revision ID: charlie@nunit.org-20120202015511-0sspxs5miu16uzse
Merge changes from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="utf-8"?>
2
 
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
3
 
 
4
 
  <Product 
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"
10
 
           Language="1033">
11
 
 
12
 
    <Package Id="????????-????-????-????-????????????"
13
 
             Comments="NUnit $(var.ProductVersion)"
14
 
                         Manufacturer="nunit.org"
15
 
             InstallerVersion="200"
16
 
             Platforms="Intel"
17
 
                         Languages="1033"
18
 
             Compressed="yes"
19
 
             SummaryCodepage="1252" />
 
2
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
 
3
 
 
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">
 
5
 
 
6
    <Package Comments="NUnit $(var.ProductVersion)" Manufacturer="nunit.org" InstallerVersion="200" Platform="x86" Languages="1033" Compressed="yes" SummaryCodepage="1252" />
20
7
 
21
8
    <!-- ***************************************************************** -->
22
9
    <!-- **********       Define Install Conditions             ********** -->
31
18
    <!-- ***************************************************************** -->
32
19
 
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" />
36
22
    </Property>
37
23
 
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" />
41
26
    </Property>
42
27
 
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" />
46
30
    </Property>
47
31
 
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" />
51
34
    </Property>
52
35
 
53
 
    <Property Id="CMD_EXE" Value="[!SystemFolder]cmd.exe"/>
 
36
    <Property Id="CMD_EXE" Value="[!SystemFolder]cmd.exe" />
 
37
 
 
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" />
54
41
 
55
42
    <!-- ***************************************************************** -->
56
43
    <!-- *********  Properties for the Add Remove Programs list  ********* -->
57
44
    <!-- ***************************************************************** -->
58
45
 
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&amp;r=2.5" />
63
50
    <Property Id="ARPURLINFOABOUT" Value="NUnit is a testing framework for all .NET languages" />
70
57
 
71
58
    <Directory Id="TARGETDIR" Name="SourceDir">
72
59
 
73
 
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
 
60
      <Directory Id="ProgramFilesFolder" Name="PFiles">
74
61
 
75
62
        <!-- Target locations for NUnit Files -->
76
 
        <Directory Id='INSTALLDIR' Name='NUnit' LongName="NUnit $(var.NominalVersion)">
77
 
 
78
 
          <Directory Id='bin' Name='bin'>
79
 
 
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)">
 
64
 
 
65
          <Directory Id="bin" Name="bin">
 
66
 
 
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" />
87
74
                </Directory>
88
75
              </Directory>
89
76
            </Directory>
90
 
            <Directory Id='addins' Name='addins' />
91
 
            <Directory Id='tests' Name='tests' />
92
 
            <Directory Id='framework' Name='FRAMEWK' LongName='framework' />
93
 
 
94
 
          </Directory>
95
 
 
96
 
          <Directory Id='doc' Name='doc'>
97
 
            <Directory Id='files' Name='files' />
98
 
            <Directory Id='img' Name='img' />
99
 
          </Directory>
100
 
 
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" />
 
80
 
 
81
          </Directory>
 
82
 
 
83
          <Directory Id="doc" Name="doc">
 
84
            <Directory Id="files" Name="files" />
 
85
            <Directory Id="img" Name="img" />
 
86
          </Directory>
 
87
 
 
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" />
107
94
          </Directory>
108
95
 
109
96
        </Directory>
111
98
      </Directory>
112
99
 
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" />
115
102
 
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" />
121
108
        </Directory>
122
109
      </Directory>
128
115
    <!-- **********      Define the NUnit feature tree          ********** -->
129
116
    <!-- ***************************************************************** -->
130
117
 
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.">
134
119
 
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"/>
149
 
 
150
 
      <!-- Defined in base_x86.wxs -->
151
 
      <ComponentRef Id="nunit_console_x86"/>
152
 
      <ComponentRef Id="nunit_agent_x86"/>
153
 
 
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" />
 
136
 
 
137
      <Feature Id="GuiRunner" Level="1" Title="Gui Runner" Display="expand" Description="Installs the NUnit GUI runner.">
156
138
 
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" />
175
157
      </Feature>
176
158
 
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.">
180
161
 
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" />
186
167
 
187
168
      </Feature>
188
169
 
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.">
191
171
 
192
172
        <!-- Defined in tests.wxs -->
193
173
        <ComponentRef Id="NUnitTestProject" />
198
178
        <ComponentRef Id="NSubstitute" />
199
179
 
200
180
        <!-- Defined in pnunit.wxs -->
201
 
        <ComponentRef Id="pnunit_tests"/>
 
181
        <ComponentRef Id="pnunit_tests" />
202
182
 
203
183
        <!-- Defined in nunit-gui.wxs -->
204
184
        <ComponentRef Id="gui_tests" />
205
185
 
206
186
      </Feature>
207
187
 
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.">
210
189
 
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"/>
215
195
 
216
196
      </Feature>
217
197
 
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.">
221
200
 
222
201
        <ComponentRef Id="C__SamplesCommon" />
223
202
        <ComponentRef Id="C__SampleShortcuts" />
224
203
 
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.">
227
205
 
228
206
          <ComponentRef Id="C__CSharp_Samples" />
229
207
          <ComponentRef Id="C__CSharp_Failures" />
240
218
 
241
219
        </Feature>
242
220
 
243
 
        <Feature Id="VBSamples" Level="1" Title='Visual Basic Samples' Display='expand'
244
 
               Description='Installs Visual Basic samples.' >
 
221
        <Feature Id="VBSamples" Level="1" Title="Visual Basic Samples" Display="expand" Description="Installs Visual Basic samples.">
245
222
 
246
223
          <ComponentRef Id="C__VB_Samples" />
247
224
          <ComponentRef Id="C__VB_Failures" />
250
227
 
251
228
        </Feature>
252
229
 
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.">
255
231
 
256
232
          <ComponentRef Id="C__JSharp_Samples" />
257
233
          <ComponentRef Id="C__JSharp_Failures" />
258
234
 
259
235
        </Feature>
260
236
 
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.">
263
238
 
264
239
          <!-- Managed C++ Samples -->
265
240
          <ComponentRef Id="C__CPP_Managed_Samples" />
288
263
    <UIRef Id="WixUI_ErrorProgressText" />
289
264
 
290
265
    <Icon Id="nunit_icon.exe" SourceFile="Logo.ico" />
291
 
        
 
266
 
292
267
  </Product>
293
268
</Wix>
 
 
b'\\ No newline at end of file'