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



Principher wrote:
> I am trying to install a file into the C:\Windows\System32\Drivers folder,
> but cannot figure out how to do it. I have no problem getting the file
> installed into the SystemFolder (System32) but moving on to Drivers
> subfolder is giving me trouble :( The code I have tried is the following:
> 
> <Directory Id='SystemFolder'>
>   <Directory Id='Dr' Name='Drivers'>
>     <Component Id='MD' Guid='1C35B99F-B693-4c1a-A7B5-465D2AEEDC0D'>
>       <File Id="Porttalk" Name="myDriver.sys" Vital="yes"/>
>     </Component>
>   </Directory>
> </Directory>
> 
> This results in the destination folder becoming C:\Windows\System32, however
> the Drivers part is added to the source dir... I am sure there is something
> fundamental I am doing wrong, but what?
> 
> I cannot use the INSTALLLOCATION folder for the Drivers folder, since I am
> using it for installing other files.
> 
> And yes, I am very new to WiX. I like it very much, really great tool, if
> only I could figure out all the neat features it has :). Oh and just so you
> do not tell me to use descriptive IDs rather than those two letter ones, I
> am doing that already I just didn't feel like typing them in the example.

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-------------------------------------------------------------------------
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

Reply via email to