NT Device Drivers
Previous Top Next


Files which are NT Device Drivers are developed using Microsoft's Device Driver Kit (DDK) .

Device drivers cannot be virtualized by Thinstall; they must be extracted or cached to the hard drive before they can be loaded. During calls to CreateService(...) Thinstall will check to see if your application is trying to load a device drive that is included in your package. If so, Thinstall will automatically extract or cache the file to disk depending on the extraction/caching settings.

Example senerio #1:

Input EXE = app1.exe - Normal Windows application
Virtual File = app1.sys - Device driver developed with DDK
Virtual Path = %InstallPath%\app1.sys
Extraction Caching = Extract on Write/memmap (tells Thinstall to save the file to %InstallPath% when CreateService is called on this file)


Example senerio #2:

Global Setting : Cache Directory = %TEMP%

Input EXE = app1.exe - Normal Windows application
Virtual File = app1.sys - Device driver developed with DDK
Virtual Path = %InstallPath%\app1.sys
Extraction Caching = Cache on Write/memmap (tells Thinstall to save the file to %TEMP%\cachename.ths when CreateService is called on this file)

Senerio #2 allows the device drive to be extracted and loaded even when the applicaiton is run from CDROM because the TEMP directory will be located on the hard drive.