add installer components.

#7
This commit is contained in:
Chris.Watts90@outlook.com 2017-02-16 17:06:22 +00:00
parent 439dcc2154
commit aca00e95ed
9 changed files with 515 additions and 194 deletions

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<ComponentGroup Id="CoreComponents">
<ComponentGroupRef Id="InterfacesGroup"/>
</ComponentGroup>
<ComponentGroup Id="InterfacesGroup" Directory="INSTALLFOLDER">
<Component Id="interfaces.dll" Guid="{FF7287A9-2583-413B-921A-A7E399AD82B9}">
<File Id="InterfacesDll"
Source="$(var.Interfaces.TargetDir)\Interfaces.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="DALSOFTHELPPAGESROOT" Name="Help">
<Directory Id="DALSOFTHELPPAGESVIEWS" Name="DalSoft.WebApi.HelpPage.Views" >
<Directory Id="DALSOFTHELPTEMPLATES" Name="DisplayTemplates"/>
</Directory>
</Directory>
</DirectoryRef>
<ComponentGroup Id="DalSoftWebApiHelpComponents" >
<ComponentGroupRef Id="DalSoftWebApiHelpDlls"/>
<ComponentGroupRef Id="DalSoftWebApiHelpPages"/>
<ComponentGroupRef Id="DalSoftWebApiHelpTemplates" />
</ComponentGroup>
<ComponentGroup Id="DalSoftWebApiHelpDlls" Directory="INSTALLFOLDER">
<Component Id="DalSoftWebApiHelpPageDll" Guid="{14336777-D4B4-4F13-86E5-40CC99EC2EF0}">
<File Id="DalSoftWebApiHelpPage.dll"
Source="$(var.WindowsDataCenter.TargetDir)\DalSoft.WebApi.HelpPage.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="DalSoftWebApiHelpPages" Directory="DALSOFTHELPPAGESVIEWS">
<Component Id="apiCshtml" Guid="{EC37A9F3-9162-4977-94C8-0A3A7BF738BA}">
<File Id="api.cshtml"
Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\api.cshtml"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="HelpPageCss" Guid="{B2D885B6-3C13-4756-9F65-46EE33E504EB}">
<File Id="HelpPage.css"
Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\HelpPage.css"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="IndexCshtml" Guid="{33DDE962-66CC-4938-B0C5-1F554A58F1C7}">
<File Id="Index.cshtml"
Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\index.cshtml"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="DalSoftWebApiHelpTemplates" Directory="DALSOFTHELPTEMPLATES" >
<Component Id="ApiGroupCshtml" Guid="{E204BCE6-40DB-4563-8B72-7CDCB425ECA9}">
<File Id="ApiGroup.cshtml"
Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\ApiGroup.cshtml"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="HelpPageApiModelCshtml" Guid="{D4825C1A-C4F9-4EEA-AFA5-BD29B69A9E7D}">
<File Id="HelpPageApiModel.cshtml"
Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\HelpPageApiModel.cshtml"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="ParametersCshtml" Guid="{9FDF06CE-5A92-42E5-AD5E-534D00EDD1AC}">
<File Id="Parameters.cshtml"
Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\Parameters.cshtml"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SamplesCshtml" Guid="{4FFCCC5C-D449-4461-9705-CA2269B1BE47}">
<File Id="Samples.cshtml"
Source="$(var.WindowsDataCenter.TargetDir)\Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\Samples.cshtml"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -22,8 +22,14 @@
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="CoreComponents.wxs" />
<Compile Include="DalsoftWebApiHelp.wxs" />
<Compile Include="DataCenterServiceComponents.wxs" />
<Compile Include="DirectoryStructure.wxs" />
<Compile Include="NLog.wxs" />
<Compile Include="Product.wxs" />
<Compile Include="SQLiteRepository.wxs" />
<Compile Include="WebPages.wxs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
@ -59,6 +65,20 @@
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixHttpExtension">
<HintPath>$(WixExtDir)\WixHttpExtension.dll</HintPath>
<Name>WixHttpExtension</Name>
</WixExtension>
<WixExtension Include="WixUIExtension">
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
<Name>WixUIExtension</Name>
</WixExtension>
<WixExtension Include="WixUtilExtension">
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
<Name>WixUtilExtension</Name>
</WixExtension>
</ItemGroup>
<Import Project="$(WixTargetsPath)" />
<!--
To modify your build process, add your task inside one of the targets below and uncomment it.

