Merge lp:~a-schlapsi/nunit-3.0/devel into lp:~nunit-core/nunit-3.0/trunk-before-upgrade

Proposed by Andreas Schlapsi
Status: Merged
Approved by: Charlie Poole
Approved revision: 10
Merged at revision: not available
Proposed branch: lp:~a-schlapsi/nunit-3.0/devel
Merge into: lp:~nunit-core/nunit-3.0/trunk-before-upgrade
Diff against target: None lines
To merge this branch: bzr merge lp:~a-schlapsi/nunit-3.0/devel
Reviewer Review Type Date Requested Status
Charlie Poole Approve
Review via email: mp+10205@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Andreas Schlapsi (a-schlapsi) wrote :

- Added unit tests and XML file for the framework to the framework installer.
- changed name of output MSI package.
- Setup dialog with GAC install options is shown for every setup type.

Revision history for this message
Charlie Poole (charlie.poole) wrote :

We need to use a property for the version number, to be set by the build script. You could do the same for this as you have for other properties - put them in your wxi file. Then the
build script will set the properties but leave out the include file. For NUnit 2.5, we use the NominalVersion property but we may want to use Version.

That said, I'm OK with merging this now and dealing with script integration as a separate item.

review: Approve
lp:~a-schlapsi/nunit-3.0/devel updated
11. By Andreas Schlapsi

