Closed Korijn closed 7 years ago
Generally, everything runs in a sandbox environment which doesn't allow modifying machine global state. So most installers/PSIs can't be used. Instead, relevant files need to be just copied to a folder if they are able to run that way. But if the technology is such that it can't run without registry changes, or things in the Program Files
folder, then it is problematic.
Reading your post in more details, if the main issue is the PATH
, you should be able to set the right path manual using an XDT. Example here.
This has been fixed; the miniconda installer has a few command line options now to prevent it from touching the registry.
@Korijn Could you confirm what version number (and arguments) you are using successfully with this? Not sure if there has been a regression at the miniconda end, but I can't quite get this to work.
You can find some docs here: http://conda.pydata.org/docs/help/silent.html
New options were added later (which is why I closed this issue), but they weren't documented.
Luckily you can use the /?
help flag on the command line to see an up-to-date overview of all the options.
Someone re-posted the output here: https://github.com/conda/conda/issues/1977#issuecomment-227797275
Yeah, those were the docs I was following, but miniconda.exe /AddToPath=0 /NoRegistry=1 /S /D=D:\home\site\tools\conda
seems to run indefinately (without cpu use, have to force kill) in kudu (the other flags, i.e registerpython, dont have an impact either). I've tried lasted Miniconda3-latest-Windows-x86_64.exe
& Miniconda3-4.1.11-Windows-x86_64.exe
, but both seem to have the same behavior.
That's unfortunate. Try inspecting the system's application logs?
The start of my custom deploy script looks like this:
However, the installer never succeeds. It works just fine on my local test setup. Any ideas?