[erlang-questions] C:\Program Files\erlx.x.x\bin - yes or no?

879 views
Skip to first unread message

Simon MacMullen

unread,
Sep 17, 2012, 6:43:41 AM9/17/12
to erlang-q...@erlang.org
When I install the 32 bit version of R15B02 on Windows, I get two
directories:

C:\Program Files\erl5.9.2\bin
C:\Program Files\erl5.9.2\erts-5.9.2\bin

both containing erl.exe, etc.

However, when I install the 64 bit version, I only get the latter one.
This is somewhat annoying, since the registry key:

HKLM\SOFTWARE\Ericsson\Erlang\5.9.2

points to C:\Program Files\erl5.9.2. We've been assuming (in the
RabbitMQ Windows installer) that we can just stick a "\bin" on the end
of that and find erl.exe.

So is this a mistake in the build of the 64 bit binary, is there some
subtlety that I'm not understanding, or what? How should I locate erl.exe?

Cheers, Simon

--
Simon MacMullen
RabbitMQ, VMware
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Lukas Larsson

unread,
Sep 17, 2012, 7:22:56 AM9/17/12
to Simon MacMullen, erlang-q...@erlang.org
hmm, I just did a test install on windows 7 of win64[1] and it
correctly put an erl.exe in the C:\Program Files\erl5.9.2\bin folder.

What version of Windows are you testing on?

Lukas

[1]: http://www.erlang.org/download/otp_win64_R15B02.exe

Simon MacMullen

unread,
Sep 17, 2012, 9:34:02 AM9/17/12
to Lukas Larsson, erlang-q...@erlang.org
On 17/09/12 12:22, Lukas Larsson wrote:
> hmm, I just did a test install on windows 7 of win64[1] and it
> correctly put an erl.exe in the C:\Program Files\erl5.9.2\bin folder.
>
> What version of Windows are you testing on?

Windows 7. "Enterprise Edition", local Administrator user. I tried the
win64 and win32 versions several times, and each time I did not get
C:\Program Files\erl5.9.2\bin from win64.

I swear I am not making this up.

Lukas Larsson

unread,
Sep 17, 2012, 12:25:04 PM9/17/12
to Simon MacMullen, Erlang Questions
Very strange, have you tried running Install.exe manually in cmd? It
should be in the erlang root folder, if it isn't could you please send
me (off list) the install log?

Lukas

Simon MacMullen

unread,
Sep 18, 2012, 6:02:34 AM9/18/12
to Lukas Larsson, Erlang Questions
On 17/09/12 17:25, Lukas Larsson wrote:
> have you tried running Install.exe manually in cmd?

"The program can't start because MSVCR100.dll is missing from your
computer. Try reinstalling the program to fix this problem."

So we have a culprit.

I guess this is a shared library that can be installed by tons of
things, but I was installing on a brand new system. Is it possible to
distribute this library with Erlang? If not, is it possible to detect
its absence in the installer and pop up an error message telling the
user to download it? :-)

BTW, I also get the same symptoms installing win64 on a win32 system.
Yes, of course you shouldn't do that, but again the failure is unobvious
- you just get a partial installation and no error message.

Lukas Larsson

unread,
Sep 18, 2012, 6:34:04 AM9/18/12
to Simon MacMullen, Erlang Questions
Hi,

The .dll should have been part of it, however when fixing something
else we apparently broke this functionality. R15B01 works as it
should, we'll build a new installer for R15B02 after lunch and get it
to you as soon as we can.

Thanks for reporting this error!

Lukas

Simon MacMullen

unread,
Sep 18, 2012, 6:44:04 AM9/18/12
to Lukas Larsson, Erlang Questions
On 18/09/12 11:34, Lukas Larsson wrote:
> The .dll should have been part of it, however when fixing something
> else we apparently broke this functionality. R15B01 works as it
> should, we'll build a new installer for R15B02 after lunch and get it
> to you as soon as we can.

Ah, fabulous, thank you!

Simon MacMullen

