FlexitimeTracker/DataCenter_Windows/WindowsDataCenter/SQLiteProvider/Product.wxs

93 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="{34DA87B7-752D-4A37-928B-650160269E70}"
Name="SQLiteRepositoryInstaller"
Language="1033"
Version="1.0.0.0"
Manufacturer="Chris Watts" UpgradeCode="ec13c45c-6b63-49a6-b058-39e3069a0d6b">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes"/>
<Feature Id="ProductFeature" Title="SQLiteProvider" Level="1">
<ComponentGroupRef Id="SQLiteRepositoryComponents" />
</Feature>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="SQLiteRepository" />
</Directory>
</Directory>
</Fragment>
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="SQLITEX86" Name="x86" />
<Directory Id="SQLITEX64" Name="x64" />
</DirectoryRef>
<ComponentGroup Id="SQLiteRepositoryComponents" >
<ComponentGroupRef Id="SQLiteRepository" />
<ComponentGroupRef Id="SQLiteInterop" />
<ComponentRef Id="RepositoryConfiguration"/>
</ComponentGroup>
<Component Id="RepositoryConfiguration" Directory="INSTALLFOLDER" Guid="{E49ABD61-0CCA-45A2-A525-DF85A0493FF7}" KeyPath="yes">
<util:XmlFile Id="SetServicePort"
Action="setValue"
ElementPath="/module[\[]@name='NinjectAssemblies'[\]]/bind[\[]@service='Interfaces.IRepository, Interfaces'[\]]//@to"
Value="SQLiteRepository.SQLiteRepository, SQLiteRepository"
File="[INSTALLFOLDER]NinjectConfig.xml"
SelectionLanguage="XPath"
Sequence="1" />
</Component>
<ComponentGroup Id="SQLiteRepository" Directory="INSTALLFOLDER">
<Component Id="SQLiteNet" Guid="{4295A808-7CB1-4EFC-BC94-136F22AF7A78}">
<File Id="SQLiteNet.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.dll"
KeyPath="yes"
Checksum="yes" />
</Component>
<Component Id="SQLiteNetPlatformGeneric" Guid="{BBDE8C94-FBBE-413E-83B8-B4248F3B718C}">
<File Id="SQLiteNetPlatformGenericDll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.Platform.Generic.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SQLiteNetPlatformWin32" Guid="{4FE0506E-1A8A-45DF-A2C8-C461332406C8}">
<File Id="SQLiteNetPlatformWin32.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.Platform.Win32.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SQLiteRepository" Guid="{4E68CF6F-7F31-4F59-AC93-F48EFE9E1445}">
<File Id="SQLiteRepository.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLiteRepository.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="SQLiteInterop">
<Component Id="SQLiteInteropx86" Guid="{14F1C2DD-5D3D-49DF-B466-21AF881FCEAF}" Directory="SQLITEX86">
<File Id="SQLite.Interop.dllx86"
Source="$(var.SQLiteRepository.TargetDir)x86\SQLite.Interop.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SQLiteInteropx64" Guid="{45C77D89-8037-48CE-8B78-34C937ECBE83}" Directory="SQLITEX64">
<File Id="SQLite.Interop.dllx64"
Source="$(var.SQLiteRepository.TargetDir)x64\SQLite.Interop.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>