Rob's suggestion is if you want to get info about the system so you can change 
properties in your 
installation at runtime.  It sounds though, like you want to get the 
information about the current 
state of the installer.  Directory IDs can be treated the same as properties, 
so you can get the 
full path of a folder using [FOLDER_ID].  You will probably need to make them 
upper case so they get 
passed to the server side properly.  If you want the full path to a file it's 
[#fileid].

Rob

Rob Mensching wrote:
> RegistrySearch, DirectorySearch or ComponentSearch seems like it'll do what 
> you want.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Greenberg
> Sent: Thursday, August 16, 2007 7:48 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Dynamically grab directory value
> 
> Hello,
> 
> I need to store the path of a particular file in the registry.  I'd like to 
> be able to use a variable or property of some kind of to populate the 
> registry value.  Is there a way I can get the path of a WiX <Directory> 
> element, or the path of a particular component, so that it is generated a 
> runtime?
> 
> Thanks,
> Ben
> 
> 
> -------------------------------------------------------------------------
> 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
> 
> -------------------------------------------------------------------------
> 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/


-------------------------------------------------------------------------
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