frankmorgner/vsmartcard

MSI package in virtualsmartcard-08_win64 release is corrupt

Closed this issue · 3 comments

amalg commented

The MSI package will not install properly with drivers, and the files contained within cannot be extracted with 7zip, winrar, or other archive utility. The result is that the BizVReader.ini file is not deployed, nor are the .inf and .dll files (drivers) deployed. This results in an "Unknown device" with no driver under Smartcard Readers in Device Manager.

amalg commented

Ok, the MSI may not be corrupt. While I cannot extract the individual files from the MSI package, what was necessary to make the MSI install properly was to disable the signed driver installation requirement for Windows 10 / 11 and put it into test mode. After that, I was able to simply run the MSI package and it installed properly and vpcd worked as expected. Then I re-enabled signed driver requirements and continued to use vpcd as expected. To do this;

  • Open Command Prompt as Administrator

  • Run the following commands;

    bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
    bcdedit.exe -set TESTSIGNING ON

  • Restart computer

  • Windows will boot into Test Mode

  • Install MSI package.

  • Approve unsigned driver installation

  • Allow MSI install to finish

  • Verify in Device Manager that Bix Virtual Smart Card Reader appears under Smart card readers

  • Open Command Prompt as Administrator

  • Run the following commands;

    bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS
    bcdedit -set TESTSIGNING OFF

  • Restart computer

Actually, if you install the certificate present in the zip, you will be able to install the driver without entering Windows test mode.

With 00f1508, installation instructions are now distributed with the binaries.