[wpkg-users] More java8 weakness... WARNING! TYPO!

Stefan Pendl stefan.pendl.71 at gmail.com
Tue Mar 24 18:28:48 CET 2015


Am 24.03.2015 um 16:35 schrieb Marco Gaiarin:
>> Ok, done some more test. Attached my recipe, sorry for italian
>> comments. ;(
> Sorry, i've added a typo and the recipe fail for new installation.
>
> The 2 lines:
>
> 	<install cmd='%COMSPEC% /c if not exist "%ProgramData%\Oracle\Java\java.settings.cfg" echo . > "%ProgramData%\Oracle\Java\java.settings.cfg"' />
>
> have to be translated to:
>
> 	<install cmd='%COMSPEC% /c if not exist "%ProgramData%\Oracle\Java\java.settings.cfg" echo( > "%ProgramData%\Oracle\Java\java.settings.cfg"' />
>
> (because 'echo .' is not 'echo.', and 'echo(' is better ;).
>
> With a dot in file '%ProgramData%\Oracle\Java\java.settings.cfg' the
> installer exit with error '-80'.
>
>
> Sorry. ;(
>

To get an empty file I usually do "type nul >%FileName%".
"echo." adds at least one CrLf.

I also don't like the missing closing brace, which might cause other 
problems, we currently don't know of.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




More information about the wpkg-users mailing list