Code Monkey home page Code Monkey logo

Comments (14)

MolotovCherry avatar MolotovCherry commented on May 18, 2024
  • Did you see any errors during installation?

  • What do you see in device manager?
    image

  • Is there anything at C:\Program Files\VirtualDisplayDriver?

  • Do you see any files/folder/shortcuts at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Virtual Display Driver?

  • Does a regular search in Windows show the shortcut?
    image

  • Any other things to know?

from virtual-display-rs.

MolotovCherry avatar MolotovCherry commented on May 18, 2024

Also, if by any chance all the answers to the above questions are false, then please run the following command in an admin cmd and send me the log file:
msiexec /l*v "install.log" /i virtual-display-driver-0.2.5-x86_64.msi

Please note the log may contain personal information such as file paths. If you are concerned about that, feel free to sanitize the log first.

from virtual-display-rs.

xtay573269555 avatar xtay573269555 commented on May 18, 2024
  1. No error during installation.

  2. There are 3 virtual display adapters because i installed the driver for 3 times.

2023-10-11_09-10-47
  1. The path C:\Program Files\VirtualDisplayDriver does not exist.

  2. No shortcut or folder named or related to Virtual Display Driver.

  3. There is no any shortcut or file named "Virtual Display Driver Control" in the whole PC.

  4. I will try the command msiexec /l*v "install.log" /i virtual-display-driver-0.2.5-x86_64.msi, and paste the log soon.

from virtual-display-rs.

MolotovCherry avatar MolotovCherry commented on May 18, 2024
  1. No error during installation.
  2. There are 3 virtual display adapters because i installed the driver for 3 times.
  3. The path C:\Program Files\VirtualDisplayDriver does not exist.
  4. No shortcut or folder named or related to Virtual Display Driver.
  5. There is no any shortcut or file named "Virtual Display Driver Control" in the whole PC.
  6. I will try the command msiexec /l*v "install.log" /i virtual-display-driver-0.2.5-x86_64.msi, and paste the log soon.

Please follow the instructions here to manually uninstall all "virtual display drivers" (though the fact that it says it's working looks right). Then uninstall the product itself. You can try installation again after.

from virtual-display-rs.

xtay573269555 avatar xtay573269555 commented on May 18, 2024
  1. Sorry for that there was a error during the installation i did not noticed.
2023-10-11_09-24-57
  1. This is the detail log.
    install.log

from virtual-display-rs.

MolotovCherry avatar MolotovCherry commented on May 18, 2024

The cause of your error is this:

DIFXAPP: ERROR: InstallDriverPackages failed with error 0xE0000247
DIFXAPP: RETURN: InstallDriverPackages() 3758096967 (0xE0000247)

It's failing to install the driver. My best guess why this might be happening (assuming you deleted and uninstalled all those drivers first before giving me this log) is because of the certificate might not be installed correctly, so windows refuses to add the driver to the driver store.

Could you also follow this suggestion about nefconc in this comment? The uninstall part specifically.
./nefconc --remove-device-node --hardware-id Root\VirtualDisplayDriver --class-guid 4d36e968-e325-11ce-bfc1-08002be10318

I may have to start thinking of including a portable package with just the exe and driver by itself.

from virtual-display-rs.

MolotovCherry avatar MolotovCherry commented on May 18, 2024

I added a portable package with just the files on their own. Before doing this, the obvious thing is, make sure everything is uninstalled, and no drivers are installed. With my original comment here, you can use pnputil to verify no more exist and delete any if they do.

(All that remains is for the package to actually be built)
Edit: Build is in the queue now

You can install using the install.reg, add certificate (important of course), then go to device manager, click an any item in the list, go to action -> "add legacy hardware"

image

Install hardware that I manually select from a list

image

Next on show all devices

image

Press Have Disk and select the folder containing the driver
image

And finish the process

from virtual-display-rs.

xtay573269555 avatar xtay573269555 commented on May 18, 2024

The last log was generated before uninstall the driver.

This log is generated after i uninstalled the driver, and i checked there is no virtual display adapter in Device Manager.

Here is my step:

  1. run install-cert.bat with admin privileges in right click menu.
  2. run msiexec /l*v "install.log" /i virtual-display-driver-0.2.5-x86_64.msi in windows terminal with admin privileges.
    new_install.log

from virtual-display-rs.

MolotovCherry avatar MolotovCherry commented on May 18, 2024

The last log was generated before uninstall the driver.

This log is generated after i uninstalled the driver, and i checked there is no virtual display adapter in Device Manager.

Here is my step:

  1. run install-cert.bat with admin privileges in right click menu.
  2. run msiexec /l*v "install.log" /i virtual-display-driver-0.2.5-x86_64.msi in windows terminal with admin privileges.
    new_install.log

Looks like the same error. We got a build in the queue now. You can try the steps to manually install it above (should make things simpler)

from virtual-display-rs.

xtay573269555 avatar xtay573269555 commented on May 18, 2024

I can't find the install.reg file. Missing the download link ?

from virtual-display-rs.

MolotovCherry avatar MolotovCherry commented on May 18, 2024

I can't find the install.reg file. Missing the download link ?

The build is in the queue, hold on a moment. It'll be ready shortly

Edit: Go to the releases page now, you will see a portable version zip file
https://github.com/MolotovCherry/virtual-display-rs/releases

If you open the cat file, you should see that it says everything it's valid. If it doesn't say that, then the certificate is not installed properly

image

from virtual-display-rs.

xtay573269555 avatar xtay573269555 commented on May 18, 2024

It seems that the cert was not imported successfully in the previous installation.

I run the command and get the output:

PS C:\Users\zfr\Desktop\virtual-display-driver-x64> certutil -addstore -f root "DriverCertificate.cer"
root "Trusted Root Certification Authorities"
Signature matches Public Key
Certificate "DriverCertificate" added to store.
CertUtil: -addstore command completed successfully.
PS C:\Users\zfr\Desktop\virtual-display-driver-x64> certutil -addstore -f TrustedPublisher "DriverCertificate.cer"
TrustedPublisher "Trusted Publishers"
Signature matches Public Key
Related Certificates:

Exact match:
Element 6:
Serial Number: 0dee6d126821b7456b9f248f3d9b2a
Issuer: CN=DriverCertificate
 NotBefore: 9/14/2023 12:24 AM
 NotAfter: 1/1/2040 7:59 AM
Subject: CN=DriverCertificate
Signature matches Public Key
Root Certificate: Subject matches Issuer
Cert Hash(sha1): 5dfa7e68997ed52d4b10420407860d1c29b6f427

Certificate "DriverCertificate" already in store.
CertUtil: -addstore command completed successfully.

The second command says 'Certificate "DriverCertificate" already in store' because i double click to import the cert file to TrustedPublisher before i run the command.

from virtual-display-rs.

xtay573269555 avatar xtay573269555 commented on May 18, 2024

I added a portable package with just the files on their own. Before doing this, the obvious thing is, make sure everything is uninstalled, and no drivers are installed. With my original comment here, you can use pnputil to verify no more exist and delete any if they do.

(All that remains is for the package to actually be built) Edit: Build is in the queue now

You can install using the install.reg, add certificate (important of course), then go to device manager, click an any item in the list, go to action -> "add legacy hardware"

image

Install hardware that I manually select from a list

image

Next on show all devices

image

Press Have Disk and select the folder containing the driver image

And finish the process

It works. The devices is normal in device manager. Thanks a lot.

from virtual-display-rs.

MolotovCherry avatar MolotovCherry commented on May 18, 2024

Glad to hear it! Enjoy!

from virtual-display-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.