inf

How do I use WiX to deploy an INF-based USB driver

This question could be considered a duplicate of: http://stackoverflow.com/questions/677686/how-do-i-deploy-a-inf-based-driver Except that I want to do that entirely in the installer, not with a separate program. There's supposed to be an example downloadable here: http://msdn.microsoft.com/en-us/library/dd163212.aspx But there's no ...

Deploy system DLL inside CAB file

I’m looking for a way to deploy a system DLL within my ActiveX CAB file. CAB cannot update system file and whole installation fails. Perfectly, I would like to copy the DLL into ActiveX installation folder. My best suggestion (I didn’t try it yet) is using INF file hooks with some standalone installer, but I wonder is there another way...

How can I develop windows driver that does not touch hardware?

I need to create a WDM driver that emulates a device that is not present. The driver needs to be loaded when the O/S boots, opened and closed via SetupDiXXX and CreateFile, needs to respond to DeviceIoControl, etc. I have the driver coded, but XP refuses to load it. The system event viewer says: The MyDevice service failed to sta...

Windows Autorun for an HTML file

I have a html file on a flash drive that I would like to autorun in Windows. I have found examples of multiple ways to do this but none of them are working for me. Anyone see what I am doing wrong? This is my latest Attempt: [autorun] icon=data/favicon.ico label=My Project open=ShellRun.exe OPEN-ME.htm This was another attempt: [...

launch exe from inf installation

in my recent project, i have to launch an exe from inf. when my company's device is plugged into win 7 system, PnP service will search device driver from Windows Update Server and install it automatically. on the last step, i must start a app. how can i do that from inf installaton? Please help!!! i tried writing a stub ocx and call shel...

matlab: exp(X) gives inf even though exp(max(X)) does not

Hello, [Edit: The whole thing has a very simple solution: the matrix used the single datatype instead of the default double] I have just noticed a somewhat peculiar (I think) behaviour in matlab and wonder what's causing it. I have a 10000x500 matrix M with values ranging from min(min(M)) = -226.9723 to max(max(M)) = 92.8173 and...

how to register a upper filter driver to all printers class via .inf file (AddReg section)

I have a filter driver (similar to following): NTSTATUS MyFilterFunction ( __in PDEVICE_OBJECT DeviceObject, __in PIRP Irp ){ NTSTATUS status = STATUS_SUCCESS; // do the filtering DbgPrint("Filtering with MyFilterFunction"); return status; } NTSTATUS DriverEntry ( __in PDRIVER_OBJECT DriverObject, __in ...

.inf file AddRegistry section flag meaning (HKR,,"UpperFilters",0x00010008,"upperfilt" ) what does 0x00010008 stand for ?

At MSDN Installing a Filter Driver there is a sample file given (reproduced lower). In the [upperfilter_addreg] section there is the registry line HKR,,"UpperFilters",0x00010008,"upperfilt". What is the meaning of the 0x00010008 flag ? Note that this file is meant to install an Upper Filter Driver. Thank you microsoft for your great...