I've got a setup with 2 features,  and option is  "run from source"
and corresponding component also set "Run from source."

Component Id="Component_one" Guid ="ABA305CB-4C75-4a64-9963-115C2B1E82D8"
DiskId="1"  Location="source">

            <File Id="textfileid" Name="ReadMe.txt"  DiskId="1"
Source="E:\Drive E\JANUARY01012009\220109\Meeting
Sample\WixProjectFive\Files\ReadMe.txt" Vital="yes">
            </File>


Feature Id="ProductFeature_one" Title="WixProjectFive_FeatureOne" Level="1"
InstallDefault="source" >
              <ComponentRef Id="Component_one"/>

     </Feature>

to run it from the source the files are actually installed locally.

So two questions:

1. How can I make a feature offer the option to run from source (or prevent
a feature from doing so)?

2. Why does it still install the feature locally? Is it because the default
destination is <INSTALLDIR>? Do I need to set the destination to some other
property which is set to INSTALLDIR initially? If I do that then how do I
keep the other propery in synch with INSTALLDIR when the user actually does
want to install locally?
please help with example...
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to