added logging dlls and configs for card reader service.

#22
This commit is contained in:
chris.watts90@outlook.com 2017-02-18 21:37:46 +00:00
parent a63a4923a4
commit 693355380d
6 changed files with 76 additions and 1 deletions

View File

@ -22,8 +22,11 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="CardReaderServiceComponents.wxs" /> <Compile Include="CardReaderServiceComponents.wxs" />
<Compile Include="Common.wxs" />
<Compile Include="DirectoryStructure.wxs" /> <Compile Include="DirectoryStructure.wxs" />
<Compile Include="LoggerComponents.wxs" />
<Compile Include="Product.wxs" /> <Compile Include="Product.wxs" />
<Compile Include="Properties.wxs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\CardReaderService\CardReaderService.csproj"> <ProjectReference Include="..\CardReaderService\CardReaderService.csproj">
@ -34,6 +37,22 @@
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> <RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLFOLDER</RefTargetDir> <RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
<Name>Interfaces</Name>
<Project>{b7347b72-e208-423a-9d99-723b558ea3d7}</Project>
<Private>True</Private>
<DoNotHarvest>True</DoNotHarvest>
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
<ProjectReference Include="..\NLogLogger\NLogLogger.csproj">
<Name>NLogLogger</Name>
<Project>{1c5220d6-9166-4f47-b57d-beb4d09d2a3f}</Project>
<Private>True</Private>
<DoNotHarvest>True</DoNotHarvest>
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<WixExtension Include="WixUtilExtension"> <WixExtension Include="WixUtilExtension">

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<ComponentGroup Id="CommonComponents" Directory="INSTALLFOLDER">
<Component Id="Interfaces" Guid="{B13D293D-FCA6-49C3-878A-0ECDCE724672}">
<File Id="Interfaces.dll"
Checksum="yes"
KeyPath="yes"
Source="$(var.Interfaces.TargetDir)Interfaces.dll" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -4,7 +4,9 @@
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder"> <Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="CardReaderServiceInstaller" /> <Directory Id="INSTALLFOLDER" Name="CardReaderServiceInstaller" >
<Directory Id="CONFIGSFOLDER" Name="Configs" />
</Directory>
</Directory> </Directory>
</Directory> </Directory>

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<ComponentGroup Id="LoggerComponents">
<ComponentGroupRef Id="LoggerConfigComponents"/>
<ComponentGroupRef Id="LoggerBinaryComponents"/>
</ComponentGroup>
<ComponentGroup Id="LoggerBinaryComponents" Directory="INSTALLFOLDER">
<Component Id="NLog" Guid="{3CF61D98-23E5-4042-9325-B1CB25752B6E}">
<File Id="NLog.dll"
Checksum="yes"
KeyPath="yes"
Source="$(var.NLogLogger.TargetDir)NLog.dll" />
</Component>
<Component Id="NLogLogger" Guid="{37C18A51-7934-469E-8DA3-8214754798A6}">
<File Id="NLogLogger.dll"
Checksum="yes"
KeyPath="yes"
Source="$(var.NLogLogger.TargetDir)NLogLogger.dll" />
</Component>
</ComponentGroup>
<ComponentGroup Id="LoggerConfigComponents" Directory="CONFIGSFOLDER">
<Component Id="NLogConfig" Guid="{B4252427-AE6A-4AC5-AA7C-B87C37AF3EB4}">
<File Id="NLogConfig.xml"
Checksum="yes"
KeyPath="yes"
Source="$(var.NLogLogger.TargetDir)NLogConfig.xml" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@ -21,6 +21,8 @@
<Fragment> <Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<ComponentGroupRef Id="CommonComponents"/>
<ComponentGroupRef Id="LoggerComponents"/>
<ComponentGroupRef Id="CardReaderServiceComponents"/> <ComponentGroupRef Id="CardReaderServiceComponents"/>
</ComponentGroup> </ComponentGroup>
</Fragment> </Fragment>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<Property Id="STARTSERVICEONINSTALL" Value="false" />
</Fragment>
</Wix>