frankmorgner / vsmartcard

umbrella project for emulation of smart card readers or smart cards
http://frankmorgner.github.io/vsmartcard/
693 stars 198 forks source link

BixVReader.ini not created after successfully building solution and installing BixVReaderInstaller.msi #101

Closed lorens76 closed 6 years ago

lorens76 commented 7 years ago

Expected behaviour

What should happen? I should have found BixVReader.ini at C:\Windows\System32

Actual behaviour

What happens instead? there is no such file

Logs

below the building logs. The installer apparently leaves no logs.

1>------ Rebuild All started: Project: BixVReader, Configuration: Debug x64 ------
2>------ Rebuild All started: Project: DevMsi, Configuration: Debug x64 ------
1>  Building 'BixVReader' with toolset 'WindowsUserModeDriver10.0' and the 'Desktop' target platform.
2>  stdafx.cpp
1>  Stamping x64\Debug\BixVReader.inf [Version] section with DriverVer=04/25/2017,12.1.5.3
1>  64 bit Processing .\VirtualSCReader.idl
1>  VirtualSCReader.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\wdf\umdf\1.11\wudfddi.idl
1>  wudfddi.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\oaidl.idl
1>  oaidl.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\objidl.idl
1>  objidl.idl
2>  DoRemoveDevnode.cpp
2>  DoRemoveService.cpp
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\unknwn.idl
2>  GuidStrHelpers.cpp
2>  CustomAction.cpp
1>  unknwn.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\wtypes.idl
1>  wtypes.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\wtypesbase.idl
1>  wtypesbase.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h
1>  basetsd.h
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\guiddef.h
1>  guiddef.h
2>  DoCreateDevnode.cpp
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\ocidl.idl
1>  ocidl.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\oleidl.idl
1>  oleidl.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\servprov.idl
1>  servprov.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\urlmon.idl
1>  urlmon.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\msxml.idl
1>  msxml.idl
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\wdf\umdf\1.11\wudfwdm.h
1>  wudfwdm.h
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\wdf\umdf\1.11\wudfddi_types.h
1>  wudfddi_types.h
2>  LogResult.cpp
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\oaidl.acf
1>  oaidl.acf
1>  64 bit Processing C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\ocidl.acf
1>  ocidl.acf
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1193,5): warning MSB8030: The linker switch "Minimum Required Version" requires "SubSystem" to be set.  Without "SubSystem", the "Minimum Required Version" would not be passed to linker and could prevent to the output binary from running on older Operating Systems.
1>  lock.c
2>     Creating library C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\..\lib\x64\Debug\DevMsi.lib and object C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\..\lib\x64\Debug\DevMsi.exp
1>  vpcd.c
1>  Generating Code...
1>  Compiling...
1>  Device.cpp
2>  DevMsi.vcxproj -> C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\..\bin\x64\Debug\DevMsi.dll
2>  DevMsi.vcxproj -> C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\bin\x64\Debug\DevMsi.pdb (Full PDB)
1>Device.cpp(101): warning C4477: 'swprintf' : format string '%i' requires an argument of type 'int', but variadic argument 2 has type 'SIZE_T'
1>  Device.cpp(101): note: consider using '%lli' in the format string
1>  Device.cpp(101): note: consider using '%Ii' in the format string
1>  Device.cpp(101): note: consider using '%I64i' in the format string
1>Device.cpp(101): warning C4477: 'swprintf' : format string '%i' requires an argument of type 'int', but variadic argument 3 has type 'SIZE_T'
1>  Device.cpp(101): note: consider using '%lli' in the format string
1>  Device.cpp(101): note: consider using '%Ii' in the format string
1>  Device.cpp(101): note: consider using '%I64i' in the format string
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(1139): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(1133): note: while compiling class template member function 'void std::vector<Reader *,std::allocator<_Ty>>::resize(unsigned __int64)'
1>          with
1>          [
1>              _Ty=Reader *
1>          ]
1>  Device.cpp(232): note: see reference to function template instantiation 'void std::vector<Reader *,std::allocator<_Ty>>::resize(unsigned __int64)' being compiled
1>          with
1>          [
1>              _Ty=Reader *
1>          ]
1>  c:\users\lorenzo\source\repos\vsmartcard\virtualsmartcard\win32\bixvreader\device.h(43): note: see reference to class template instantiation 'std::vector<Reader *,std::allocator<_Ty>>' being compiled
1>          with
1>          [
1>              _Ty=Reader *
1>          ]
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
1>  DllMain.cpp
1>  Driver.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
1>  memory.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
1>  PipeReader.cpp
1>PipeReader.cpp(147): warning C4477: 'swprintf' : format string '%08Ix' requires an argument of type 'unsigned __int64', but variadic argument 2 has type 'HANDLE'
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
1>  Queue.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
1>  Reader.cpp
1>Reader.cpp(402): warning C4458: declaration of 'protocol' hides class member
1>  c:\users\lorenzo\source\repos\vsmartcard\virtualsmartcard\win32\bixvreader\reader.h(24): note: see declaration of 'Reader::protocol'
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
1>  sectionLocker.cpp
1>sectionLocker.cpp(13): warning C4477: 'sprintf' : format string '%Ix' requires an argument of type 'unsigned __int64', but variadic argument 3 has type 'void *'
1>sectionLocker.cpp(13): warning C4477: 'sprintf' : format string '%Ix' requires an argument of type 'unsigned __int64', but variadic argument 4 has type 'CRITICAL_SECTION *'
1>sectionLocker.cpp(26): warning C4477: 'sprintf' : format string '%Ix' requires an argument of type 'unsigned __int64', but variadic argument 3 has type 'void *'
1>sectionLocker.cpp(26): warning C4477: 'sprintf' : format string '%Ix' requires an argument of type 'unsigned __int64', but variadic argument 4 has type 'CRITICAL_SECTION *'
1>  TcpIpReader.cpp
1>TcpIpReader.cpp(137): warning C4456: declaration of 'log' hides previous local declaration
1>  TcpIpReader.cpp(116): note: see declaration of 'log'
1>TcpIpReader.cpp(165): warning C4477: 'swprintf' : format string '%i' requires an argument of type 'int', but variadic argument 1 has type 'SOCKET'
1>  TcpIpReader.cpp(165): note: consider using '%lli' in the format string
1>  TcpIpReader.cpp(165): note: consider using '%Ii' in the format string
1>  TcpIpReader.cpp(165): note: consider using '%I64i' in the format string
1>TcpIpReader.cpp(205): warning C4477: 'swprintf' : format string '%i' requires an argument of type 'int', but variadic argument 1 has type 'SOCKET'
1>  TcpIpReader.cpp(205): note: consider using '%lli' in the format string
1>  TcpIpReader.cpp(205): note: consider using '%Ii' in the format string
1>  TcpIpReader.cpp(205): note: consider using '%I64i' in the format string
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
1>  VpcdReader.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
1>  Generating Code...
1>resource.h(1322): warning RC4005: '_WIN32_WINNT' : redefinition
1>
1>     Creating library C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\BixVReader.lib and object C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\BixVReader.exp
1>  BixVReader.vcxproj -> C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\BixVReader.dll
1>  BixVReader.vcxproj -> C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\BixVReader.pdb (Full PDB)
1>  Done Adding Additional Store
1>  Successfully signed: C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\BixVReader.dll
1>
1>  .........................
1>  Signability test complete.
1>
1>  Errors:
1>  None
1>
1>  Warnings:
1>  None
1>
1>  Catalog generation complete.
1>  C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\BixVReader\bixvreader.cat
1>  Done Adding Additional Store
1>  Successfully signed: C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\BixVReader\bixvreader.cat
1>
3>------ Rebuild All started: Project: BixVReaderInstaller, Configuration: Debug x64 ------
3>  C:\Program Files (x86)\WiX Toolset v3.10\bin\candle.exe -dDebug -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\\" -dSolutionDir=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\ -dSolutionExt=.sln -dSolutionFileName=BixVReader.sln -dSolutionName=BixVReader -dSolutionPath=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReader.sln -dConfiguration=Debug -dOutDir=bin\x64\Debug\ -dPlatform=x64 -dProjectDir=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReaderInstaller\ -dProjectExt=.wixproj -dProjectFileName=BixVReaderInstaller.wixproj -dProjectName=BixVReaderInstaller -dProjectPath=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReaderInstaller\BixVReaderInstaller.wixproj -dTargetDir=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReaderInstaller\bin\x64\Debug\ -dTargetExt=.msi -dTargetFileName=BixVReaderInstaller.msi -dTargetName=BixVReaderInstaller -dTargetPath=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReaderInstaller\bin\x64\Debug\BixVReaderInstaller.msi -dBixVReader.Configuration=Debug -d"BixVReader.FullConfiguration=Debug|x64" -dBixVReader.Platform=x64 -dBixVReader.ProjectDir=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReader\ -dBixVReader.ProjectExt=.vcxproj -dBixVReader.ProjectFileName=BixVReader.vcxproj -dBixVReader.ProjectName=BixVReader -dBixVReader.ProjectPath=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReader\BixVReader.vcxproj -dBixVReader.TargetDir=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\ -dBixVReader.TargetExt=.dll -dBixVReader.TargetFileName=BixVReader.dll -dBixVReader.TargetName=BixVReader -dBixVReader.TargetPath=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\x64\Debug\BixVReader.dll -dDevMsi.Configuration=Debug -d"DevMsi.FullConfiguration=Debug|x64" -dDevMsi.Platform=x64 -dDevMsi.ProjectDir=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\DevMsi\src\DevMsi\ -dDevMsi.ProjectExt=.vcxproj -dDevMsi.ProjectFileName=DevMsi.vcxproj -dDevMsi.ProjectName=DevMsi -dDevMsi.ProjectPath=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\DevMsi\src\DevMsi\DevMsi.vcxproj -dDevMsi.TargetDir=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\bin\x64\Debug\ -dDevMsi.TargetExt=.dll -dDevMsi.TargetFileName=DevMsi.dll -dDevMsi.TargetName=DevMsi -dDevMsi.TargetPath=C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\bin\x64\Debug\DevMsi.dll -out obj\x64\Debug\ -arch x64 Product.wxs
3>  C:\Program Files (x86)\WiX Toolset v3.10\bin\Light.exe -out C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReaderInstaller\bin\x64\Debug\BixVReaderInstaller.msi -pdbout C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReaderInstaller\bin\x64\Debug\BixVReaderInstaller.wixpdb -cultures:null -contentsfile obj\x64\Debug\BixVReaderInstaller.wixproj.BindContentsFileListnull.txt -outputsfile obj\x64\Debug\BixVReaderInstaller.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\x64\Debug\BixVReaderInstaller.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReaderInstaller\BixVReaderInstaller.wixproj obj\x64\Debug\Product.wixobj
3>  BixVReaderInstaller -> C:\Users\Lorenzo\Source\Repos\VSmartCard\virtualsmartcard\win32\BixVReaderInstaller\bin\x64\Debug\BixVReaderInstaller.msi
========== Rebuild All: 3 succeeded, 0 failed, 0 skipped ==========
frankmorgner commented 7 years ago

