Installation

Liryna edited this page Nov 12, 2017 · 16 revisions

Choose a version

Recommended version is the latest release. This version is working on Windows 10, Windows 8.1, Windows 8, Windows 7, and related server editions.

Be aware that versions >= 0.8.0 are incompatible with previous ones. Concretely, it means that if you attempt to use latest releases with an user file system driver that it is not aware of it, it will fail. For those oldies, please use these versions:

  • 0.7.4 for Windows 10, Windows 8.1, Windows 8 and Windows 7
  • 0.6.0 for Windows Vista and Windows XP

Components of the Library

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

System global

  • SystemFolder\dokan1.dll Dokan user mode library
  • SystemFolder\dokannp1.dll Dokan Network Provider
  • SystemFolder\drivers\dokan1.sys Dokan File System Driver

Program Files x86 / x64

  • ProgramFilesFolder\Dokan\DokanLibrary\dokanctl.exe Dokan control program
  • ProgramFilesFolder\Dokan\DokanLibrary\dokan1.lib Dokan import library
  • ProgramFilesFolder\Dokan\DokanLibrary\dokan.h Dokan library header
  • ProgramFilesFolder\Dokan\DokanLibrary\dokanfuse1.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\dokan1.sys for instance.
  • Then copy Dokan Library dokan.dll and Dokan Network Provider dokannp1.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).
  • To run dokan, you will need Packages redistribuables Visual C++. If you have build with Visual Studio 2017, you can download it here.
  • Move to x64\Release, then install Dokan driver with dokanctl.exe /i d and Dokan network provider with dokanctl.exe /i n if you want to mount network drive.
  • Develop your file system and mount it.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.