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.
-- 
View this message in context: 
http://www.nabble.com/Installing-to-SystemFolder%5CDrivers-tf4391170.html#a12519647
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

Reply via email to