I have a deferred custom action that works from a configuration file on
disk. At present I am installing the configuration file along with all
my other files and passing the file path to the custom action (from
where it is read in). I currently haven't got scope to change the custom
action.
 
However I was wondering whether it is possible to embed the config file
in the binary table. I'm not sure how this stuff works, do the binary
elements automatically get written to some temp location by the
installer ? and therefore could I reference the path to the temp file in
a propery, or would I need to write the temp file as part of another
custom action and then set the property value (which I think is probably
the case) ? 
 
Ideally I would like to pass the path as follows:
 
<CustomAction Id="CASetProperty" Return="check" Property="CAProp"
Value="[PathToConfigFile]" />
 
What are the options for achieving this?
 
 

.
--------------------------------------------------------------------------------------------------------------------

HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==============================================================================
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to