Hi all,
04.10.2015 7:55, J.F. Oster wrote:
> Hello,
>
> +1
> I proposed the same once but had no feedback.
I'm actually surprised by the very low feedback on the list altogether.
> Nikolai, why doesn't the first version work for you? I have it done similar:
Because if the variable itself contains quotes (and typically it does,
to deal with spaces in paths) then AFAICS command interpreter gets
confused when it sees yet more surrounding quotes in a comparison
operator in a line like you listed below. I'm no expert in cmd.exe
behaviour, but at least on windows xp it caused interpreter errors, so I
just used a simple workaround and it then ran fine.
> if NOT "%WIXDIR%"=="" GOTO WIXDIR_SET
> SET WIXDIR="C:\Program Files (x86)\Windows Installer XML v3\bin"
> :WIXDIR_SET
>
>
Thank you,
Nikolai