nefarius / ViGEmBus

Windows kernel-mode driver emulating well-known USB game controllers.
https://docs.nefarius.at/projects/ViGEm/
BSD 3-Clause "New" or "Revised" License
3.16k stars 290 forks source link

[v1.17.33] Setup Wizard ended prematurely #63

Closed Nike2406 closed 3 years ago

Nike2406 commented 3 years ago

Hello! I ran into a problem while installing ViGEmBusSetup. Installation fails with an error "Nefarius Virtual Gamepad Emulation Bus Driver Setup Wizard ended prematurely" =(

OS: Windows 10 pro 19042.685

ViGEmBus: 1.17.333 FireShock: 3.0.0.0 Shibari: 1.4.106 BthPS3: 1.2.4

nW1MwWEQ_yM

nefarius commented 3 years ago

Hello! Please provide the file c:\Windows\inf\setupapi.dev.log from the troubled system, thanks.

Nike2406 commented 3 years ago

Here setupapi.dev.log But I already installed the patch by checking the file system via dism (DISM /Online /Cleanup-Image /RestoreHealth). Never the less, thank you for support)

nefarius commented 3 years ago

But I already installed the patch by checking the file system via dism (DISM /Online /Cleanup-Image /RestoreHealth).

Pardon me, what do you mean by that?

nefarius commented 3 years ago

I've reviewed the file; it reports that the driver has been installed successfully...? Is that also what you experience now?

Nike2406 commented 3 years ago

I've reviewed the file; it reports that the driver has been installed successfully...? Is that also what you experience now?

Yes, I already installed ViGEmBusDriver successfully. Before this happened, i tried to reboot pc, checked another versions ... and so on. After that that, i tried to check windows files by utility Dism via Command line, and, it's a miracle, it's successfully installed)

nefarius commented 3 years ago

That's a cool hint to know, thanks! May we close this issue then? 😀

Nike2406 commented 3 years ago

Yep) You're welcome =)

reztek commented 3 years ago

I'm having similar problems. I wonder if it`s something related to this: (Per https://support.microsoft.com/en-us/help/4577671/windows-10-update-kb4577671) Symptom - "When installing a third-party driver, you might receive the error, “Windows can’t verify the publisher of this driver software”. You might also see the error, “No signature was present in the subject” when attempting to view the signature properties using Windows Explorer." Workaround - "This issue occurs when one or more of the following is present in a driver package: An improperly formatted catalog file is identified during validation by Windows. Starting with this release, Windows will require the validity of DER encoded PKCS#7 content in catalog files. Catalogs files must be signed per section 11.6 of describing DER-encoding for SET OF members in X.690. A driver catalog file extension is not one of supported extensions. If this happens you should contact the driver vendor or device manufacturer (OEM) and ask them for an updated driver to correct the issue."

image

nefarius commented 3 years ago

@reztek nice find! Odd, the CAT signature is indeed complaining, on my own one, the Microsoft one appears to be fine. Maybe dual-signing the CAT is not allowed or breaks the way I did it. I'll bake a test-release you could help me test 😁

reztek commented 3 years ago

@nefarius Absolutely!

nefarius commented 3 years ago

@reztek here's a version where I simply included the original CAT files like I got them back from Microsoft, single signature, nothing else changed. Please give it a go 😁

reztek commented 3 years ago

Unfortunately, no dice. I got error "Windows Installer installed the product. Product Name: Nefarius Virtual Gamepad Emulation Bus Driver. Product Version: 1.17.333.0. Product Language: 1033. Manufacturer: Nefarius Software Solutions e.U.. Installation success or error status: 1603." in the System Log. No "c:\Windows\inf\setupapi.dev.log" generated, though.

nefarius commented 3 years ago

Oh dear. Could you try again first removing any older installation and closing down software that could potentially use it? Ideally after a reboot.

reztek commented 3 years ago

Ok, found the problem (I guess): image

I'll install the VC++ redist libraries and try to install again with the release build.

nefarius commented 3 years ago

Oh no... 😅 Compiled with dynamic runtime. Argh. Back onto the TODO 😬

reztek commented 3 years ago

Ok, after installing the VC++ redist libraries, the ViGEm installer (release version) installed successfully. Thanks for your time (and software).

nefarius commented 3 years ago

Nice job reporting that. I will fix these two issues next (invalid signature on CAT and the dependency on the runtime).

Cheers

nefarius commented 3 years ago

I snuck in new setups in the existing release 😉

supplesummo commented 3 years ago

I seem to have the same issue and am perhaps missing the trick to fix it described above. Can someone help?

nefarius commented 3 years ago

Described what exactly? There have been a few suggestions. What did you try and what Windows version do you run under? When did you download the setup, before or after the fix has been uploaded?

JohnEdwa commented 3 years ago

Hey, I encountered an error like this myself as well trying to update, and I managed to fix it.

The first time I ran the setup it told me to reboot and try again (I assume it had to uninstall the old one first), but after that reboot it started failing with this message every time. I eventually went to the Device Manager and saw that it was creating a new "Nefarious Virtual Gamepad Emulation Bus" device with every try under "System Devices", with all but one of them showing the exclamation mark. Manually uninstalling all of them, rebooting, and running the setup again fixed it and allowed the update to happen.

Here's that part from my log, in case it helps in the future somehow. vigem_setupapi.dev.log

clin444 commented 3 years ago

Hi, @JohnEdwa 's method, just uninstalling all the "Nefarious Virtual Gamepad Emulation Bus" drivers under "System Devices" worked for me as well.

Here's my log if it helps.

setupapi.dev.log (i took a look at the file and saw that parsec installs ViGEmBus, maybe that has something to do with it?)

Sch1nken commented 3 years ago

Same thing for me, @JohnEdwa provides a working solution.

I also have Parsec installed, so that might be the problem. Though on a 2nd PC the same configuration works without issues.

elysi4n commented 3 years ago

Desktop Screenshot 2021 04 28 - 10 57 26 28 same issue

nefarius commented 3 years ago

Desktop Screenshot 2021 04 28 - 10 57 26 28 same issue

Can't help you without any logs, info which Windows build and architecture etc.

Proplayer584 commented 3 years ago

Hola, Tambien me aparece el mismo error al descargarlo que dice ended prematurely que puedo hacer?

Megustas44 commented 3 years ago

Captura de pantalla del escritorio 2021 04 28-10 57 26 28 mismo problema

Hi, i have the same problem

OS: 1809 {17763.1879} setupapi.dev.log

PoggersPlayer commented 3 years ago

Same

PoggersPlayer commented 3 years ago

Here setupapi.dev.log But I already installed the patch by checking the file system via dism (DISM /Online /Cleanup-Image /RestoreHealth). Never the less, thank you for support)

It won't fix the error!!

PoggersPlayer commented 3 years ago

I WON'T STOP REFUSES TO WORK!

Masamune3210 commented 3 years ago

Are you completely nuts or do you think spamming comments is going to get anything other than the issue closed....