Skip to content

Installation

Maxime C. edited this page May 24, 2015 · 21 revisions

Components of the Library

When the installer executes, it will install Dokan file system driver (dokan.sys), register Dokan mount service (mounter.exe) and several libraries. The detailed list of files installed is as follows:

System global

  • SystemFolder\dokan.dll Dokan user mode library
  • SystemFolder\drivers\dokan.sys Dokan File System Driver

Program Files x86 / x64

  • ProgramFilesFolder\Dokan\DokanLibrary\mounter.exe Dokan mounter service
  • ProgramFilesFolder\Dokan\DokanLibrary\dokanctl.exe Dokan control program
  • ProgramFilesFolder\Dokan\DokanLibrary\dokan.lib Dokan import library
  • ProgramFilesFolder\Dokan\DokanLibrary\dokan.h Dokan library header
  • ProgramFilesFolder\Dokan\DokanLibrary\dokanfuse.lib Dokan Fuse static library
  • ProgramFilesFolder\Dokan\DokanLibrary\README.url Dokan documentation link

You can use Add/Remove programs in Control Panel to uninstall Dokan. It is required to restart your computer after uninstallation.

Manual installation

After build, resulting binaries files are located on Win32 and x64 folders.

  • First, copy the driver file dokan.sys to %WINDIR%\system32\drivers. The driver file is specific to a Windows installation, for Windows 8.1 64-bit you will have to copy the file x64\Win8.1Release\dokan.sys for instance.
  • Then copy Dokan Library dokan.dll from x64\Release to %WINDIR%\system32 so it can be called globally by any application (otherwise you will have to put it side-by-side to your application).
  • Move to x64\Release, then install Dokan services with dokanctl.exe /i a. This will install the Dokan driver service and Dokan mounter service ; it is similar to dokanctl.exe /i d and dokanctl.exe /i s.
  • Develop your file system and mount it.