dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.2k stars 661 forks source link

Failed to uninstall Dokany #1100

Closed leochou0729 closed 2 years ago

leochou0729 commented 2 years ago

Hello, I installed Dokany a couple of months ago. When I try to uninstall it today, it just fails with this log file. Dokan_Library_1.4.1.1000_Bundle_20220727170730.log Does anyone know what the reason is? Is there any way to clean up the old version? Thanks!

Leo

Liryna commented 2 years ago

Hi @leochou0729 ,

Could you share all the Dokan logs you can find in C:\Users\YOUR_USER\AppData\Local\Temp ? The one you included does not provide the exact reason of the failure.

leochou0729 commented 2 years ago

These are all the logs. Thanks! Dokan_Library_1.4.1.1000_Bundle_20220727170521_000_Dokan_x64.msi.log Dokan_Library_1.4.1.1000_Bundle_20220727170521.log Dokan_Library_1.4.1.1000_Bundle_20220727170730_000_Dokan_x64.msi.log Dokan_Library_1.4.1.1000_Bundle_20220727170730.log

js69 commented 2 years ago

ExecuteUninstall: InstallDokanctlPath="C:\Program Files\Dokan\Dokan Library-1.4.1\dokanctl.exe /r n" ExecuteUninstall: Create redirect pipe. ExecuteUninstall: CreateProcess dokanctl. ExecuteUninstall: CreateProcess failed ExecuteUninstall: Error 0x80004004: StartDokanCtlProcess failed

It failed to execute dokanctl.exe for some reason. Does "C:\Program Files\Dokan\Dokan Library-1.4.1\dokanctl.exe" exist on that system?

leochou0729 commented 2 years ago

The installation folder doesn't exist now. I have no idea what prevents me from installing new versions on my computer. Thanks!

js69 commented 2 years ago

Folder and files were not removed by the uninstall process. Somebody or something else must have manipulated your system then.

Liryna commented 2 years ago

@leochou0729 you could try to download the zip file of this release version on GitHub and restore manually that file to see if it allows the uninstall to continue.

Otherwise you will need to use a Microsoft tool to force the cleanup of the remaining information. And for the driver, you will need to uninstall it with dokanctl manually: dokanctl /r d And reboot to delete the dokan1.sys file

Liryna commented 2 years ago

@leochou0729 do you need further help on this ?