Riyaz Mogharabin wrote:
> I have a problem with custom actions, 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 dialog
> to select the installation path again.
>   

You can use the Publish element with an Event of SpawnDialog to pop up 
the error dialog.

> I remember I was once said that I may require a custom action, and that I
> might be able to use the >< operator to check for the space. I have searched
> for the operators, and found nothing useful.
>   

The >< operator looks for a string inside another, so you could use 
'directory >< " "' to see if the directory value contains a space. Use 
that in the body of the Publish element as the condition.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to