JuliaPy / Conda.jl

Conda managing Julia binary dependencies
Other
173 stars 57 forks source link

On Windows shortcuts for existing Anaconda install are overwritten #147

Closed krcools closed 2 years ago

krcools commented 5 years ago

If you have Anaconda installed on Windows (unrelated to Julia), the installation of Miniconda causes the start menu shortcuts to be overwritten.

In particular opening a conda prompt by clicking on the relevant start menu entry lands you in the .julia/conda/3 environment.

Is there a way to stop this from happening?

stevengj commented 5 years ago

It seems like this an issue with the miniconda installer (see e.g. https://github.com/ContinuumIO/anaconda-issues/issues/136#issuecomment-319948447) … it's not clear if there is a way to disable it.

RoyiAvital commented 3 years ago

@stevengj, Could the process do the decompressing of files manually instead of running the installer? That way it will also not be registered in Application in Windows:

image

Why running the installer is needed?

RoyiAvital commented 3 years ago

Maybe using the /NoRegistry flag? See https://github.com/conda/conda/issues/10502.

RoyiAvital commented 3 years ago

@stevengj , It seems that adding the /NoRegistry=1 to https://github.com/JuliaPy/Conda.jl/blob/master/src/Conda.jl#L208 will prevent the installation to be registered by Windows.

Could you add it?

P. S. Found also this https://github.com/conda/conda/issues/7507. With ----no-shortcuts flag.

RoyiAvital commented 2 years ago

It seems conda made a progress on their side as well in https://github.com/conda/constructor/issues/452.

stevengj commented 2 years ago

Should be closed by daf770366773d975e97204dc7c3c86521cfcfb5a

RoyiAvital commented 7 months ago

@stevengj , Following the updated documentation in https://conda.github.io/constructor/cli-options I created https://github.com/JuliaPy/Conda.jl/pull/254.