unread,
Sep 18, 2012, 6:48:01 AM9/18/12
to Lukas Larsson, Erlang Questions
...although there is still the installing-win64-on-win32 thing. You may
very well say "user error", but it would be really nice if the installer
didn't look like it had succeeded :-)

Cheers, Simon

On 18/09/12 11:34, Lukas Larsson wrote:

Lukas Larsson

unread,
Sep 18, 2012, 9:13:04 AM9/18/12
to Simon MacMullen, Erlang Questions
Hi,

I've found the bug, however because of the way our build procedures
work it will take me a day to build and test the new release, hope
that is ok.

You are absolutely right about installing win64 on win32, I'll put a
ticket in our backlog to fix that issue.

Lukas

Simon MacMullen

unread,
Sep 18, 2012, 9:58:20 AM9/18/12
to Lukas Larsson, Erlang Questions
On 18/09/12 14:13, Lukas Larsson wrote:
> I've found the bug, however because of the way our build procedures
> work it will take me a day to build and test the new release, hope
> that is ok.

Oh, of course. I was wondering about adding something to the RabbitMQ
installer to detect / warn about this state of affairs. But that would
take longer than a day...

Bohuslav Svancara

unread,
Oct 2, 2012, 8:40:16 AM10/2/12
to erlang-q...@erlang.org
The same problem here.

Windows 7 Prof 64-bit.

skips installation of vcredist_x64.exe.

This is its log:

Output folder: C:\Program Files\erl5.9.2
Extract: Install.ini
Extract: Install.exe... 100%
Output folder: C:\Program Files\erl5.9.2\releases
Output folder: C:\Program Files\erl5.9.2\releases\R15B02
...

Does not skip this step and installs vcredist_x64.exe.

This is its log:

Output folder: C:\Program Files\erl5.9.1
Extract: vcredist_x64.exe
Execute: "C:\Program Files\erl5.9.1\vcredist_x64.exe"
Output folder: C:\Program Files\erl5.9.1
Extract: Install.ini
Extract: Install.exe... 100%
Output folder: C:\Program Files\erl5.9.1\releases
Output folder: C:\Program Files\erl5.9.1\releases\R15B01
....


otp_win64_R15B02.exe does not create correct directory structure - see a picture.
But if one installs otp_win64_R15B01.exe before otp_win64_R15B02.exe
otp_win64_R15B02.exe creates correct directory structure (!) and runs fine then.

Thank you.
Bob

2012/9/18 Lukas Larsson <lu...@erlang.org>
erl592dirs.png

Lukas Larsson

unread,
Oct 2, 2012, 8:54:09 AM10/2/12
to Bohuslav Svancara, erlang-q...@erlang.org
Hi!

If you are having the same problem you want to download
http://www.erlang.org/download/otp_win64_R15B02_with_MSVCR100_installer_fix.exe

I just realized that http://www.erlang.org/download.html had not been
updated with this installer, that should be fixed now.

Lukas

Simon MacMullen

unread,
Oct 17, 2012, 10:27:42 AM10/17/12
to Lukas Larsson, Erlang Questions
Sorry to resurrect this thread but:

Would it be possible to remove the link "R15B02 Windows 64 Bit Binary
File" (i.e. the one without the fix) on http://www.erlang.org/download.html?

Some of our users are still tripping over this, and I don't think
there's a good reason to use that download?

Cheers, Simon

On 18/09/12 14:13, Lukas Larsson wrote:

Patrik Nyblom

unread,
Oct 18, 2012, 8:38:11 AM10/18/12
to erlang-q...@erlang.org
Hi!

On 10/17/2012 04:27 PM, Simon MacMullen wrote:
> Sorry to resurrect this thread but:
>
> Would it be possible to remove the link "R15B02 Windows 64 Bit Binary
> File" (i.e. the one without the fix) on
> http://www.erlang.org/download.html?
Done :)

Cheers,
/Patrik
Reply all
Reply to author
Forward
0 new messages