diff --git a/doc/windivert.html b/doc/windivert.html index a03633f..1315b59 100644 --- a/doc/windivert.html +++ b/doc/windivert.html @@ -104,10 +104,8 @@ This will build the following files and place them in the install\WDDK subdirectory:
-Before the WinDivert package can be used, the WinDivert.sys driver -must contain a valid digital signature. -This is Microsoft policy for all kernel drivers in recent versions of -Windows. +Before the WinDivert package can be used, the +WinDivert32.sys/WinDivert64.sys driver +must be digitally signed. See Driver Signing Requirements for Windows for more information.
@@ -164,30 +161,134 @@ This will build MinGW compatible files and place them in theWinDivert does not require any special installation. -Simply place the WinDivert.dll, WinDivert.sys, -WinDivert.inf, and WdfCoInstaller*.dll files in the -application's home directory. +Depending on your target configuration, simply place the following files in +your application's home directory: +
+| +Application Type + | ++Target Windows Type + | ++Files Required + | +
|---|---|---|
| +32-bit + | ++32-bit Windows only + | ++WinDivert.dll (32-bit version) and WinDivert32.sys + | +
| +64-bit + | ++64-bit Windows only + | ++WinDivert.dll (64-bit version) and WinDivert64.sys + | +
| +32-bit + | ++Both 32-bit and 64-bit Windows + | ++WinDivert.dll (32-bit version), WinDivert32.sys, + and WinDivert64.sys + | +
+The WinDivert driver is automatically (and silently) installed on demand +whenever your application calls +WinDivertOpen(). +The calling application must have Administrator privileges.
-The WinDivert driver is automatically installed on demand whenever your -application calls WinDivertOpen(). -The driver installation is also silent. -The calling application must be running with Administrator privileges. +The WinDivert.dll also depends on a C run-time library. +This is not distributed with the WinDivert binaries, and must be +installed/distributed separately if required.
+| +Build/Compiler + | ++C-Runtime Dependency + | ++Installed on Windows by Default? + | +
|---|---|---|
| +WDDK (Windows Driver Kit 7.1) + | ++MSVCRT.dll + | ++Yes + | +
| +MSVC (Visual Studio 2012) + | ++MSVCRT110.dll + | ++No. +Must be installed separately or included with your application. + | +
| +MINGW + | ++MSVCRT.dll + | ++Yes + | +
-To uninstall, simply delete the WinDivert.dll, WinDivert.sys, -WinDivert.inf, and WdfCoInstaller*.dll files. -The WinDivert driver is silently uninstalled when the calling application -terminates or unloads the WinDivert.dll library. -The WinDivert driver can also be removed manually by issuing the following +To uninstall, simply delete the WinDivert.dll, +WinDivert32.sys, and WinDivert64.sys files. +If already running, the WinDivert driver will be automatically +uninstalled during the next machine reboot. +The WinDivert driver can also be manually removed by issuing the following commands at the command prompt
sc stop WinDivert1.1 sc delete WinDivert1.1+Note that this is not recommended as it will interfere with other +applications that depend on WinDivert.