extended msi installer

fixed CurveKey operator == and !=
This commit is contained in:
Glatzemann 2011-11-22 11:59:35 +00:00
parent a548658b68
commit 1896545e0c
4 changed files with 92 additions and 60 deletions

View File

@ -151,6 +151,16 @@ namespace ANX.Framework
#region Equality
public static bool operator ==(CurveKey a, CurveKey b)
{
if (null == a as Object)
{
return null == b as Object;
}
if (null == b as Object)
{
return null == a as Object;
}
return a.Position == b.Position &&
a.Value == b.Value &&
a.TangentIn == b.TangentIn &&
@ -162,6 +172,16 @@ namespace ANX.Framework
#region Inequality
public static bool operator !=(CurveKey a, CurveKey b)
{
if (null == a as Object)
{
return null != b as Object;
}
if (null == b as Object)
{
return null != a as Object;
}
return a.Position != b.Position ||
a.Value != b.Value ||
a.TangentIn != b.TangentIn ||

View File

@ -31,8 +31,8 @@ using System.Runtime.InteropServices;
//
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
[assembly: AssemblyVersion("0.4.22.*")]
[assembly: AssemblyFileVersion("0.4.22.0")]
[assembly: AssemblyVersion("0.4.23.*")]
[assembly: AssemblyFileVersion("0.4.23.0")]
[assembly:InternalsVisibleTo("ANX.Framework.Windows.DX10")]
[assembly:InternalsVisibleTo("ANX.Framework.Windows.DX11.1")]

View File

@ -1,16 +1,39 @@
<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Id='{B7ABDA84-7163-4892-9AA1-814C6CDAAF54}' Name='ANX.Framework' Language='1033'
Version='1.0.0.0' Manufacturer='ANX.Framework Developer Team' UpgradeCode='{7A54B375-318B-40B7-ABF7-60BB50689361}' >
<Package Description='My first Windows Installer package'
Comments='This is my first attempt at creating a Windows Installer database'
Manufacturer='Microsoft Corporation' InstallerVersion='200' Compressed='yes' />
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="{B7ABDA84-7163-4892-9AA1-814C6CDAAF54}"
Name="ANX.Framework"
Language="1033"
Version="1.0.0.0"
Manufacturer="ANX.Framework Developer Team"
UpgradeCode="{7A54B375-318B-40B7-ABF7-60BB50689361}">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<Media Id='1' Cabinet='ANX.Framework.cab' EmbedCab='yes' />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='MyDir' Name='ANX.Framework'>
<Feature Id="ProductFeature" Title="ANX.Framework assemblies" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
<WixVariable Id="WixUILicenseRtf" Value="../doc/license.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="../media/ANX.Framework.Logo_493x58.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="../media/Installer_493x312.bmp" />
<UIRef Id="WixUI_InstallDir" />
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="ANX.Framework" />
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id='ANX.Framework' Guid='{8A3AA04E-9325-441E-B16A-731676449C0B}'>
<File Id='license' Name='license.txt' DiskId='1' Source='../doc/license.txt' />
<File Id='anx.framework' Name='ANX.Framework.dll' DiskId='1' Source='../bin/Release/ANX.Framework.dll' />
@ -43,18 +66,6 @@
<Component Id='ANX.SoundSystem.Windows.XAudio' Guid='{4C4EDC2B-BF6B-437C-874C-1573373DB55E}'>
<File Id='anx.soundsystem.windows.xaudio' Name='ANX.SoundSystem.Windows.XAudio.dll' DiskId='1' Source='../bin/Release/ANX.SoundSystem.Windows.XAudio.dll' />
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id='ANX.Framework' Title='ANX.Framework assemblies' Level='1'>
<ComponentRef Id='ANX.Framework' />
<ComponentRef Id='SharpDX' />
<ComponentRef Id='OpenTK' />
<ComponentRef Id='ANX.Framework.Windows.DX10' />
<ComponentRef Id='ANX.Framework.Windows.GL3' />
<ComponentRef Id='ANX.InputSystem.Windows.XInput' />
<ComponentRef Id='ANX.SoundSystem.Windows.XAudio' />
</Feature>
</Product>
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -39,6 +39,7 @@
<delete>
<fileset>
<include name="../bin/**" />
<include name="${build.dir}/${build.configuration}/installer/**" />
<include name="${project.anx.path}/obj/**" />
<include name="${project.anx.path.inputsystem.xinput}/obj/**" />
<include name="${project.anx.path.inputsystem.kinect}/obj/**" />