Thanks for the reply it helped me alot :) Yes I know I should not copy the driver directly to the drivers folder. However I have been issued a driver which the program must load (and unload) on demand, not the nicest solution but I have not been given much choice :(.
Also I got a direct mail which also helped me. I was told that I had put the code in the wrong place in the Xml (I had put it inside TARGETDIR declaration). The code should go directly into the <Product></Product> node... Stefan Pavlik-2 wrote: > > Hi,... > > I was using following code to install the driver into > system32\drivers folder adn it was working OK. > > <Directory Id='SystemFolder' Name='.' SourceName='.' > > <Directory Id='SystemDriversDir' Name='DRIVERS' LongName='drivers'> > <Component Id='C__Driver' Guid='GUID' > > <File Id='PCASp50_sys' Name='PCASp50.sys' Checksum='yes' > DiskId='1' KeyPath='yes'/> > </Component> > </Directory> > </Directory> > > Anyway you should not copy the sys file directly to system32\drivers > folder. You should use the inf file to install the driver correctly. > > regards > > > Stefan > > -- View this message in context: http://www.nabble.com/Installing-to-SystemFolder%5CDrivers-tf4391170.html#a12537164 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users