Comments (15)
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.
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.
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.
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.
:O
Yes, if you can have some more details about it ! it is a strange behaviour that you describe.
from dokany.
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.
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.
@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.
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.
Oops, wrong button. Sorry for the noise. And thank you.
from dokany.
Ok great ! I will close it so 👍
from dokany.
@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.
@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.
@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.
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)
- Kernel - DokanGlobal->MountPointList items access isn't safe
- [Question] Too many Guid keys in MountPoint2
- [QUESTION] cannot access the network mapped drive remotely.
- Kernel - Allow passing the session information for the targeted mount
- How to safely remove ISO mount? HOT 4
- There is no certificate in dokan2.sys for version 2.1.0.1000. HOT 2
- Error Installing version 2.1.0.1000 HOT 17
- Error Uninstalling Dokan Library 1.5.1.1000 Bundle (0x80070643) HOT 3
- Possibility to increase thread count & change DOKAN_OPTION_ALLOW_IPC_BATCHING? (FUSE) HOT 10
- some doubts in dokanfuse HOT 2
- 2.1.0.1000 on Windows 11 hangs Windows Explorer in single thread mode HOT 2
- Stdout not working anymore after fuse_main invocation HOT 2
- `DokanInstanceBuilder.Build` returns before file system is ready HOT 1
- Compatibility with Rising antivirus software HOT 8
- unstable on windews : ceph::buffer::v15_2_0::bad_alloc: Bad allocation [buffer:1] HOT 1
- GetFileInformation Not Called by FileDateTime in VB6 HOT 2
- When is ReadFile() called? HOT 1
- There are some errors when test memfs with winfstest HOT 2
- Dokan2 driver fails to install on Windows 10 HOT 2
- Library - Fail mount with DOKAN_OPTION_CURRENT_SESSION and mount point path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokany.