|Version 2 (modified by pbatard, 3 years ago) (diff)|
[TODO: organize this stuff]
I get "fatal error RC1050: Cannot open include file 'afxres.h'." when compiling zadig with Visual Studio Express
This is because Visual Studio Express does not officially support MFC application. You can however get zadig compiled if you edit the 'zadig.rc' file and replace the line#include "afxres.h"
with#include <windows.h> #define IDC_STATIC -1
Is it possible to remove the UAC prompt during driver installation?
The UAC prompt end users get on Vista and later versions of Windows comes from the autogenerated inf not being signed by Microsoft. By default, when using an unsigned inf, Windows warns end users that the driver might not be trustworthy. The only way to prevent the security warning is to use an inf and cat file that have gone through Microsoft's WHQL/Windows Logo process.
Why is the driver installation slow?
If you have system restore points enabled (default for most installations), Windows will create a restore point before installing the driver. Depending on the system, this can be a fairly lengthy operation (20 seconds or more) that can not be disabled programmatically.