~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to install/nunit-gui.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
  <Fragment> 
 
4
    
 
5
    <ComponentGroup Id="Net_1.1_GuiGroup">
 
6
                <ComponentRef Id="nunit.exe_1.1" />
 
7
                <ComponentRef Id="clr.bat" />
 
8
                <ComponentRef Id="nunit_gui_runner_1.1" />
 
9
                <ComponentRef Id="nunit.uikit_1.1" />
 
10
                <ComponentRef Id="DllFileAssociation_1.1" />
 
11
                <ComponentRef Id="NUnitProjectFileAssociation_1.1" />
 
12
                <ComponentRef Id="MenuShortcut_1.0" />
 
13
                <ComponentRef Id="MenuShortcut_1.1" />
 
14
                <ComponentRef Id="MenuShortcut_Mono_1.0" />
 
15
    </ComponentGroup>
 
16
    
 
17
    <ComponentGroup Id="Net_2.0_GuiGroup">
 
18
                <ComponentRef Id="nunit.exe_2.0" />
 
19
                <ComponentRef Id="nunit_x86.exe" />
 
20
                <ComponentRef Id="nunit_gui_runner_2.0" />
 
21
                <ComponentRef Id="nunit.uikit_2.0" />
 
22
                <ComponentRef Id="DllFileAssociation_2.0" />
 
23
                <ComponentRef Id="NUnitProjectFileAssociation_2.0" />
 
24
                <ComponentRef Id="MenuShortcut_2.0" />
 
25
                <ComponentRef Id="MenuShortcut_Mono_2.0" />
 
26
    </ComponentGroup>
 
27
    
 
28
    <DirectoryRef Id="net_1.1" FileSource="net-1.1">
 
29
         
 
30
        <Component Id="nunit.exe_1.1" DiskId="1" Guid="8F677B87-1379-4721-B527-6EC53A3613F4">
 
31
                  <File Id="nunit.exe_1.1" Name="nunit.exe">
 
32
                      <Shortcut Id="DesktopShortcut" Directory="DesktopFolder" 
 
33
                            Name="SNUNITDT" LongName="NUnit $(var.NominalVersion)" 
 
34
                                Icon="nunit_icon.exe" IconIndex="0" Show="normal" 
 
35
                                Advertise="no" WorkingDirectory="bin" />
 
36
                  </File>
 
37
          <File Id="nunit.config_1.1" Name="NUNIT.CFG" LongName="nunit.exe.config" />
 
38
                </Component>
 
39
                
 
40
        <Component Id="clr.bat" DiskId="1" Guid="EEA6FC05-A7D3-45d4-B7F1-71627BAFC6F6">
 
41
          <File Id="clr.bat" Name="clr.bat" KeyPath="yes" DiskId="1" />
 
42
                </Component>
 
43
 
 
44
        <Component Id="nunit_gui_runner_1.1" DiskId="1" Guid="7A62D7B2-1D0D-4cb4-9C52-00DBBBDAA0A2">
 
45
          <File Id="nunit_gui_runner_1.1" Name="GUI.DLL" LongName="nunit-gui-runner.dll" />
 
46
                </Component>
 
47
                
 
48
        <Component Id="nunit.uikit_1.1" DiskId="1" Guid="5B256DDD-668C-4bdd-AC91-7EF0D961F6E6">
 
49
          <File Id="nunit.uikit_1.1" Name="UIKIT.DLL" LongName="nunit.uikit.dll" />
 
50
                  <File Id="success.jpg_1.1" Name="SUCCESS.JPG" LongName="success.jpg" />
 
51
                  <File Id="failure.jpg_1.1" Name="FAILURE.JPG" LongName="failure.jpg" />
 
52
                  <File Id="ignored.jpg_1.1" Name="IGNORED.JPG" LongName="ignored.jpg" />
 
53
                  <RemoveFile Id="RemoveThumbnails_GUI_1.1" On="uninstall" Name="*" />
 
54
                </Component>
 
55
                                
 
56
        <Component Id="MenuShortcut_1.0" DiskId="1" Guid="2B9915B2-3C65-45fa-B6DB-7CB47F19EEA0">
 
