elixir-lang/elixir-windows-setup

Access denied at the middle of the installation

Mouaz opened this issue · 7 comments

Mouaz commented

Environment

  • Elixir & Erlang/OTP versions : 1.10.3 & OTP 21.3
  • Operating system: Windows 10
  • Running the windows installer with admin priviliges

Current behavior

At the middle of the installation the following pop up appears

image

Expected behavior

Run flawlessly like everything else with elixir :)

Could it be that we are not executing the underlying scripts with admin permission? What happens if you run the script with admin permissions? Or, alternatively, could you try to run the script directly and as an admin?

Mouaz commented

Thanks for transferring the issue. Which script are you referring to? and how to find it? since as you see the path in the pop up is a temporary installation path.

It is temporary but it often lingers there until the OS cleans it up. So to be clear:

  1. Can you try it as a non-admin?
  2. As an admin, can you try running the installer directly (if it is still there?)
Mouaz commented

I tried the last release instead and it was installed successfully. I presume that the version on installation page is not updated

Thanks for being responsive!!

Mouaz commented

It is temporary but it often lingers there until the OS cleans it up. So to be clear:

Can you try it as a non-admin? I have to be admin to install stuff
As an admin, can you try running the installer directly (if it is still there?) That what I did previously

Thanks, i have updated the link!

The link update (elixir-lang/elixir-lang.github.com@ce31711) shouldn't have an effect because the elixir-websetup.exe file hosted on hex is the same as the 2.1 release on GitHub (I checked that their MD5 hashes match).

So in case your issue still isn't resolved, try checking the "Defer installation (advanced)" checkbox on the "Select Additional Tasks" page. This will produce the elixir-v1.10.4-setup.exe in the same directory as elixir-websetup.exe on your PC, and you then can run that manually. See https://github.com/elixir-lang/elixir-windows-setup#structure for technical details.