What about packing the driver into the SFX PCHelpware_server.exe
and load it dynamically
if requested ?
As long as the PCHW Server is running with Admin Privileges it would be possible to dynamically load the driver and unload/delete it after the session is finished.
) is an excellent sample which does exactly this. ZERO Installation needed. The EXE
simply loads the truecrypt.sys
on demand from of your USB stick if you like.
I mean we could add an additional parameter to the viewer such as
[x] Try loading mirror driver
So server would try to load the driver. If not possible due to missing admin privileges or because running on Windows 98 just go ahead as usual.
This would really be a nice feature but I am aware that it needs some tricky code writing and dynamic binding of API functions as they may not exist on Windows 9X.
There is a nice and small C++ class for this on www.codeproject.com
Source code of TrueCrypt has code for dyn. load of drivers in it.
It is more basic (non-C++) but harder to understand.