Hi,

I have a driver file mydriver.sys which will be installed to 
c:\windows\system32. What I am doing is:

Step 1: install mydriver.sys to c:\program files\myapp;
Step 2: a custom action install this driver file to c:\windows\systems.

Therefore, after installation, mydriver.sys exists in two locations mentioned 
above, which is confusing.

I want to remove the one in c:\program files\myapp to clear the confusion. 
Candidate solutions include:

Solution 1: make this file hidden in step 1.
Solution 2: after Step 2, use a custom action to delete this file under 
%PROGRAMFILES%.
Solution 3: Do not install this file in Step 1 at all. Instead, just extract it 
to the temporary file extraction directory, and the driver installation custom 
action directly installs this driver file from the temporary extraction 
directory. After installation, this driver file is deleted together with the 
temporary extraction directory.

To me solution 3 is cleaner than 1 and 2. But is it possible? For example, is 
it possible to pack a file and extract it to temporary directory but not 
install it? Is it possible to access the temporary directory directly from a 
custom action?

I know solution 3 may go into the wild a little but am interested having some 
discussion.

Appreciate any insight.


Thanks
Lian






------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to