57
                <Condition>FRAMEWORK10 = "3321-3705"</Condition>
 
58
                  <Shortcut Id="MenuShortcut_1.0" 
 
59
                        Target="[!clr.bat]" 
 
60
                        Arguments="1.0 start nunit.exe" 
 
61
                        Directory="NUnitMenu" 
 
62
                    Name="SNUNIT10" 
 
63
                    LongName="NUnit (.NET 1.0)"  
 
64
                    Advertise="no"
 
65
                        Icon="nunit_icon.exe" 
 
66
                        IconIndex="0" 
 
67
                        Show="normal" 
 
68
                        WorkingDirectory="net_1.1" />
 
69
                </Component>
 
70
                
 
71
        <Component Id="MenuShortcut_1.1" DiskId="1" Guid="BC64C9F2-8CA8-4cc1-BD86-1B036DDC1E26">
 
72
                <Condition>FRAMEWORK11 = "3706-4322"</Condition>
 
73
                  <Shortcut Id="MenuShortcut_1.1" 
 
74
                        Target="[!nunit.exe_1.1]" 
 
75
                        Advertise="no"
 
76
                    Directory="NUnitMenu" 
 
77
                    Name="SNUNIT11" 
 
78
                    LongName="NUnit (.NET 1.1)" 
 
79
                        Icon="nunit_icon.exe" 
 
80
                        IconIndex="0" 
 
81
                        Show="normal" 
 
82
                        WorkingDirectory="net_1.1" />
 
83
                </Component>
 
84
 
 
85
                <Component Id="DllFileAssociation_1.1" Guid="36AE84ED-5510-40eb-A3B1-D821AC06259C">
 
86
                        
 
87
          <Registry Id="DllFileAssociation_1.1" Root="HKCR" Key=".dll\OpenWithList\nunit.exe"/>
 
88
                        
 
89
          <Registry Id="R__OpenDll_1.1_1" Root="HKCR" Key="dllfile\shell\OpenWithNUnit"
 
90
                                    Action="write" Type="string" Value="Run &amp;Tests" />
 
91
                        
 
92
          <Registry Id="R__OpenDll_1.1_2" Root="HKCR" Key="dllfile\shell\OpenWithNUnit\command"
 
93
                                    Action="write" Type="string" Value='"[!nunit.exe_1.1]" "%1"' />
 
94
                </Component>
 
95
                
 
96
                <Component Id="NUnitProjectFileAssociation_1.1" Guid="537A8302-16A7-401e-A270-03CFF57BF14E">
 
97
                
 
98
                  <Registry Id="NUnitTestProject_1.1" Root="HKCR" Key="NUnitTestProject" Type="string" Value="NUnit Test Project" KeyPath="yes">
 
99
                        <Registry Id="NUnitTestProject.icon" Type="string" Key="DefaultIcon" Value="[#nunit.exe_1.1],0" />
 
100
                        <Registry Id="NUnitTestProject.shell" Type="string" Key="shell\Open" Value="&amp;Open" />
 
101
                        <Registry Id="NUnitTestProject.command" Type="string" Key="shell\Open\command" Value='"[#nunit.exe_1.1]" "%1"' />
 
102
                  </Registry>
 
103
          <Registry Id="R__OpenNUnit_1.1_1" Root="HKCR" Key=".nunit"
 
104
                                    Action="write" Type="string" Value="NUnitTestProject" />
 
105
                <!--    
 
106
          <Registry Id="R__OpenNUnit_1.1_2" Root="HKCR" Key="NUnitTestProject"
 
107
                                    Action="write" Type="string" Value="NUnit Test Project" />
 
108
                        
 
109
          <Registry Id="R__OpenNUnit_1.1_3" Root="HKCR" Key="NUnitTestProject\DefaultIcon"
 
110
                                    Action="write" Type="string" Value="[!nunit.exe_1.1],0" />
 
111
                        
 
112
          <Registry Id="R__OpenNUnit_1.1_4" Root="HKCR" Key="NUnitTestProject\shell\Open"
 
