I am using python installation: python-2.7.13.amd64.msi I know it is old but we really must use 2.7 because of specific program.
I try to install that package from DevOps platform, I try to set for Pyhton to be for ALL USERS
$TMP_INSTALLATION="C:\Octopus\Applications\Temp"
$FOLDER="C:\Octopus\Applications"
$arguments_python = @(
"/quiet",
"ALLUSERS=1",
"/l* $TMP_INSTALLATION\PythonInstallLog.txt"
)
Write-Host("========== Python Installation Install ==========")
Start-Process -FilePath "$FOLDER\python-2.7.13.amd64.msi" -ArgumentList $arguments_python -Wait
Write-Host("========== Python Installation Complete ==========")
Folder C:\Python27 is created, registry for Python is created but no program is presented in Control Panel. I thought that by adding argument ALLUSERS=1 will resolve the issue but nothing. Maybe I am missing some syntax?
From docs: "ALLUSERS=1 causes an installation for all users. By default, the non-interactive installation install the package just for the current user, and the interactive installation offers a dialog which defaults to "all users" if the user is sufficiently privileged." Python is recognizable from other programs because of this and I cannot properly uninstall the python because it does not exist in Control Panel.
Please help me, I am trying to do the silent installation from PowerShell from specific platform but cannot install it successfully. If I run it from the server side it can be installed properly.
Thanks