Giter Club home page Giter Club logo

Comments (15)

Liryna avatar Liryna commented on June 16, 2024

Hi,

I already had such behaviour too.
Does it work If you use the dokanctl to reinstall the driver & service ?
Have you run the install in Administrator ?

from dokany.

suy avatar suy commented on June 16, 2024

El Tuesday 30 June 2015, Liryna escribió:

I already had such behaviour too.
Does it work If you use the dokanctl to reinstall the driver & service ?

I'll try ASAP. I tried to uninstall and install again, but same result.

On that note: dokanctl is a really small application that calls some functions
that are available in the library, but have no public header (are in
dokanc.h). The DokanService* functions might be useful for application
developers, e.g. for their own installers. Do you have an opinion about those?

Otherwise I'll maybe launch the process from my application, if that's going
to fix it.

Have you run the install in Administrator ?

Not explicitly. I thought it would ask for Administrator rights if needed.

Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net

from dokany.

Liryna avatar Liryna commented on June 16, 2024

On that note: dokanctl is a really small application that calls some functions that are available in the library, but have no public header (are in dokanc.h). The DokanService* functions might be useful for application developers, e.g. for their own installers. Do you have an opinion about those?

Export DokanService functions can be a good idea for people who need it.

Not explicitly. I thought it would ask for Administrator rights if needed.

Sorry, I made a mistake. Yes normally it should always ask you the admin rights.

I made a test again and the driver and services was not installed because the Packages redistribuables Visual C++ 2013 was not installed. The installation was alright but dokanctl command failed in silence.
Do you think it could be the same case as you ?

from dokany.

suy avatar suy commented on June 16, 2024

Yes! That could be the case indeed. On my machine it has worked well always, but not on machines with less (development) things installed.

I'm also trying to run dokanctl commands in the machine where everything else is working, and those fail... sometimes. E.g., on a recently rebooted system, I try my app and works. Then run dokanctl /r a and uninstalls everything. Then dokanctl /i a and only installs the mounter but not the driver. Reboot, and run dokanctl /i d to install the driver. The message says it has failed, but the file system application works again.

I'll try to see if I can reproduce it properly. Please, let me know if you know more details.

And thank you.

from dokany.

Liryna avatar Liryna commented on June 16, 2024

:O
Yes, if you can have some more details about it ! it is a strange behaviour that you describe.

from dokany.

suy avatar suy commented on June 16, 2024

For now I can confirm that on one computer the installation fails. When dokanctl /i a runs, Windows complains that it "failed" or "closed" (I don't know the original message, that copy is localized in Spanish), and the installer shows that it returned with exit 255. It complained about the lack of a MSVC DLL, so you were right about that.

from dokany.

marinkobabic avatar marinkobabic commented on June 16, 2024

The next time you have this issue please execute inside of the command prompt

NET START Dokan

And check if the application works.

from dokany.

suy avatar suy commented on June 16, 2024

@marinkobabic Thank you for the hint, I was not aware of that. I was going to implement myself the DokanServiceInstall. I get "the service name is not valid" error, though. :-( With dokan.sys being there.

I'll try to install the services from my own application and try to find the exact place were it fails. Let me know if there is more information I can provide.

Thanks!

PS: I'll rename the issue. At this point is clear that it's a driver/service installation issue.

from dokany.

suy avatar suy commented on June 16, 2024

Phew, confirmed, in the other troubled system the problem (and the fix) was the same. :) I'll leave it open, but feel free to close if you think it's right. It's a problem with the installer only, after all.

from dokany.

suy avatar suy commented on June 16, 2024

Oops, wrong button. Sorry for the noise. And thank you.

from dokany.

Liryna avatar Liryna commented on June 16, 2024

Ok great ! I will close it so 👍

from dokany.

marinkobabic avatar marinkobabic commented on June 16, 2024

@suy
You don't need to write any installer for tests. Just download this driver and perform the test again and let me know if all works as expected. Before you do that, remove the previous driver. For installation just right mouse click on inf file and select install. Reboot the machine and check if all works. It's the simplest way to install the driver.

from dokany.

marinkobabic avatar marinkobabic commented on June 16, 2024

@suy
Is the machine Windows 7. If the answer is yes, so try to install the following hotfix

https://www.microsoft.com/en-us/download/details.aspx?id=46148

from dokany.

suy avatar suy commented on June 16, 2024

@marinkobabic Thanks for your help! Respect the driver: as I understand it, we never had an issue with the driver by itself, it's just that dokanctl failed to do the CreateService call to install it. In the second machine where I had the issue, yes, it was Windows 7, and putting the library there fixed it. Since we'll have to ship it anyway alongside our executable, it's fine.

from dokany.

Maxhy avatar Maxhy commented on June 16, 2024

Ok to warn for this issue I just pushed commit a4762f4 which do VC++ 2013 prerequisite check at installation and ask to open Microsoft download page if missing (no check done in silent mode).

from dokany.

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.