Sign using VivoKey certificate

This commit is contained in:
Christoph Honal
2024-05-23 12:29:26 -07:00
parent 1d71760f34
commit 238ace8c46
5 changed files with 250 additions and 192 deletions

2
.gitmodules vendored
View File

@@ -24,4 +24,4 @@
url = https://github.com/OpenSC/OpenSC.git url = https://github.com/OpenSC/OpenSC.git
[submodule "virtualsmartcard/win32/DevMsi"] [submodule "virtualsmartcard/win32/DevMsi"]
path = virtualsmartcard/win32/DevMsi path = virtualsmartcard/win32/DevMsi
url = https://github.com/nickrussler/DevMsi.git url = https://github.com/VivoKey/DevMsi.git

View File

@@ -1,190 +1,214 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations"> <ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32"> <ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32"> <ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64"> <ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>x64</Platform> <Platform>x64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|x64"> <ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>x64</Platform> <Platform>x64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="Exports.def" /> <None Include="Exports.def" />
<None Include="ReadMe.txt" /> <None Include="ReadMe.txt" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="..\..\src\vpcd\lock.c" /> <ClCompile Include="..\..\src\vpcd\lock.c" />
<ClCompile Include="..\..\src\vpcd\vpcd.c" /> <ClCompile Include="..\..\src\vpcd\vpcd.c" />
<ClCompile Include="Device.cpp" /> <ClCompile Include="Device.cpp" />
<ClCompile Include="DllMain.cpp" /> <ClCompile Include="DllMain.cpp" />
<ClCompile Include="Driver.cpp" /> <ClCompile Include="Driver.cpp" />
<ClCompile Include="memory.cpp" /> <ClCompile Include="memory.cpp" />
<ClCompile Include="PipeReader.cpp" /> <ClCompile Include="PipeReader.cpp" />
<ClCompile Include="Queue.cpp" /> <ClCompile Include="Queue.cpp" />
<ClCompile Include="Reader.cpp" /> <ClCompile Include="Reader.cpp" />
<ClCompile Include="sectionLocker.cpp" /> <ClCompile Include="sectionLocker.cpp" />
<ClCompile Include="TcpIpReader.cpp" /> <ClCompile Include="TcpIpReader.cpp" />
<ClCompile Include="VpcdReader.cpp" /> <ClCompile Include="VpcdReader.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\..\src\vpcd\lock.h" /> <ClInclude Include="..\..\src\vpcd\lock.h" />
<ClInclude Include="..\..\src\vpcd\vpcd.h" /> <ClInclude Include="..\..\src\vpcd\vpcd.h" />
<ClInclude Include="Device.h" /> <ClInclude Include="Device.h" />
<ClInclude Include="Driver.h" /> <ClInclude Include="Driver.h" />
<ClInclude Include="Internal.h" /> <ClInclude Include="Internal.h" />
<ClInclude Include="memory.h" /> <ClInclude Include="memory.h" />
<ClInclude Include="Queue.h" /> <ClInclude Include="Queue.h" />
<ClInclude Include="Reader.h" /> <ClInclude Include="Reader.h" />
<ClInclude Include="Resource.h" /> <ClInclude Include="Resource.h" />
<ClInclude Include="sectionLocker.h" /> <ClInclude Include="sectionLocker.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ResourceCompile Include="VivoKeySmartReader.rc" /> <ResourceCompile Include="VivoKeySmartReader.rc" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Inf Include="VivoKeySmartReader.inf" /> <Inf Include="VivoKeySmartReader.inf" />
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{1D286E48-DE79-41FF-844B-56ED3764D4DA}</ProjectGuid> <ProjectGuid>{1D286E48-DE79-41FF-844B-56ED3764D4DA}</ProjectGuid>
<TemplateGuid>{2177f19c-eb4c-4687-9e7f-f9eec1f12cf1}</TemplateGuid> <TemplateGuid>{2177f19c-eb4c-4687-9e7f-f9eec1f12cf1}</TemplateGuid>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion> <MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">Win32</Platform> <Platform Condition="'$(Platform)' == ''">Win32</Platform>
<RootNamespace>VivoKeySmartReader</RootNamespace> <RootNamespace>VivoKeySmartReader</RootNamespace>
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<TargetVersion>Windows10</TargetVersion> <TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>true</UseDebugLibraries> <UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset> <PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Static</UseOfAtl> <UseOfAtl>Static</UseOfAtl>
<UMDF_VERSION_MAJOR>1</UMDF_VERSION_MAJOR> <UMDF_VERSION_MAJOR>1</UMDF_VERSION_MAJOR>
<DriverTargetPlatform>Desktop</DriverTargetPlatform> <DriverTargetPlatform>Desktop</DriverTargetPlatform>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<TargetVersion>Windows10</TargetVersion> <TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries> <UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset> <PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Static</UseOfAtl> <UseOfAtl>Static</UseOfAtl>
<UMDF_VERSION_MAJOR>1</UMDF_VERSION_MAJOR> <UMDF_VERSION_MAJOR>1</UMDF_VERSION_MAJOR>
<DriverTargetPlatform>Desktop</DriverTargetPlatform> <DriverTargetPlatform>Desktop</DriverTargetPlatform>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<TargetVersion>Windows10</TargetVersion> <TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>true</UseDebugLibraries> <UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset> <PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Static</UseOfAtl> <UseOfAtl>Static</UseOfAtl>
<UMDF_VERSION_MAJOR>1</UMDF_VERSION_MAJOR> <UMDF_VERSION_MAJOR>1</UMDF_VERSION_MAJOR>
<DriverTargetPlatform>Desktop</DriverTargetPlatform> <DriverTargetPlatform>Desktop</DriverTargetPlatform>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<TargetVersion>Windows10</TargetVersion> <TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries> <UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset> <PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Static</UseOfAtl> <UseOfAtl>Static</UseOfAtl>
<UMDF_VERSION_MAJOR>1</UMDF_VERSION_MAJOR> <UMDF_VERSION_MAJOR>1</UMDF_VERSION_MAJOR>
<DriverTargetPlatform>Desktop</DriverTargetPlatform> <DriverTargetPlatform>Desktop</DriverTargetPlatform>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings"> <ImportGroup Label="ExtensionSettings">
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets"> <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup> </ImportGroup>
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<PropertyGroup /> <PropertyGroup />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor> <DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor>
</PropertyGroup> <DisableProductionSignDebugWarnings>false</DisableProductionSignDebugWarnings>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <DiagnosticMode>false</DiagnosticMode>
<DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor> </PropertyGroup>
</PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor>
<DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor> <DisableProductionSignDebugWarnings>false</DisableProductionSignDebugWarnings>
</PropertyGroup> <DiagnosticMode>false</DiagnosticMode>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> </PropertyGroup>
<DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
</PropertyGroup> <DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <DisableProductionSignDebugWarnings>false</DisableProductionSignDebugWarnings>
<ClCompile> <DiagnosticMode>false</DiagnosticMode>
<WppEnabled>true</WppEnabled> </PropertyGroup>
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">internal.h</WppScanConfigurationData> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ExceptionHandling>Sync</ExceptionHandling> <DebuggerFlavor>DbgengRemoteDebugger</DebuggerFlavor>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <DisableProductionSignDebugWarnings>false</DisableProductionSignDebugWarnings>
<TreatWarningAsError>false</TreatWarningAsError> <DiagnosticMode>false</DiagnosticMode>
<CallingConvention> </PropertyGroup>
</CallingConvention> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ShowIncludes>true</ShowIncludes> <ClCompile>
</ClCompile> <WppEnabled>true</WppEnabled>
<Link> <WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">internal.h</WppScanConfigurationData>
<SubSystem>Windows</SubSystem> <ExceptionHandling>Sync</ExceptionHandling>
<ModuleDefinitionFile>.\Exports.def</ModuleDefinitionFile> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<AdditionalDependencies>Ws2_32.lib</AdditionalDependencies> <TreatWarningAsError>false</TreatWarningAsError>
</Link> <CallingConvention>
</ItemDefinitionGroup> </CallingConvention>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ShowIncludes>true</ShowIncludes>
<ClCompile> </ClCompile>
<WppEnabled>true</WppEnabled> <Link>
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">internal.h</WppScanConfigurationData> <SubSystem>Windows</SubSystem>
<TreatWarningAsError>false</TreatWarningAsError> <ModuleDefinitionFile>.\Exports.def</ModuleDefinitionFile>
</ClCompile> <AdditionalDependencies>Ws2_32.lib</AdditionalDependencies>
<Link> </Link>
<SubSystem>Windows</SubSystem> <DriverSign>
<ModuleDefinitionFile>.\Exports.def</ModuleDefinitionFile> <FileDigestAlgorithm>sha256</FileDigestAlgorithm>
<AdditionalDependencies>Ws2_32.lib</AdditionalDependencies> <AdditionalOptions>/tr "http://ts.ssl.com" %(AdditionalOptions)</AdditionalOptions>
</Link> </DriverSign>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile> <ClCompile>
<WppEnabled>true</WppEnabled> <WppEnabled>true</WppEnabled>
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">internal.h</WppScanConfigurationData> <WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">internal.h</WppScanConfigurationData>
<TreatWarningAsError>false</TreatWarningAsError> <TreatWarningAsError>false</TreatWarningAsError>
</ClCompile> </ClCompile>
<Link> <Link>
<SubSystem>Windows</SubSystem> <SubSystem>Windows</SubSystem>
<ModuleDefinitionFile>.\Exports.def</ModuleDefinitionFile> <ModuleDefinitionFile>.\Exports.def</ModuleDefinitionFile>
<AdditionalDependencies>Ws2_32.lib</AdditionalDependencies> <AdditionalDependencies>Ws2_32.lib</AdditionalDependencies>
</Link> </Link>
</ItemDefinitionGroup> <DriverSign>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <FileDigestAlgorithm>sha256</FileDigestAlgorithm>
<ClCompile> <AdditionalOptions>/tr "http://ts.ssl.com" %(AdditionalOptions)</AdditionalOptions>
<WppEnabled>true</WppEnabled> </DriverSign>
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">internal.h</WppScanConfigurationData> </ItemDefinitionGroup>
<TreatWarningAsError>false</TreatWarningAsError> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
</ClCompile> <ClCompile>
<Link> <WppEnabled>true</WppEnabled>
<SubSystem>Windows</SubSystem> <WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">internal.h</WppScanConfigurationData>
<ModuleDefinitionFile>.\Exports.def</ModuleDefinitionFile> <TreatWarningAsError>false</TreatWarningAsError>
<AdditionalDependencies>Ws2_32.lib</AdditionalDependencies> </ClCompile>
</Link> <Link>
</ItemDefinitionGroup> <SubSystem>Windows</SubSystem>
<ItemGroup> <ModuleDefinitionFile>.\Exports.def</ModuleDefinitionFile>
<FilesToPackage Include="$(TargetPath)" /> <AdditionalDependencies>Ws2_32.lib</AdditionalDependencies>
</ItemGroup> </Link>
<ItemGroup> <DriverSign>
<Midl Include="VirtualSCReader.idl" /> <FileDigestAlgorithm>sha256</FileDigestAlgorithm>
</ItemGroup> <AdditionalOptions>/tr "http://ts.ssl.com" %(AdditionalOptions)</AdditionalOptions>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> </DriverSign>
<ImportGroup Label="ExtensionTargets"> </ItemDefinitionGroup>
</ImportGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
</Project> <ClCompile>
<WppEnabled>true</WppEnabled>
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">internal.h</WppScanConfigurationData>
<TreatWarningAsError>false</TreatWarningAsError>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<ModuleDefinitionFile>.\Exports.def</ModuleDefinitionFile>
<AdditionalDependencies>Ws2_32.lib</AdditionalDependencies>
</Link>
<DriverSign>
<FileDigestAlgorithm>sha256</FileDigestAlgorithm>
<AdditionalOptions>/tr "http://ts.ssl.com" %(AdditionalOptions)</AdditionalOptions>
</DriverSign>
</ItemDefinitionGroup>
<ItemGroup>
<FilesToPackage Include="$(TargetPath)" />
</ItemGroup>
<ItemGroup>
<Midl Include="VirtualSCReader.idl" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<SignMode>TestSign</SignMode>
<ProductionCertificate>
</ProductionCertificate>
<TestCertificate>5d16436c3cfb5a5e7548472b23af2a268aec7831</TestCertificate>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<SignMode>TestSign</SignMode>
<ProductionCertificate>
</ProductionCertificate>
<TestCertificate>5d16436c3cfb5a5e7548472b23af2a268aec7831</TestCertificate>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<SignMode>TestSign</SignMode>
<ProductionCertificate>
</ProductionCertificate>
<TestCertificate>5d16436c3cfb5a5e7548472b23af2a268aec7831</TestCertificate>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<SignMode>TestSign</SignMode>
<ProductionCertificate>
</ProductionCertificate>
<TestCertificate>5d16436c3cfb5a5e7548472b23af2a268aec7831</TestCertificate>
</PropertyGroup>
</Project>

View File

@@ -10,6 +10,7 @@
<OutputType>Package</OutputType> <OutputType>Package</OutputType>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
<SignOutput>true</SignOutput>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<OutputPath>bin\$(Configuration)\</OutputPath> <OutputPath>bin\$(Configuration)\</OutputPath>
@@ -68,4 +69,10 @@
<Target Name="AfterBuild"> <Target Name="AfterBuild">
</Target> </Target>
--> -->
<Target Name="SignCabs">
<Exec Command="&quot;C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe&quot; sign /sha1 &quot;5d16436c3cfb5a5e7548472b23af2a268aec7831&quot; /fd &quot;sha256&quot; /tr &quot;http://ts.ssl.com&quot; /a &quot;%(SignCabs.FullPath)&quot;" />
</Target>
<Target Name="SignMsi">
<Exec Command="&quot;C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe&quot; sign /sha1 &quot;5d16436c3cfb5a5e7548472b23af2a268aec7831&quot; /fd &quot;sha256&quot; /tr &quot;http://ts.ssl.com&quot; /a &quot;%(SignMsi.FullPath)&quot;" />
</Target>
</Project> </Project>