~nunit-core/nunitv2/2.6.1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <Product
    UpgradeCode="EE7297AC-EF4E-4415-8621-0066AA2D57D4"
    Name="NUnit $(var.NominalVersion) (.NET 1.1 Support)"
    Id="96C3E083-D61B-4bee-ACA4-2B74E44D8A66"
    Version="$(var.ProductVersion)"
    Manufacturer="nunit.org" Language="1033">

    <Package Comments="NUnit $(var.ProductVersion)" Manufacturer="nunit.org" InstallerVersion="200" Platform="x86" Languages="1033" Compressed="yes" SummaryCodepage="1252" />

    <!-- ***************************************************************** -->
    <!-- **********       Define Install Conditions             ********** -->
    <!-- ***************************************************************** -->

    <Condition Message="NUnit (.NET 1.1 Support) requires .NET 1.0, .NET 1.1 or Mono to be installed as a prerequisite.">
      FRAMEWORK10 OR FRAMEWORK11 OR MONODIRECTORY
    </Condition>

    <!-- ***************************************************************** -->
    <!-- **********  Define Properties used in the install      ********** -->
    <!-- ***************************************************************** -->

    <Property Id="FRAMEWORK10">
      <RegistrySearch Id="Framework10Registry" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework\policy\v1.0" Name="3705" />
    </Property>

    <Property Id="FRAMEWORK11">
      <RegistrySearch Id="Framework11Registry" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework\policy\v1.1" Name="4322" />
    </Property>

    <Property Id="MONODEFAULTCLR">
      <RegistrySearch Id="MonoDefaultClr" Type="raw" Root="HKLM" Key="Software\Novell\Mono" Name="DefaultCLR" />
    </Property>

    <Property Id="MONODIRECTORY">
      <RegistrySearch Id="MonoDirectory" Type="directory" Root="HKLM" Key="Software\Novell\Mono\[MONODEFAULTCLR]" Name="SDKInstallRoot" />
    </Property>

    <Property Id="CMD_EXE" Value="[!SystemFolder]cmd.exe" />

    <!-- ***************************************************************** -->
    <!-- *********  Properties for the Add Remove Programs list  ********* -->
    <!-- ***************************************************************** -->

    <Property Id="ARPCONTACT" Value="Charlie Poole" />
    <Property Id="ARPPRODUCTICON" Value="nunit_icon.exe" />
    <Property Id="ARPHELPLINK" Value="http://lists.sourceforge.net/lists/listinfo/nunit-users" />
    <Property Id="ARPREADME" Value="http://nunit.org/?p=releaseNotes&amp;r=2.6" />
    <Property Id="ARPURLINFOABOUT" Value="NUnit is a testing framework for all .NET languages" />
    <Property Id="ARPURLUPDATEINFO" Value="http://nunit.org?p=download" />


    <!-- ***************************************************************** -->
    <!-- **********       Define Directory Structure            ********** -->
    <!-- ***************************************************************** -->

    <Directory Id="TARGETDIR" Name="SourceDir">

      <Directory Id="ProgramFilesFolder" Name="PFiles">

        <!-- Target locations for NUnit Files -->
        <Directory Id="INSTALLDIR" Name="NUnit $(var.NominalVersion)">

          <Directory Id="parent" Name="bin">

            <Directory Id="bin" Name="net-1.1">

              <Directory Id="lib" Name="lib" />
              <Directory Id="addins" Name="addins" />
              <Directory Id="tests" Name="tests" />
              <Directory Id="framework" Name="framework" />

            </Directory>

          </Directory>

        </Directory>

      </Directory>

      <!-- Desktop Folder Directory for our Desktop Shortcut -->
      <Directory Id="DesktopFolder" Name="." SourceName="User's Desktop" />

      <!-- Program Menu Folder and our subfolders for Shortcuts -->
      <Directory Id="ProgramMenuFolder" Name=".">
        <Directory Id="NUnitMenu" Name="NUnit $(var.NominalVersion)">
          <Component Id="NUnitMenu">
            <RemoveFolder Id="NUnitMenu" On="uninstall"/>
            <RegistryValue Root="HKMU"
               Key="SOFTWARE\[Manufacturer]\NUnit\$(var.NominalVersion)"
               Type="integer" Name="NUnitMenu" Value="1" />
          </Component>
        </Directory>
      </Directory>

    </Directory>


    <!-- ***************************************************************** -->
    <!-- **********      Define the NUnit feature tree          ********** -->
    <!-- ***************************************************************** -->

    <Feature Id="BaseFeature" ConfigurableDirectory="INSTALLDIR" Level="1" Title="NUnit $(var.NominalVersion)" Display="expand" Description="Installs the NUnit console runner for .NET 1.1 and supporting assemblies required to write and run tests.">

      <!-- Defined in this file -->
      <ComponentRef Id="NUnitMenu" />

      <!-- Defined in base-net-1.1.wxs -->
      <ComponentRef Id="license.txt" />
      <ComponentRef Id="Logo.ico" />
      <ComponentRef Id="nunit.framework" />
      <ComponentRef Id="nunit.mocks" />
      <ComponentRef Id="AssemblyReferenceFolder" />
      <ComponentRef Id="nunit.core" />
      <ComponentRef Id="nunit.core.interfaces" />
      <ComponentRef Id="nunit.util" />
      <ComponentRef Id="AddinsFolder" />
      <ComponentRef Id="nunit_console" />
      <ComponentRef Id="console.dll" />
      <ComponentRef Id="nunit_agent" />

      <Feature Id="PNUnitRunner" Level="10" Title="PNUnit Runner" Display="expand" Description="Installs the PNUnit runner for parallel distributed tests.">

        <!-- Defined in pnunit.wxs -->
        <ComponentRef Id="pnunit_agent" />
        <ComponentRef Id="pnunit_launcher" />
        <ComponentRef Id="pnunit_framework" />
        <ComponentRef Id="log4net" />

      </Feature>

      <Feature Id="TestsFeature" Level="10" Title="Unit Tests" Display="expand" Description="Installs the unit tests for NUnit itself">

        <!-- Defined in tests.wxs -->
        <ComponentRef Id="NUnitTestProject" />
        <ComponentRef Id="framework_copy_for_tests" />
        <ComponentRef Id="base_tests" />

        <!-- Defined in pnunit.wxs -->
        <ComponentRef Id="pnunit_tests" />

      </Feature>

    </Feature>

    <!-- The NUnit files are all in a single cab file that is embedded in the MSI -->
    <Media Id="1" EmbedCab="yes" Cabinet="nunit.cab" />

    <!-- ***************************************************************** -->
    <!-- **********  Define our GUI using standard WiX UI       ********** -->
    <!-- ***************************************************************** -->

    <UIRef Id="WixUI_Mondo" />
    <!--<UIRef Id="WixUI_FeatureTree" />-->
    <UIRef Id="WixUI_ErrorProgressText" />

    <Icon Id="nunit_icon.exe" SourceFile="Logo.ico" />

  </Product>
</Wix>