Hi Chesong, thanks for the link. From the FAQ: " Does the message cautioning that the hardware is unplugged at the end of the install actually scan for Hardware IDs? Or does this message just assume that the hardware isn't plugged in because a "software first" install has just completed?
DIFxApp checks to determine whether or not the hardware is connected. " Not much to handle here. I think I will opt for a custom action. The logs generated by MSIEXEC after the Device Manager detected the hardware as "Other Device" show an extra call: DIFXAPP: INFO: ENTER UpdateDriverForPlugAndPlayDevices... MSI (s) (74!D0) [14:17:28:906]: Closing MSIHANDLE (128) of type 790531 for thread 1488 MSI (s) (74!D0) [14:17:33:703]: Creating MSIHANDLE (129) of type 790531 for thread 1488 DIFXAPP: SUCCESS:RETURN UpdateDriverForPlugAndPlayDevices. Maybe I can find the exact SetupAPI function which does a Hardware Scan before installing - the obvious candidate is the function above, but I need more info. Other driver installers like the Intel Ethernet Controller scan before installing - it uses InstallShield though. Best regards, Calin Chesong Lee wrote: > Take a look at DIFx > (http://www.microsoft.com/whdc/driver/install/DIFxFAQ.mspx) if it can help > you. > Otherwise, you may have to create your own custom actions to force such > actions using SetupDi APIs. > Consult devcon samples in DDK as a reference. > > Regards, > > Chesong Lee > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Calin Iaru > Sent: Thursday, July 27, 2006 1:37 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Device scan before install > > Hi List, > > given the scenario below, I would like to know how to force a device > scan before installing > a driver: > Device Manager shows "Other Device" detected > The drivers are installed > The drivers are uninstalled > The device entry disappears from Device Manager, but there is no "Other > Device" section > Install the drivers again > A prompt message appears saying > "Please attach your device to this computer any time after the > installation has finished" > Device Manager does not show any entry for the device > > So the problem is that install/uninstall/install driver will not detect > the device on the second > install. > > Best regards, > Calin > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users