113
                                    Action="write" Type="string" Value="&amp;Open" />
 
114
                        
 
115
          <Registry Id="R__OpenNUnit_1.1_5" Root="HKCR" Key="NUnitTestProject\shell\Open\command"
 
116
                                    Action="write" Type="string" Value='"[!nunit.exe_1.1]" "%1"' />
 
117
          -->
 
118
        </Component>
 
119
                                
 
120
        <Component Id="MenuShortcut_2.0" DiskId="1" Guid="A771FB75-2488-4f2c-BA22-1F4C85D64AC7">
 
121
                <Condition>FRAMEWORK20 = "50727-50727"</Condition>
 
122
                  <Shortcut Id="MenuShortcut_2.0" 
 
123
                        Target="[!nunit.exe_2.0]"  
 
124
                        Advertise="no"
 
125
                    Directory="NUnitMenu" 
 
126
                    Name="SNUNIT20" 
 
127
                    LongName="NUnit (.NET 2.0)" 
 
128
                        Icon="nunit_icon.exe" 
 
129
                        IconIndex="0" 
 
130
                        Show="normal" 
 
131
                        WorkingDirectory="net_2.0" />
 
132
                </Component>
 
133
                
 
134
        <Component Id="MenuShortcut_Mono_1.0" DiskId="1" Guid="CDCB0BAA-0C50-4e41-A2B8-5C15027843DF">
 
135
                <Condition>MONODIRECTORY</Condition>
 
136
                  <Shortcut Id="MenuShortcut_Mono_1_0" 
 
137
                        Target="[MONODIRECTORY]bin\mono.exe" 
 
138
                        Arguments="nunit.exe"  
 
139
                        Advertise="no"
 
140
                    Directory="NUnitMenu" 
 
141
                    Name="SNUNITMO" 
 
142
                    LongName="NUnit (Mono 1.0 Profile)" 
 
143
                        Icon="nunit_icon.exe" 
 
144
                        IconIndex="0" 
 
145
                        Show="normal" 
 
146
                        WorkingDirectory="net_1.1" />
 
147
                </Component>
 
148
 
 
149
        <Component Id="MenuShortcut_Mono_2.0" DiskId="1" Guid="CDCB0BAA-0C50-4e41-A2B8-5C15027843DF">
 
150
                <Condition>MONODIRECTORY</Condition>
 
151
                  <Shortcut Id="MenuShortcut_Mono_2.0" 
 
152
                        Target="[MONODIRECTORY]bin\mono.exe" 
 
153
                        Arguments="nunit.exe"  
 
154
                        Advertise="no"
 
155
                    Directory="NUnitMenu" 
 
156
                    Name="SNUNITMO" 
 
157
                    LongName="NUnit (Mono 2.0 Profile)" 
 
158
                        Icon="nunit_icon.exe" 
 
159
                        IconIndex="0" 
 
160
                        Show="normal" 
 
161
                        WorkingDirectory="net_2.0" />
 
162
                </Component>
 
163
                
 
164
        </DirectoryRef>
 
165
        
 
166
    <DirectoryRef Id="net_2.0" FileSource="net-2.0">
 
167
         
 
168
        <Component Id="nunit.exe_2.0" DiskId="1" Guid="E0AFF731-3B75-4a29-A885-076A46533D2D">
 
169
                  <File Id="nunit.exe_2.0" Name="nunit.exe">
 
170
                      <!--<Shortcut Id="DesktopShortcut" Directory="DesktopFolder"
 
171
                            Name="SNUNITDT" LongName="NUnit $(var.NominalVersion)" 
 
172
                                Icon="nunit_icon.exe" IconIndex="0" Show="normal" 
 
173
                                Advertise="no" WorkingDirectory="bin" />-->
 
174
                  </File>
 
175
          <File Id="nunit.config_2.0" Name="NUNIT.CFG" LongName="nunit.exe.config" />
 
176
                </Component>
 
177
                
 
178
        <Component Id="nunit_x86.exe" DiskId="1" Guid="3D07B159-305C-4fa9-979B-2B50C439E024">
 
