Hello, Let me explain my scenario.
During the installation of my product, i need to install print drivers. We make use of printui.dll to install the print drivers. The driver package consists of an .inf file, .cat file and the files referenced in the .cat. Here is my scenario: -I install v 1.0 of my print drivers. Everything works fine. -Down the line, there is an update to the print drivers. As part of the update, the print driver package now consists of some additional files. The corresponding .inf and .cat file have been updated. The .inf has references to these new files which have been made part of the driver package. When i make use of printui.dll to install the printers, instead of updating the existing print drivers, it installs the updated printers side by side. I can confirm this in the following ways: -A new oem#.inf file is generated under C:\windows\inf for the newer version of the print drivers. The oem#.inf file for the older version of the print drivers also exists. -The updated printer files are copied under C:\Windows\System32\DriverStore\FileRepository\<printer driver file folder V2> I also see the older version of printer driver files under C:\Windows\System32\DriverStore\FileRepository\<printer driver file folder V1> -When i try adding a new printer using the "Add Printer" wizard in Windows, i see two versions of printer drivers listed. Questions: -Is there a way to force the existing printer driver to be updated with the newer version rather than having the two version of printer drivers exist side by side? -Before updating the print drivers, is it necessary to delete the print drivers and then install them fresh? The command used to install the print drivers is : rundll32.exe printui.dll,PrintUIEntry /ia /m "<Name of the printer>" /f "<path to driver .inf>" The command used to delete the print drivers is: rundll32.exe printui.dll,PrintUIEntry /dd /m "<Name of the printer>" /f "<path to driver .inf>" Any assistance would be very much appreciated. Thanks, -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Strange-problem-with-printer-driver-installation-tp7591538.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users