Do you get the file when installing the binaries from the CI build? https://ci.appveyor.com/api/buildjobs/1lasvchea9e91su3/artifacts/vpcd_win32.zip or https://ci.appveyor.com/api/buildjobs/78y74r5tfw78h2ww/artifacts/vpcd_win64.zip respectively.

lorens76 commented 7 years ago

Hi. thanks for the quick resonse and congrats for your exciting project. I have installed the binaries from the CI build and I do not get the file. The behavior is the same. However, the Windows device manager console shows the smart card reader as unknown device. image

frankmorgner commented 7 years ago

Sorry for leaving this problem waiting such a long time. I only have temporary access to Windows. As temporary workaround please copy your configuration by hand.

frankmorgner commented 6 years ago

Unfortunately I cannot confirm this behavior. I've tested on Win32, that the latest release as well as the CI build both install C:\Windows\BixVReader.ini. Above, you wrote that you checked System32, could the different path be the problem?

lorens76 commented 6 years ago

Hey Thanks for your mail!

IT is appreciated, despite the delay.

Congratulations on your virtual smart card project. My idea was to actually virtualize smart cards for real, and access them on the cloud with biometric authenticatio (iris?) so that we could store all our digital documents on the could (IDs, Passport, Credit Cards) and only access them from any device when required.

It seems too ambitious aparently...

I have been off this project for a while, you can kill my request.

Thank you again and keep it up!

Lorenzo

2017-11-22 20:14 GMT+04:00 Frank Morgner notifications@github.com:

Unfortunately I cannot confirm this behavior. I've tested on Win32, that the latest release https://github.com/frankmorgner/vsmartcard/releases/download/virtualsmartcard-0.7/vpcd_win32.zip as well as the CI build https://ci.appveyor.com/api/buildjobs/1lasvchea9e91su3/artifacts/vpcd_win32.zip both install C:\Windows\BixVReader.ini. Above, you wrote that you checked System32, could the different path be the problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/frankmorgner/vsmartcard/issues/101#issuecomment-346398419, or mute the thread https://github.com/notifications/unsubscribe-auth/ANY9hSbhUAR8Zxc_tQkjrIBu4J2Ny7kcks5s5Eh1gaJpZM4NHITJ .