If the issue is a registry key or something that includes the file path, you could use the property [!filename] to get the short filename of "filename" and write that to the registry. See http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx for more information on the formatted text type.
However this sounds like a problem that needs to be resolved in the application, not in setup. The only solution would be to write a custom action to perform the check, in which case chances are that you'll be writing more code than a developer would to fix the bug in the first place :) Sascha On Tue, Mar 2, 2010 at 5:41 PM, S.P <iraniangirl9...@yahoo.com> wrote: > Dear All,I have a problem with publish element, which couldn’t find its > solution. One of the files which is going to be installed on the target > machine can not work if there is a space in the path, so I need to check the > install path to ensure there is no space in it. I need to show a custom > warning dialog to the user if he use an install path with space, and return > to the last dialogto select the installation path again.How should I write > this publish element to check the space in path? Thanks everyone in advance > > > > Get your new Email address! > Grab the Email name you've always wanted before someone else does! > http://mail.promotions.yahoo.com/newdomains/aa/ > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users