njz3 / vJoy

Virtual Joystick
http://vjoystick.sourceforge.net
MIT License
310 stars 40 forks source link

v2.2.1.1 setup vJoy failed to install - workaround #9

Closed leglaucio closed 1 year ago

leglaucio commented 2 years ago

Hi I have received the “vJoy failed to install” during the setup vJoySetup-2.2.1-signed.exe in a fresh new windows 10 1903 installation. Looking the logs I realize that error are coming somewhere around the searching for ROOT\HIDCLASS\0000. Loking the vJoyInstallerSigned.iss setup script I could see that the script search for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ROOT\HIDCLASS\0000 registry entry. This does not exist in my windows registry. I manage to get it installing a previous version of vjoy (2.1.9.1) (that creates this registry entry). Then I could export this to a HIDCLASS.reg file. Now every time I need to install vJoySetup-2.2.1-signed.exe in fresh new windows I can apply the HIDCLASS.reg before the installation and you will get a successful installation. I start trying to permanently fix this issue but I could get further because o vjoy driver compilation and sinning issues.

favoritewky commented 1 year ago

Can I get the reg file plz?

Sayuuk commented 1 year ago

Thanks, worked perfectly!

If you don't know how to do this:

jshafer817 commented 1 year ago

WOW! That's great work. I decided myself to see what was going on so I recompiled my OWN version of VJoy going off of my guide as the original virtual machine I used to compile it on doesn't exist. No big deal I thought.. Guess what? I can't redownload the old original version of the Windows 10 SDK 1506 I think. Something on my guide Microsoft went out of their way to remove. Anyways, I used something newer.. and I ran into an error after it was compiled and test signed. Great work dude! Closer to resolving the error, although I don't have a code signing certificate anymore and my original vjoy sign still works, and I suspect it's because of the old Windows WDK\SDK I was using. njz3 will be happy when he reads this. =) All that stuff can be fixed in the innosetup installer beforehand. Yay! Force Feedback improvements are back. Just emailed him. We last discussed this Feb of 2022

Neonnite1753 commented 1 year ago

I got it to install but I cant get it to actually do anything, Enable Vjoy is the only check box not greyed out and add device does nothing.

Sayuuk commented 1 year ago

I got it to install but I cant get it to actually do anything, Enable Vjoy is the only check box not greyed out and add device does nothing.

Exactly my final results as well. The workaround above only allows the installation it seems. I've gone back to 2.1.9.1 for now as I don't need the FFB anyways...

Mixcraftio commented 1 year ago

Here is mine

vjoy.zip

Can I get the reg file plz?

njz3 commented 1 year ago

Issue fixed in latest source code of v2.2.2.0