renamed WebApiServerHostInstaller project to DataCenterHostInstaller.

Started adding components.
#7
This commit is contained in:
chris.watts90@outlook.com 2017-02-15 22:53:55 +00:00
parent be37bb41be
commit fe7fda42a5
3 changed files with 217 additions and 23 deletions

View File

@ -10,6 +10,7 @@
<OutputType>Package</OutputType>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<Name>DataCenterHostInstaller</Name>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath>
@ -21,6 +22,7 @@
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="DirectoryStructure.wxs" />
<Compile Include="Product.wxs" />
</ItemGroup>
<Import Project="$(WixTargetsPath)" />

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="WebApiServerHostInstaller" />
</Directory>
</Directory>
</Fragment>
</Wix>

View File

@ -1,30 +1,212 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="WebApiServerHostInstaller" Language="1033" Version="1.0.0.0" Manufacturer="" UpgradeCode="7282166b-691e-4caa-9a80-f348b8e5ffef">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<Product Id="*"
Name="DataCentreHostInstaller"
Language="1033"
Version="0.0.1.0"
Manufacturer=""
UpgradeCode="7282166b-691e-4caa-9a80-f348b8e5ffef">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate />
<Feature Id="ProductFeature" Title="WebApiServerHostInstaller" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
</Product>
<Feature Id="ProductFeature" Title="DataCentreHostInstaller" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="WebApiServerHostInstaller" />
</Directory>
</Directory>
</Fragment>
<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>
<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>
</Fragment>
<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>
</ComponentGroup>
</Fragment>
</Wix>