Dynamic naming directories

2 messages Options Options
Embed this Post
Permalink
Perrone, Patrick

Dynamic naming directories

Reply Threaded MoreMore options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hi all,

 

I’m very new to WiX. So far I really like what I see, but I was wondering if it is possible to dynamically create directory names based on properties of the file to be installed inside of the directory. An example of a directory name might be: <file version>_<culture_info>_<public_key_blob>.

 

Patrick

------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This message is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential or exempt from disclosure
by law. If the reader of this message is not the intended recipient, or
the employee or agent responsible for delivering the message to the
intended recipient, you are hereby notified that you are strictly
prohibited from printing, storing, disseminating, distributing or
copying this message. If you have received this message in error,
please notify us immediately by replying to the message and deleting it
from your computer. Neither this information block, the typed name of
the sender, nor anything else in this message is intended to constitute
an electronic signature, unless a specific statement to the contrary is
included in this message. Thank you, Antares Management Solutions.
==============================================================================

Rob Hamflett

Re: Dynamic naming directories

Reply Threaded MoreMore options
Print post
Permalink
You can use a Custom Action to set a directory location.  Use the value attribute for the new
location and the directory name in either the property or directory attribute.  You can't make a
directory name change dynamically, so you'll have to work out what you want the name to be, then set
its value.

Rob

Perrone, Patrick wrote:

> Hi all,
>
>  
>
> I’m very new to WiX. So far I really like what I see, but I was
> wondering if it is possible to dynamically create directory names based
> on properties of the file to be installed inside of the directory. An
> example of a directory name might be: <file
> version>_<culture_info>_<public_key_blob>.
>
>  
>
> Patrick
>
> ------------------------------------------------------------------------------
> CONFIDENTIALITY NOTICE: This message is intended only for the use of
> the individual or entity to which it is addressed and may contain
> information that is privileged, confidential or exempt from disclosure
> by law. If the reader of this message is not the intended recipient, or
> the employee or agent responsible for delivering the message to the
> intended recipient, you are hereby notified that you are strictly
> prohibited from printing, storing, disseminating, distributing or
> copying this message. If you have received this message in error,
> please notify us immediately by replying to the message and deleting it
> from your computer. Neither this information block, the typed name of
> the sender, nor anything else in this message is intended to constitute
> an electronic signature, unless a specific statement to the contrary is
> included in this message. Thank you, Antares Management Solutions.
> ==============================================================================
>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@...
https://lists.sourceforge.net/lists/listinfo/wix-users