Ok, so it's an MSI thing, thanks Phil!

Still interesting that I don't get any ICE warnings when using [!filekey]
for the shortcut target property, since according to MSDN it should be
treated like [#filekey].

Also happy to learn about [$filekey] to get the directory of the file path
only. That'll come in handy!

// Sascha



On Sat, Apr 19, 2014 at 5:12 PM, Phill Hogland <phogl...@rimage.com> wrote:

> The MSI documentation for 'formatted' strings is here:
> http://msdn.microsoft.com/en-us/library/aa368609(v=vs.85).aspx
>
> If a substring of the form [#filekey] is found, it is replaced by the full
> path of the file, with the value filekey used as a key into the File table.
> The value of [#filekey] remains blank and is not replaced by a path until
> the installer runs the CostInitialize action, FileCost action, and
> CostFinalize action.
>
> If a substring of the form [!filekey] is found, it is replaced by the full
> short path of the file, with the value filekey used as a key into the File
> table.
> This syntax is valid only when used in the Value column of the Registry or
> the IniFile tables. When used in other columns this syntax is treated the
> same as [#filekey] .
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Difference-between-FileId-and-FileId-reference-tp7594213p7594215.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to