Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dokany issues and other apps
#1
As someone that likes to experiment I'm exploring the use of 
cppcryptfs (an encryption file/folder app)

This app needs dokany as used by HBS.
I certainly don't want to mess up my great installation of HBS
but I'm unavailable to do an install of an updated dokany
to work with  cppcryptfs since the installation identifies
the driver as already installed.

I know this is not strictly an HBS issue but if anyone has some ideas
I would appreciate it.

JayDee
Reply
#2
It seems that the version installed by HBS is an older one (v2.1.0 vs. newest v2.3.1).

What you can do, I tried this myself, is to uninstall the driver currently installed by HBS:
- Open a cmd prompt with admin rights
- Put in sc stop dokan2, then sc delete dokan2
- After that a Windows restart is needed for the driver to be fully unloaded

Now you will be able to install DokanSetup.exe with the latest version. This will also recreate your Dokan driver in Windows.
cppcryptfs.exe should be working now because you have installed the latest Dokan driver.

HBS also still works as far as I can tell. HBS only needs this driver for image mounting. And this feature fully worked in my tests. Also, reinstalling HBS and rebooting Windows had no effect on the current installed Dokan driver, cppcryptfs.exe still worked after that.

@admin: In fact: HBS also worked when uninstalling Dokan completely. Even after using the commands above to fully unload the driver and after a Windows restart, HBS still had no problem to mount images. Could it be that the installation of the Dokan driver is not needed for HBS to work properly because of the driver files already being present in the installation directory of HBS? Maybe this driver installation step could be left out during HBS installation then? Maybe worth a look Big Grin
Reply
#3
Dear All,

Hasleo Backup Suite only uses Dokan to mount file backup images (disk backup uses a different driver), so uninstalling the Dokan driver will not cause the program to malfunction. The only issue is that you won't be able to properly mount file system backup images.

Therefore, installing a new version of Dokan will not cause HBS to malfunction either. If the newly installed Dokan driver is incompatible with HBS, at most it will prevent Hasleo Backup Suite from properly mounting file system backup images.

By the way, we will upgrade Dokan to the latest version as soon as possible.

Best regards,
Reply
#4
Ah, thanks for clearing that up! That explains why my partition image backups weren’t affected by this.
Reply
#5
Btw, while experimenting with Dokan and uninstalling/reinstalling HBS, I just realized that after a complete uninstall of HBS the following 2 drivers are kept installed:

Code:
==================================================
Name              : hasldisk
Display Name      : Hasleo Virtual Disk Driver
Status            : Started
Startup Type      : Automatic
ErrorControl      : Ignore
File Description  : HasleoDisk Virtual Disk Driver
File Version      : 2.1.1.65
Company           : Olof Lagerkvist
Product Name      : hasldisk
Description       : Disk Emulation Driver
Filename          : C:\WINDOWS\system32\drivers\hasldisk.sys
Command-Line      : System32\drivers\hasldisk.sys
==================================================

==================================================
Name              : Dokan2
Display Name      : Dokan2 Userspace Filesystem Driver
Status            : Started
Startup Type      : Automatic
ErrorControl      : Ignore
File Description  : Dokan Driver
File Version      : 2.1.0.1000
Company           : Dokan Project
Product Name      : Dokan
Description       : File System Driver
Filename          : C:\WINDOWS\system32\drivers\dokan2.sys
Command-Line      : System32\drivers\dokan2.sys
==================================================

Shouldn't those be removed again when uninstalling HBS?

I can see that this might be a problem with Dokan as that could be used by other projects, too. But maybe there's a method to determine if that driver is still in use? Or HBS could remember if the driver was initially installed (or already present) during HBS setup.

Another idea:
HBS could hold back with the driver installation and install drivers on first usage (disk/file mount). And there could be a button in the "Tools" section to remove/reinstall drivers.
Reply
#6
@al3x

Thanks for the help! I'm now successfully(?) experimenting.
Thanks,
JayDee
Reply


Forum Jump:


Users browsing this thread: Iceni, 2 Guest(s)