Hi all,

I'm trying to make my WIX installer change the TARGETDIR at install time based 
on the configuration of the computer.  Basically, it's a silent installer, and 
if the computer has an 'e:' drive, it should install there; if not, it should 
install to 'd:\data'.

I've written the VBScript, wrapped it in a custom action, and I've even set the 
custom action to run after InstallInitialize.  However, I'm new to WIX, and the 
only examples I can find of running custom actions don't appear to edit 
Properties like TARGETDIR.  How can I edit the property from within the script 
so that I can effectively alter the install path at runtime?

Or, if scripting this in a custom action isn't the best way to go, what is?

Thanks in advance,
Patrick
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to