Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with build and command line #55

Open
SerkaFox opened this issue Sep 15, 2021 · 3 comments
Open

Problem with build and command line #55

SerkaFox opened this issue Sep 15, 2021 · 3 comments

Comments

@SerkaFox
Copy link

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

@shauleiz
Copy link
Owner

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

@SerkaFox
Copy link
Author

SerkaFox commented Sep 15, 2021

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

@njz3
Copy link

njz3 commented Dec 29, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants