vJoy icon indicating copy to clipboard operation
vJoy copied to clipboard

Problem with build and command line

Open SerkaFox opened this issue 4 years ago • 3 comments

Hello. I try to build vJoy, but cmd write me error like

   "X:\PARTYZONE\download\vJoy-master\vJoy-master\vjoy.sln" (целевой объект по умолчанию) (1) ->
   "X:\PARTYZONE\download\vJoy-master\vJoy-master\driver\sys\vJoy.vcxproj.metaproj" (целевой объект по умолчанию) (
   10) ->
   "X:\PARTYZONE\download\vJoy-master\vJoy-master\driver\sys\vJoy.vcxproj" (целевой объект по умолчанию) (16) ->
   "X:\PARTYZONE\download\vJoy-master\vJoy-master\driver\sys\vJoy.vcxproj" (целевой объект TestSign ) (16:2) ->
   (Целевой объект TestSign) ->
     E:\Windows Kits\10\build\WindowsDriver.common.targets(1370,5): error : Invalid argument <CN="WDKTestCert Benja
   min,132277919481947922" | 0E33DBA13D3AF4CA5BA140EF6C35C50652292AAB> for property <TestCertificate>. [X:\PARTYZON
   E\download\vJoy-master\vJoy-master\driver\sys\vJoy.vcxproj

What need to fix that error?

main: DeviceHWID --> root\VID_1234&PID_BEAD&REV_0221 ; InfFile --> vJoy.inf [I] FindInstalled: Searching for HWID root\VID_1234&PID_BEAD&REV_0221 [I] FindInstalled: Searching for HWID root\VID_1234&PID_BEAD [I] Install: GetFullPathName --> X:\PARTYZONE\download\vJoy-master\vJoy-master\x64\Release\vJoy.inf [I] Install: hwIdList --> root\VID_1234&PID_BEAD&REV_0221 [E] SetupDiGetINFClass failed with error: Cant find file

SerkaFox avatar Sep 15 '21 15:09 SerkaFox

It probably fails to find vJoy.inf - if the file is not on a different disk (X:) it may cause a problem.

shauleiz avatar Sep 15 '21 16:09 shauleiz

Done, I make Setup File vJoySetup.exe I make Self Code Signing Certificate. No One error got. And all PERFECT. But, when I install - vJoy failed to install

SerkaFox avatar Sep 15 '21 16:09 SerkaFox

The test certificate in the solution you picked was mine (I see "Benjamin" in the error). This is because the commited project files store this parameter. You can simply generate your test certificate to build the solution, or buy an official developper certificate from Microsoft. Regarding the "vJoy failed to install", it has multiple reasons. Among them it could be that you are actually not running on a test-sign enabled computer (if you build a test version), or maybe you face an issue with the driver or installer.

njz3 avatar Dec 29 '21 10:12 njz3