laptopacademy

laptopacademy

Win Installer Fails On Non-C: Drive

This Windows intaller requires installation on C: drive.

When i attempted to install, with Erlang and C++, on D: drive, i got errors in the command window, near the end of the install process, saying something like:

“error: cannot find C: drive”

Consider this a request to allow non-C: installation.

Thx!

Marked As Solved

laptopacademy

laptopacademy

i found the issue, it’s not OS instability. The cause is:

i keep Win Updater and BITS services disabled by choice, since updates for Win 8 very rare these days, and those 2 services consume a lot of resources when they’re running.

Enabling those 2 services made the installer work to C: drive. Did not try D:.

cheers!

Also Liked

peerreynders

peerreynders

No issue with Windows 10 Pro Version 1703 OS Build 15063.540. Successfully installed and run

  • Erlang at D:\Program Files\erl20
  • Elixir at D:\Program Files\elixir\1.5.1

Steps:

  • Installed OTP 20.0 Windows 64-bit Binary File from https://www.erlang.org/downloads to D:\Program Files\erl20 (D:\Program Files\erl9.0 was the default probably should have just left it).

  • Added D:\Program Files\erl20\bin to the Path under User variables to make sure that any process could pick it up (see here).

  • Verified that Erlang worked in a new command prompt.

    C:\Users\name>erl
    Eshell V9.0 (abort with ^G)
    1> io:fwrite(“Hello world!~n”, ).
    Hello world!
    ok
    2> q().
    ok
    3>
    C:\Users\name>

  • Created a new ex-setup folder under Documents (a user folder that was moved to D: after creation of the user profile that itself still resides on C:). Moved the elixir-websetup.exe from the downloads folder into ex-setup. Double-clicked it to start the download. Selected version 1.5.1 and checked “Defer installation (advanced)” which created elixir-v.1.5.1-setup.exe.

  • Double-clicked elixir-v.1.5.1-setup.exe to start the installation. Confirmed the Erlang installation location. Customized the install location to D:\Program Files\elixir\1.5.1. Opted to let the installer add the file paths to the system variables (so I could remove the one I added manually for Erlang).

  • Verified installation in a new command prompt

    C:\Users\name> iex
    Interactive Elixir (1.5.1) - press Ctrl+C to exit (type h() ENTER for help)
    iex(1)> IO.puts “Hello World”
    Hello World
    :ok
    iex(2)> Terminate batch job (Y/N)? y
    C:/Users/name>

FYI: that error can simply be the result of creeping system instability.

With Microsoft systems lots of stuff that is possible isn’t necessarily considered safe. For the longest time, moving anything but the visible folders under a user (Documents, Music, Pictures, Videos) was considered an unsupported configuration by Microsoft (however aggravating that may have been).

… absence hasn’t made my heart grow fonder of Windows in the least.

Where Next?

Popular in Questions Top

_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
earth10
Hi, I’m just starting to build a side-project with Elixir and Phoenix and doing some basic test with Elixir alone. What strikes me is th...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
RisingFromAshes
I've read in another post that it may be possible with a router helper - but I couldn't find an appropriate one, and tbh, I'm still just ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
nobody
Hi! In PHP: $SERVER['SERVERADDR'] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 29305 241
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
RisingFromAshes
I've read in another post that it may be possible with a router helper - but I couldn't find an appropriate one, and tbh, I'm still just ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New

We're in Beta

About us Mission Statement