View File

@ -0,0 +1,158 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
xmlns:http="http://schemas.microsoft.com/wix/HttpExtension">
<Fragment>
<Component Id="URLReservation" Guid="{35F39190-88CA-4D1D-B066-9F9CAB328F4D}" Directory="INSTALLFOLDER" KeyPath="yes">
<http:UrlReservation Id="EndpointUrlAcl" Url="http://*:8800/" HandleExisting="ignore">
<http:UrlAce SecurityPrincipal="Everyone" Rights="all"/>
</http:UrlReservation>
</Component>
<ComponentGroup Id="DataCenterGroup" Directory="INSTALLFOLDER">
<ComponentRef Id="URLReservation"/>
<Component Id="MicrosoftOwin" Guid="{45563976-8620-4447-9DFE-216DEF263D5A}">
<File Id="Microsoft.Owin.dll"
Source="$(var.WindowsDataCenter.TargetDir)\Microsoft.Owin.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="MicrosoftOwinFileSystems" Guid="{45B6E4C5-FDD3-4B59-84A3-C58C8626BF61}">
<File Id="Microsoft.Owin.FileSystems.dll"
Source="$(var.WindowsDataCenter.TargetDir)Microsoft.Owin.FileSystems.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="MicrosoftOwinHostHttpListener" Guid="{5C9206E7-8C1B-4713-BE3B-8E754172ABE5}">
<File Id="Microsoft.Owin.Host.HttpListener.dll"
Source="$(var.WindowsDataCenter.TargetDir)Microsoft.Owin.Host.HttpListener.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="MicrosoftOwinHosting" Guid="{1A250453-173F-4FC6-BD72-5E3B3A67569B}">
<File Id="Microsoft.Owin.Hosting.dll"
Source="$(var.WindowsDataCenter.TargetDir)Microsoft.Owin.Hosting.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="MicrosoftOwinStaticFiles" Guid="{8F6B1D17-8D7C-4320-8BF6-26D6B3C5115E}">
<File Id="Microsoft.Owin.StaticFiles.dll"
Source="$(var.WindowsDataCenter.TargetDir)Microsoft.Owin.StaticFiles.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NewtonsoftJson" Guid="{972634F3-DEC1-41D9-B48E-3836D6C1FD1D}">
<File Id="Newtonsoft.Json.dll"
Source="$(var.WindowsDataCenter.TargetDir)Newtonsoft.Json.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="Ninject" Guid="{31D0E89E-F1F7-4B7D-84E9-229D5C7042B5}">
<File Id="Ninject.dll"
Source="$(var.WindowsDataCenter.TargetDir)Ninject.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NinjectConfig" Guid="{85F6271F-7251-4E88-B44D-8EBDA4CBD29D}">
<File Id="NinjectConfig.xml"
Source="$(var.WindowsDataCenter.TargetDir)NinjectConfig.xml"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NinjectExtensionsXmlDll" Guid="{3809511F-9C51-4C05-AFE5-F59160EDCB71}">
<File Id="Ninject.Extensions.Xml.dll"
Source="$(var.WindowsDataCenter.TargetDir)Ninject.Extensions.Xml.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NinjectWebCommon" Guid="{A4D175A1-D68C-4E20-9E52-A0A8052B9E1D}">
<File Id="Ninject.Web.Common.dll"
Source="$(var.WindowsDataCenter.TargetDir)Ninject.Web.Common.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NinjectWebWebApi" Guid="{20D06854-C822-4780-8EDC-D1601A835626}">
<File Id="Ninject.Web.WebApi.dll"
Source="$(var.WindowsDataCenter.TargetDir)Ninject.Web.WebApi.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="Owin" Guid="{B4A90231-65AB-40F1-BEEC-EE02B9DBD4EC}">
<File Id="Owin.dll"
Source="$(var.WindowsDataCenter.TargetDir)Owin.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="RazorEngine" Guid="{494124DC-1BD1-42C2-A249-53757289AAA4}">
<File Id="RazorEngine.dll"
Source="$(var.WindowsDataCenter.TargetDir)RazorEngine.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SystemNetHttpFormatting" Guid="{53AB40B1-7A74-4B6B-9F0E-B1A74EE27467}">
<File Id="System.Net.Http.Formatting.dll"
Source="$(var.WindowsDataCenter.TargetDir)System.Net.Http.Formatting.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SystemWebHttp" Guid="{B94609B3-B65E-4FB5-B226-B831D8597A9B}">
<File Id="System.Web.Http.dll"
Source="$(var.WindowsDataCenter.TargetDir)System.Web.Http.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SystemWebHttpOwin.dll" Guid="{99FF5381-765A-4B03-8668-1083ED498CAB}">
<File Id="System.Web.Http.Owin.dll"
Source="$(var.WindowsDataCenter.TargetDir)System.Web.Http.Owin.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="WindowsDataCenter" Guid="{CD36814E-8C1B-4AC1-BDC7-D1595D2A4728}">
<File Id="WindowsDataCenter.exe"
Source="$(var.WindowsDataCenter.TargetDir)WindowsDataCenter.exe"
KeyPath="yes"/>
<ServiceInstall Id="DataCenterService"
Start="auto"
ErrorControl="normal"
Type="ownProcess"
Vital="yes"
Name="FlexitimeDataCenterService"
DisplayName="FlexitimeDataCenterService"
Description="Flexitime API Database and Website"
Account="LocalSystem">
<util:PermissionEx User="Everyone"
ServicePauseContinue="yes"
ServiceQueryStatus="yes"
ServiceStart="yes"
ServiceStop="yes"
ServiceUserDefinedControl="yes" />
<ServiceConfig Id="FlexiTimeServiceConfig"
OnInstall="yes"
DelayedAutoStart="0" />
<util:ServiceConfig FirstFailureActionType="restart"
SecondFailureActionType="restart"
ThirdFailureActionType="restart"
ResetPeriodInDays="1"
RestartServiceDelayInSeconds="10" />
</ServiceInstall>
<!--<ServiceControl Id="FlexitimeDataCenterStarter"
Start="install"
Stop="uninstall"
Remove="uninstall"
Name="FlexitimeDataCenterService"
Wait="yes" />-->
</Component>
<Component Id="WindowsDataCenterExeConfig" Guid="{CBFA53EB-0663-4A79-9990-451FC1105A12}">
<File Id="WindowsDataCenter.exe.config"
Source="$(var.WindowsDataCenter.TargetDir)WindowsDataCenter.exe.config"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="WindowsDataCenterXml" Guid="{35A62230-0052-4EBE-9775-DE0266BADB4E}">
<File Id="WindowsDataCenter.xml"
Source="$(var.WindowsDataCenter.TargetDir)WindowsDataCenter.XML"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -3,7 +3,9 @@
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="WebApiServerHostInstaller" />
<Directory Id="INSTALLFOLDER" Name="WebApiServerHostInstaller" >
<Directory Id="CONFIGFILES" Name="Configs" />
</Directory>
</Directory>
</Directory>
</Fragment>

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<ComponentGroup Id="NLogComponents">
<ComponentGroupRef Id="NLoggerGroup"/>
<ComponentGroupRef Id="NLogConfigFiles"/>
</ComponentGroup>
<ComponentGroup Id="NLoggerGroup" Directory="INSTALLFOLDER">
<Component Id="NLoggerDll" Guid="{48765F51-86CA-4AD8-A34E-E4705353E101}">
<File Id="NLogLoggerDll"
Source="$(var.NLogLogger.TargetDir)\NLogLogger.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NLogDll" Guid="{D9D15A6F-9602-4B6B-BB76-AD0768D14780}">
<File Id="NLog.dll"
Source="$(var.NLogLogger.TargetDir)\NLog.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NLogLoggerDllConfig" Guid="{E3808BFF-5156-4123-B108-BECD0A5A99BC}">
<File Id="NLogLoggerDllConfig"
Source="$(var.NLogLogger.TargetDir)\NLogLogger.dll.config"
KeyPath="yes" />
</Component>
</ComponentGroup>
<ComponentGroup Id="NLogConfigFiles" Directory="CONFIGFILES">
<Component Id="NLogConfigFile" Guid="{DE1F65F2-C286-4495-984C-9BF5861A0567}">
<File Id="NLogConfigXml"
Source="$(var.NLogLogger.TargetDir)\NLogConfig.xml"
KeyPath="yes" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -1,212 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*"
<Product Id="{52F7296E-1C7E-497E-9B25-4FE715D7AD1C}"
Name="DataCentreHostInstaller"
Language="1033"
Version="0.0.1.0"
Manufacturer=""
Manufacturer="ChrisWatts"
UpgradeCode="7282166b-691e-4caa-9a80-f348b8e5ffef">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate />
<MediaTemplate EmbedCab="yes"/>
<Feature Id="ProductFeature" Title="DataCentreHostInstaller" Level="1">
<Feature Id="Complete"
Title="FlexitimeDataCenter"
Description="Flexitime Data Center Website and Data Center"
Level="1"
AllowAdvertise="yes">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<UIRef Id="WixUI_Mondo" />
<UIRef Id="WixUI_ErrorProgressText" />
</Product>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
<!-- <Component Id="ProductComponent"> -->
<!-- TODO: Insert files, registry keys, and other resources here. -->
<!-- </Component> -->
</ComponentGroup>
<ComponentGroup Id="InterfacesGroup" Directory="INSTALLFOLDER">
<Component Id="interfaces.dll" Guid="PUT-GUID-HERE">
<File Id="InterfacesDll"
Source="$(var.Interfaces.TargetDir)\Interfaces.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="NLoggerGroup" Directory="INSTALLFOLDER">
<Component Id="NLoggerDll" Guid="PUT-GUID-HERE">
<File Id="NLogLoggerDll"
Source="$(var.NLogLogger.TargetDir)\NLogLogger.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NLogDll" Guid="PUT-GUID-HERE">
<File Id="NLog.dll"
Source="$(var.NLogLogger.TargetDir)\NLog.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NLogConfigFile" Guid="PUT-GUID-HERE">
<File Id="NLogConfigXml"
Source="$(var.NLogLogger.TargetDir)\NLogConfig.xml"
KeyPath="yes" />
</Component>
<Component Id="NLogLoggerDllConfig" Guid="PUT-GUID-HERE">
<File Id="NLogLoggerDllConfig"
Source="$(var.NLogLogger.TargetDir)\NLogLogger.dll.config"
KeyPath="yes" />
</Component>
</ComponentGroup>
<ComponentGroup Id="SQLiteRepository">
<Component Id="SQLiteNet" Guid="PUT-GUID-HERE">
<File Id="SQLiteNet.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.dll"
KeyPath="yes"
Checksum="yes" />
</Component>
<Component Id="SQLiteNetPlatformGeneric" Guid="PUT-GUID-HERE">
<File Id="SQLiteNetPlatformGenericDll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.Platform.Generic.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SQLiteNetPlatformWin32" Guid="PUT-GUID-HERE">
<File Id="SQLiteNetPlatformWin32.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.Platform.Win32.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SQLiteRepository" Guid="PUT-GUID-HERE">
<File Id="SQLiteRepository.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLiteRepository.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="DataCenterGroup" Directory="INSTALLFOLDER">
<Component Id="DalSoftWebApiHelpPage.dll" Guid="PUT-GUID-HERE">
<File Id="InterfacesDll"
Source="$(var.Interfaces.TargetDir)\DalSoft.WebApi.HelpPage.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="interfaces.dll" Guid="PUT-GUID-HERE">
<File Id="InterfacesDll"
Source="$(var.Interfaces.TargetDir)\Microsoft.Owin.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="interfaces.dll" Guid="PUT-GUID-HERE">
<File Id="InterfacesDll"
Source="$(var.Interfaces.TargetDir)\Microsoft.Owin.FileSystem.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="MicrosoftOwinHostHttpListener" Guid="PUT-GUID-HERE">
<File Id="Microsoft.Owin.Host.HttpListener.dll"
Source="$(var.Interfaces.TargetDir)\Microsoft.Owin.Host.HttpListener.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="MicrosoftOwinHosting" Guid="PUT-GUID-HERE">
<File Id="Microsoft.Owin.Hosting.dll"
Source="$(var.Interfaces.TargetDir)\Microsoft.Owin.Hosting.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="MicrosoftOwinStaticFiles" Guid="PUT-GUID-HERE">
<File Id="Microsoft.Owin.StaticFiles.dll"
Source="$(var.Interfaces.TargetDir)\Microsoft.Owin.StaticFiles.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NewtonsoftJson" Guid="PUT-GUID-HERE">
<File Id="Newtonsoft.Json.dll"
Source="$(var.Interfaces.TargetDir)\Newtonsoft.Json.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="Ninject" Guid="PUT-GUID-HERE">
<File Id="Ninject.dll"
Source="$(var.Interfaces.TargetDir)\Ninject.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NinjectExtensionsXmlDll" Guid="PUT-GUID-HERE">
<File Id="Ninject.Extensions.Xml.dll"
Source="$(var.Interfaces.TargetDir)\Ninject.Extensions.Xml.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NinjectWebCommon" Guid="PUT-GUID-HERE">
<File Id="Ninject.Web.Common.dll"
Source="$(var.Interfaces.TargetDir)\Ninject.Web.Common.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="NinjectWebWebApi" Guid="PUT-GUID-HERE">
<File Id="Ninject.Web.WebApi.dll"
Source="$(var.Interfaces.TargetDir)\Ninject.Web.WebApi.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="Owin" Guid="PUT-GUID-HERE">
<File Id="Owin.dll"
Source="$(var.Interfaces.TargetDir)\Owin.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SystemNetHttpFormatting" Guid="PUT-GUID-HERE">
<File Id="System.Net.Http.Formatting.dll"
Source="$(var.Interfaces.TargetDir)\System.Net.Http.Formatting.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SystemWebHttp" Guid="PUT-GUID-HERE">
<File Id="System.Web.Http.dll"
Source="$(var.Interfaces.TargetDir)\System.Web.Http.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SystemWebHttpOwin.dll" Guid="PUT-GUID-HERE">
<File Id="System.Web.Http.Owin.dll"
Source="$(var.Interfaces.TargetDir)\System.Web.Http.Owin.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="WindowsDataCenter" Guid="PUT-GUID-HERE">
<File Id="WindowsDataCenter.exe"
Source="$(var.Interfaces.TargetDir)\WindowsDataCenter.exe"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="WindowsDataCenterExeConfig" Guid="PUT-GUID-HERE">
<File Id="WindowsDataCenter.exe.config"
Source="$(var.Interfaces.TargetDir)\WindowsDataCenter.exe.config"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="WindowsDataCenterXml" Guid="PUT-GUID-HERE">
<File Id="WindowsDataCenter.xml"
Source="$(var.Interfaces.TargetDir)\WindowsDataCenter.XML"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="interfaces.dll" Guid="PUT-GUID-HERE">
<File Id="InterfacesDll"
Source="$(var.Interfaces.TargetDir)\Interfaces.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="interfaces.dll" Guid="PUT-GUID-HERE">
<File Id="InterfacesDll"
Source="$(var.Interfaces.TargetDir)\Interfaces.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<ComponentGroupRef Id="CoreComponents"/>
<ComponentGroupRef Id="DalSoftWebApiHelpComponents" />
<ComponentGroupRef Id="DataCenterGroup"/>
<ComponentGroupRef Id="NLogComponents" />
<ComponentGroupRef Id="SQLiteRepositoryComponents" />
<ComponentGroupRef Id="WebSiteComponents" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="SQLITEX86" Name="x86" />
<Directory Id="SQLITEX64" Name="x64" />
</DirectoryRef>
<ComponentGroup Id="SQLiteRepositoryComponents" >
<ComponentGroupRef Id="SQLiteRepository" />
<ComponentGroupRef Id="SQLiteInterop" />
</ComponentGroup>
<ComponentGroup Id="SQLiteRepository" Directory="INSTALLFOLDER">
<Component Id="SQLiteNet" Guid="{65D7D3DB-AB4A-41DE-956E-ACBC1EC1E5B7}">
<File Id="SQLiteNet.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.dll"
KeyPath="yes"
Checksum="yes" />
</Component>
<Component Id="SQLiteNetPlatformGeneric" Guid="{6E540212-B40B-41EB-BD81-1D8625F330D3}">
<File Id="SQLiteNetPlatformGenericDll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.Platform.Generic.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SQLiteNetPlatformWin32" Guid="{41E99987-0901-44D8-A2E8-2BCE18660298}">
<File Id="SQLiteNetPlatformWin32.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLite.Net.Platform.Win32.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SQLiteRepository" Guid="{B109C5DD-FD21-4078-9534-6065753F2900}">
<File Id="SQLiteRepository.dll"
Source="$(var.SQLiteRepository.TargetDir)\SQLiteRepository.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="SQLiteInterop">
<Component Id="SQLiteInteropx86" Guid="{7D4C1BF5-A6B5-4379-B040-4AD6BABBB526}" Directory="SQLITEX86">
<File Id="SQLite.Interop.dllx86"
Source="$(var.WindowsDataCenter.TargetDir)x86\SQLite.Interop.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SQLiteInteropx64" Guid="{3591D185-ECBA-4382-BE75-FF6A271CEE3B}" Directory="SQLITEX64">
<File Id="SQLite.Interop.dllx64"
Source="$(var.WindowsDataCenter.TargetDir)x64\SQLite.Interop.dll"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="STATICWWW" Name="www" >
<Directory Id="STATICWWWCSS" Name="css"/>
<Directory Id="STATICWWWJS" Name="js" />
</Directory>
</DirectoryRef>
<ComponentGroup Id="WebSiteComponents">
<ComponentGroupRef Id="WWWStaticFiles"/>
<ComponentGroupRef Id="WWWStaticJs"/>
<ComponentGroupRef Id="WWWStaticCss"/>
</ComponentGroup>
<ComponentGroup Id="WWWStaticFiles" Directory="STATICWWW">
<Component Id="IndexHtml" Guid="{418BCB07-AB9B-4A67-AB31-E9378B806A2E}">
<File Id="index.html"
Source="$(var.WindowsDataCenter.TargetDir)\www\index.html"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SpaCss" Guid="{A5998F36-2CD9-4EB3-A008-12AE1018F153}">
<File Id="spa.css"
Source="$(var.WindowsDataCenter.TargetDir)\www\spa.css"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="SpaJs" Guid="{0A669ADE-9804-4C2A-9970-BF7EFE52F003}">
<File Id="spa.js"
Source="$(var.WindowsDataCenter.TargetDir)\www\spa.js"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="WWWStaticJs" Directory="STATICWWWJS">
<Component Id="BootstrapJs" Guid="{DF7034BA-B315-4AB5-983A-6470D773DF27}">
<File Id="Bootstrap.js"
Source="$(var.WindowsDataCenter.TargetDir)www\js\bootstrap.js"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapMinJs" Guid="{48C14202-7096-4FCA-91BA-7BB24F0D5C22}">
<File Id="Bootstrap.min.js"
Source="$(var.WindowsDataCenter.TargetDir)www\js\bootstrap.min.js"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="WWWStaticCss" Directory="STATICWWWCSS">
<Component Id="BootstrapCss" Guid="{EBB792CD-23B2-4806-B92B-CA4CD3293148}">
<File Id="bootstrap.css"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap.css"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapCssMap" Guid="{6E7BEFA7-61F3-4740-96A2-9036F6ABF273}">
<File Id="bootstrap.css.map"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap.css.map"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapMinCss" Guid="{10BBCC84-63EB-4B4A-816B-460888896A79}">
<File Id="bootstrap.min.css"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap.min.css"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapMinCssMap" Guid="{909F1752-1472-48DD-99DA-116D391FB12B}">
<File Id="bootstrap.min.css.map"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap.min.css.map"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapGridCss" Guid="{0EA9E1E9-F077-4B75-A829-6CC93AF55684}">
<File Id="bootstrap_grid.css"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap-grid.css"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapGridCssMap" Guid="{5732BF4E-5963-49BD-B466-D9D3CF0B137A}">
<File Id="bootstrap_grid.css.map"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap-grid.css.map"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapGridMinCss" Guid="{1281A9F1-28E0-4748-B9B4-8C8C68EDD9E5}">
<File Id="bootstrap_grid.min.css"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap-grid.min.css"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapGridMinCssMap" Guid="{F054150C-0E9A-4EB8-8EB2-B5BD81D004CE}">
<File Id="bootstrap_grid.min.css.map"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap-grid.min.css.map"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapRebootCss" Guid="{9A116F79-1714-4B01-B664-218287EB97BA}">
<File Id="bootstrap_reboot.css"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap-reboot.css"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapRebootCssMap" Guid="{C7B42AD0-294B-40C0-9755-78839F0310AC}">
<File Id="bootstrap_reboot.css.map"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap-reboot.css.map"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapRebootMinCss" Guid="{18EB9B47-06F6-42B8-8DEA-C6EC50FB4979}">
<File Id="bootstrap_reboot.min.css"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap-reboot.min.css"
KeyPath="yes"
Checksum="yes"/>
</Component>
<Component Id="BootstrapRebootMinCssMap" Guid="{40200643-0ECE-4F03-BBB6-98BD877CF43F}">
<File Id="bootstrap_reboot.min.css.map"
Source="$(var.WindowsDataCenter.TargetDir)www\css\bootstrap-reboot.min.css.map"
KeyPath="yes"
Checksum="yes"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>