If you want just the file name, I think you'd need to write a custom action
to get that.  Why are you interested in just the file name of a particular
file?

Nicholas

On 27 October 2014 13:32, soldag <soeren_ol...@freenet.de> wrote:

> Hello,
>
> I am currently working on an installer for my software using the WiX
> toolset. Today I faced the problem of getting only the name of an file. In
> the main file I include another .wxs file, which is harvested automatically
> and defines the files of the application. In this main file I want to get
> the file name of a file referenced in the included file. I know, that
>
> [#FILE-ID]
>
> returns the full path to the file with the specific id, but how can I get
> only the file name?
>
> Is there an similar opportunity or are there any substring operations in
> Wix? I did not find any solution in the internet yet and hope, you can help
> me.
>
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-only-the-name-of-a-file-by-its-id-tp7597508.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to