简体   繁体   中英

Cannot find Anaconda install logging

I am having issues installing anaconda silently on some machines. I am running Anaconda3-2020_07-Windows-x86_64.exe /InstallationType=AllUsers /RegisterPython=1 /AddToPath=1 /S . It runs for a bit and creates the Anaconda3 directory in program data but the only files that show up are _conda.exe and uninstall_Anaconda3.exe and the pkgs,Lib,Conda-meta directories, with sub folders and files in them but no python and don't see the rest of the files in the main directory I normally would see on complete install. It also never adds the path environment variables but it registers as installed with windows. My biggest issue here is there is nothing to go on as to what it is doing. I have looked everywhere but this thing does not create a logfile. Am I missing it or is that just an oversight of whoever made this? If I had a logfile I could troubleshoot this better.

Deploying applications I prefer having logfiles, both PADT (PSAppDeployToolkit) and the installer. Found no parameter for the installer, and no files to copy in any TEMP-folder after.

To the problem at hand, installer not running without a user present: running PsExec ( https://aka.ms/Sysinternals ) as system account is good enough for the installer to create everything even without a user.

In PADT, put psexec.exe or psexec64.exe in \Files folder with installer: Execute-Process -Path "$dirFiles\psexec64.exe" -WorkingDirectory "$dirFiles\" -Parameters "-accepteula -i -s -w $dirFiles\ $dirFiles\Anaconda3-2022.05-Windows-x86_64.exe /InstallationType=AllUsers /S /D=$envProgramData\Anaconda3" -WindowStyle 'Normal'

A.bat or.cmd file could use: psexec64.exe -accepteula -i -s -w %~dp0 Anaconda3-2022.05-Windows-x86_64.exe /InstallationType=AllUsers /S /D=%ANACONDA_INSTALL_FOLDER%

Uninstall is also best using PsExec.

I'm having the same problem with 2021.05 via SCCM silent install, I had no problem with 2019.03.

Early testing suggests that the SCCM option 'Run installation and uninstall program as 32-bit process on 64-bit clients' helps.

I've been observing the same problem for 2 years now with different versions. I have also tried different solutions without success.

My solution approach was finally to repackage Anaconda as an MSI , with adjustments to our university environment (ie folder redirection, SCCM, environment variables) in the Shortcut, Directory, Icon, and Property MSI tables.

In my opinion, the cause of the problem is to be found in the hardware or hardware drivers . The problem occurs only with certain PC models: With version 2022.10 consequently with the following PC models: Lenovo ThinkCentre M720s**, M920s and Fujitsu ESPRIMO E920. On the following model only occasionally (half yes, half no): Lenovo ThinkCentre M70s And with the following models not at all: Lenovo ThinkCentre M83 and M900

I have a PC lab with M920s and M900 models, where all PCs have the same Windows image and software setup: All M920s have the problem, all M900s do not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM