Bug 19707 – dls blocks libcurl.dll, stalling installation.

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P1
Component
installer
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2019-02-28T13:10:35Z
Last change time
2019-03-02T11:53:47Z
Assigned to
No Owner
Creator
Bastiaan Veelo

Comments

Comment #0 by Bastiaan — 2019-02-28T13:10:35Z
I tried upgrading from 2.084.1 to 2.085.0-rc.1 while Visual Studio Code was still open. The installer complained that it couldn't install C:\D\dmd2\windows\bin64\libcurl.dll with options to retry/abort. Trying to delete the file manually revealed that it was in use by dls, presumably the D language server. Closing VS Code and pressing retry led to successful completion of the installation. Perhaps there is something that can be done to smoothe this out, for example 1) Tell the user to close any open editors that use dls, or 2) Signal dls to terminate temporarily, or 3) Eliminate permanent linkage of the dmd libcurl to dls. I thought dls was a separate installation, I don't understand how it comes to link to dmd's libcurl. Thanks, Bastiaan.
Comment #1 by Bastiaan — 2019-02-28T13:16:24Z
Comment #2 by Bastiaan — 2019-03-02T11:53:47Z
Laurent fixed this through dls.