Re: [WiX-users] Installing to SystemFolder\Drivers

2007-09-07 Thread Principher

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


[WiX-users] Installing to SystemFolder\Drivers

2007-09-06 Thread Principher

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


Re: [WiX-users] Installing to SystemFolder\Drivers

2007-09-06 Thread Stefan Pavlik
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