179
          <File Id="nunit_x86.exe" Name="NUNITX86.EXE" LongName="nunit-x86.exe" />
 
180
          <File Id="nunit_x86.config" Name="NUNITX86.CFG" LongName="nunit-x86.exe.config" />
 
181
        </Component>
 
182
 
 
183
        <Component Id="nunit_gui_runner_2.0" DiskId="1" Guid="7A62D7B2-1D0D-4cb4-9C52-00DBBBDAA0A2">
 
184
          <File Id="nunit_gui_runner_2.0" Name="GUI.DLL" LongName="nunit-gui-runner.dll" />
 
185
                </Component>
 
186
                
 
187
        <Component Id="nunit.uikit_2.0" DiskId="1" Guid="5B256DDD-668C-4bdd-AC91-7EF0D961F6E6">
 
188
          <File Id="nunit.uikit_2.0" Name="UIKIT.DLL" LongName="nunit.uikit.dll" />
 
189
                  <File Id="success.jpg_2.0" Name="SUCCESS.JPG" LongName="success.jpg" />
 
190
                  <File Id="failure.jpg_2.0" Name="FAILURE.JPG" LongName="failure.jpg" />
 
191
                  <File Id="ignored.jpg_2.0" Name="IGNORED.JPG" LongName="ignored.jpg" />
 
192
                  <RemoveFile Id="RemoveThumbnails_GUI_2.0" On="uninstall" Name="*" />
 
193
                </Component>
 
194
                
 
195
                <Component Id="DllFileAssociation_2.0" Guid="51496B17-0252-4adf-9850-1E0841E5A51B">
 
196
                        
 
197
          <Registry Id="R__OpenDllWith_2.0" Root="HKCR" Key=".dll\OpenWithList\nunit.exe"/>
 
198
                        
 
199
          <Registry Id="R__OpenDll_2.0_1" Root="HKCR" Key="dllfile\shell\OpenWithNUnit"
 
200
                                    Action="write" Type="string" Value="Run &amp;Tests" />
 
201
                        
 
202
                </Component>
 
203
                
 
204
                <Component Id="NUnitProjectFileAssociation_2.0" Guid="74E041CF-5345-4563-BAE6-1D1BFC72CC1F">
 
205
                
 
206
          <Registry Id="R__OpenDll_2.0_2" Root="HKCR" Key="dllfile\shell\OpenWithNUnit\command"
 
207
                                    Action="write" Type="string" Value='"[!nunit.exe_2.0]" "%1"' />
 
208
                        
 
209
          <Registry Id="R__OpenNUnit_2.0_1" Root="HKCR" Key=".nunit"
 
210
                                    Action="write" Type="string" Value="NUnitTestProject" />
 
211
                        
 
212
          <Registry Id="R__OpenNUnit_2.0_2" Root="HKCR" Key="NUnitTestProject"
 
213
                                    Action="write" Type="string" Value="NUnit Test Project" />
 
214
                        
 
215
          <Registry Id="R__OpenNUnit_2.0_3" Root="HKCR" Key="NUnitTestProject\DefaultIcon"
 
216
                                    Action="write" Type="string" Value="[!nunit.exe_2.0],0" />
 
217
                        
 
218
          <Registry Id="R__OpenNUnit_2.0_4" Root="HKCR" Key="NUnitTestProject\shell\Open"
 
219
                                    Action="write" Type="string" Value="&amp;Open" />
 
220
                        
 
221
          <Registry Id="R__OpenNUnit_2.0_5" Root="HKCR" Key="NUnitTestProject\shell\Open\command"
 
222
                                    Action="write" Type="string" Value='"[!nunit.exe_2.0]" "%1"' />
 
223
          
 
224
        </Component>
 
225
 
 
226
        </DirectoryRef>
 
227
        
 
228
    <Icon Id="nunit_icon.exe" SourceFile="net-1.1\nunit.exe" />
 
229
        
 
230
  </Fragment>
 
231
</Wix>
 
 
b'\\ No newline at end of file'