[erlang-bugs] 64bit windows installer

Raimo Niskanen <>
Fri May 25 11:40:44 CEST 2012


On Wed, May 23, 2012 at 05:49:11PM +0200, Raimo Niskanen wrote:
> On Wed, Apr 18, 2012 at 03:16:36PM +0100, Emile Joubert wrote:
> > Hi,
> > 
> > While attempting to perform an unattended installation of the 64bit
> > R15B01 Windows version of Erlang we discovered a possible flaw with the
> > VC++ redistributable version checking.
> > 
> > If you pre-install vcredist_x64.exe and run the Erlang installer with
> > the "/S" flag for silent install, then a dialogue pops up to ask whether
> > you wish to repair or remove the x64 redistributable.
> > 
> > If you pre-install both vcredist_x86.exe and vcredist_x64.exe and run
> > the Erlang installer with the "/S" flag then the installation completes
> > silently.
> > 
> > This seems unexpected and might be considered a bug.
> 
> I am now digging into this.
> 
> Can you search for msvcr100.dll under C:\WINDOWS on your malfunctioning
> installation (pre-installed vcredist_x64.exe) to see where it is installed?
> 
> Your help is much appreciated.

I think we have found the root cause and can reproduce the corresponding
problem if you have just the 32-bit VC++ redistributable installed the
Erlang installer will think it does not need to intall the 64-bit VC++
redistributable and install an Erlang that will not start.

The root cause we have found is that the installer runs in 32-bit mode
and hence Windows does not show it the same system directory as an 64-bit
application will see. Luckily there is a mapped fake directory where the
installer can see the hidden 64-bit system directory.

A fix for this will most likely make it into R15B02.

> 
> > 
> > 
> > 
> > -- 
> > Emile Joubert
> > 
> > RabbitMQ
> > SpringSource, a division of VMware
> > VMware
> > _______________________________________________
> > erlang-bugs mailing list
> > 
> > http://erlang.org/mailman/listinfo/erlang-bugs
> 
> -- 
> 
> / Raimo Niskanen, Erlang/OTP, Ericsson AB
> _______________________________________________
> erlang-bugs mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-bugs

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-bugs mailing list