Hi,
I have a custom action - executable that is run with 2 arguments. Both of the arguments are paths to some directories. Arguments are parsed by space character, so problem occurs when path contains space characters. To make sure that path is not parsed when containing spaces, Quotes(") can be added :
run.exe "C:\Program Files\My Application" "D:\Installation Dir"
this way, run will correctly recognize two parameters. This looks in custom action arguments like this:
"[SourceDir]" "[DESTINATION_DIRECTORY]" . But for some reason, advanced installer messes up the Quotes and sends following arguments:
C:\Program Files\My Application" ; D:\Installation Dir"
if there is only one expression with quotes, everything runs good.
Is this a bug?
Is there a workaround?
thanx
FOLLOW US
Get the latest news in Application Packaging