|
-
July 9th, 2010, 11:27 AM
#1
Problem with USB class class installers and/or co-installers under Wind
Class installer code works with Vista and Windows XP. Not Windows 7.
Call to SetupDiGetDeviceInstanceId fails (bad parameter) when invoked when processing DIF_DESTROYPRIVATEDATA (curious implementation, I did not write this). Attempting to trace with message boxes hangs the installer.
I experimented with a call to SetupDiGetDeviceInstanceId when processing DIF_NEWDEVICEWIZARD_FINISHINSTALL hangs the installation (consistant with message boxes). Forcing asserts does not invoke the debugger.
-
July 15th, 2010, 11:09 AM
#2
Re: Problem with USB class class installers and/or co-installers under Wind
Re-working to model after the example code at:
http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx
I can get the auto-configuration dialog to display.
Dialogs must be displayed when processing
DIF_FINISHINSTALL_ACTION
DI_FLAGSEX_FINISHINSTALL_ACTION flag must be assigned as in example when processing
DIF_NEWDEVICEWIZARD_FINISHINSTALL
#define _SETUPAPI_VER _WIN32_WINNT_LONGHORN
just ahead of
#include <setupapi.h>
to get DI_FLAGSEX_FINISHINSTALL_ACTION defined
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|