Merged trunk.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'install/NUnit.Framework.Installer/Framework-NET1.1.wxs'
2--- install/NUnit.Framework.Installer/Framework-NET1.1.wxs 2009-07-30 19:00:38 +0000
3+++ install/NUnit.Framework.Installer/Framework-NET1.1.wxs 2009-08-01 19:54:46 +0000
4@@ -30,6 +30,24 @@
5
6 </Component>
7
8+ <Component Id="nunit.framework.tests.dll_net1.1" Guid="4c3d2d31-f468-4bd2-832f-19f3e500f24a">
9+ <File Id="nunit.framework.tests.dll_net1.1"
10+ DiskId="1"
11+ KeyPath="yes"
12+ Assembly="no"
13+ Source="$(var.SourceFolder)net\1.1\release\nunit.framework.tests.dll"/>
14+
15+ </Component>
16+
17+ <Component Id="nunit.framework.xml_net1.1" Guid="a657bbb7-48fd-49de-b0c9-79d143645d16">
18+
19+ <File Id="nunit.framework.xml_net1.1"
20+ DiskId="1"
21+ KeyPath="yes"
22+ Source="$(var.SourceFolder)net\1.1\release\nunit.framework.xml"/>
23+
24+ </Component>
25+
26 <Component Id="AssemblyReferenceFolder_1.1" Guid="8fa8f040-2de4-4192-82e2-a5c6f3f0f082">
27 <RegistryKey Id="R__Assemblies_1.1" Root="HKLM"
28 Key="Software\Microsoft\.NETFramework\AssemblyFolders\NUnit [ProductVersion]"
29@@ -47,6 +65,8 @@
30 <Condition Level="1">NETFRAMEWORK11SDKDIR OR REMOVE</Condition>
31 <ComponentRef Id="nunit.framework.dll_net1.1_dir"/>
32 <ComponentRef Id="nunit.framework.dll_net1.1_gac"/>
33+ <ComponentRef Id="nunit.framework.tests.dll_net1.1"/>
34+ <ComponentRef Id="nunit.framework.xml_net1.1"/>
35 <ComponentRef Id="AssemblyReferenceFolder_1.1"/>
36 </Feature>
37
38
39=== modified file 'install/NUnit.Framework.Installer/Framework-NET2.0.wxs'
40--- install/NUnit.Framework.Installer/Framework-NET2.0.wxs 2009-07-30 19:00:38 +0000
41+++ install/NUnit.Framework.Installer/Framework-NET2.0.wxs 2009-08-01 19:54:46 +0000
42@@ -30,6 +30,24 @@
43
44 </Component>
45
46+ <Component Id="nunit.framework.tests.dll_net2.0" Guid="4f40f59f-07de-47e6-a3ed-b4a1b71ef93a">
47+ <File Id="nunit.framework.tests.dll_net2.0"
48+ DiskId="1"
49+ KeyPath="yes"
50+ Assembly="no"
51+ Source="$(var.SourceFolder)net\2.0\release\nunit.framework.tests.dll"/>
52+
53+ </Component>
54+
55+ <Component Id="nunit.framework.xml_net2.0" Guid="79cb5e96-68f4-4002-aa04-eebc494bba89">
56+
57+ <File Id="nunit.framework.xml_net2.0"
58+ DiskId="1"
59+ KeyPath="yes"
60+ Source="$(var.SourceFolder)net\2.0\release\nunit.framework.xml"/>
61+
62+ </Component>
63+
64 <Component Id="AssemblyReferenceFolder_2.0" Guid="87667d1d-8542-41f7-99f2-b3900324d05a">
65 <RegistryKey Id="R__Assemblies_2.0"
66 Action="createAndRemoveOnUninstall"
67@@ -48,6 +66,8 @@
68 <Condition Level="1">NETFRAMEWORK20SDKDIR OR REMOVE</Condition>
69 <ComponentRef Id="nunit.framework.dll_net2.0_dir"/>
70 <ComponentRef Id="nunit.framework.dll_net2.0_gac"/>
71+ <ComponentRef Id="nunit.framework.tests.dll_net2.0"/>
72+ <ComponentRef Id="nunit.framework.xml_net2.0"/>
73 <ComponentRef Id="AssemblyReferenceFolder_2.0"/>
74 </Feature>
75
76
77=== modified file 'install/NUnit.Framework.Installer/NUnit.Framework.Installer.wixproj'
78--- install/NUnit.Framework.Installer/NUnit.Framework.Installer.wixproj 2009-07-30 19:00:38 +0000
79+++ install/NUnit.Framework.Installer/NUnit.Framework.Installer.wixproj 2009-08-01 19:54:46 +0000
80@@ -5,7 +5,7 @@
81 <ProductVersion>3.0</ProductVersion>
82 <ProjectGuid>{b4f15755-c6ef-4864-a58e-e6384cfa73ba}</ProjectGuid>
83 <SchemaVersion>2.0</SchemaVersion>
84- <OutputName>NUnit.Framework.Installer</OutputName>
85+ <OutputName>nunit.framework-2.9.1</OutputName>
86 <OutputType>Package</OutputType>
87 <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath>
88 <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath>
89
90=== modified file 'install/NUnit.Framework.Installer/UserInterface.wxs'
91--- install/NUnit.Framework.Installer/UserInterface.wxs 2009-07-30 19:00:38 +0000
92+++ install/NUnit.Framework.Installer/UserInterface.wxs 2009-08-09 20:06:12 +0000
93@@ -6,10 +6,17 @@
94
95 <DialogRef Id="InstallOptionsDlg"/>
96
97+ <Publish Dialog="SetupTypeDlg" Control="TypicalButton" Event="NewDialog" Value="InstallOptionsDlg">1</Publish>
98+ <Publish Dialog="SetupTypeDlg" Control="CompleteButton" Event="NewDialog" Value="InstallOptionsDlg">1</Publish>
99+
100 <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="InstallOptionsDlg">1</Publish>
101- <Publish Dialog="InstallOptionsDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg">1</Publish>
102+
103+ <Publish Dialog="InstallOptionsDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg">WixUI_InstallMode = "InstallCustom"</Publish>
104+ <Publish Dialog="InstallOptionsDlg" Control="Back" Event="NewDialog" Value="SetupTypeDlg">WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode = "InstallComplete"</Publish>
105 <Publish Dialog="InstallOptionsDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
106+
107 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallOptionsDlg" Order="1">WixUI_InstallMode = "InstallCustom"</Publish>
108+ <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallOptionsDlg" Order="2">WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode = "InstallComplete"</Publish>
109 <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallOptionsDlg" Order="3">WixUI_InstallMode = "Change"</Publish>
110 </UI>
111 </Fragment>

Subscribers

People subscribed via source and target branches