Author chris-k
Recipients chris-k, jeremy.kloth, jkloth, jt, ncoghlan, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-02-17.15:19:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
for Python 2.7 you can extract the MSI installer (much like a zip file):
mkdir "c:\targetdir"
msiexec /a "c:\python-2.7.8.amd64.msi" /quiet /norestart TARGETDIR=c:\targetdir

msiexec is part of all Windows editions (except for nanoserver). Side note: extracting the MSI does not enable pip. If you need pip, run this on your targetdir:
c:\targetdir\python.exe -m ensurepip

alternatively, you could perform an unattended installation:
msiexec /i "c:\python-2.7.8.amd64.msi" /quiet /norestart 

Unattended installation also works for Python 3.7:
"c:\python-3.7.2-amd64.exe" /quiet InstallAllUsers=1 PrependPath=1

These options worked fine for me in windows containers for CI stuff with servercore. The unattended installation of Python 3.7 also worked fine for me in nanoserver.
Date User Action Args
2019-02-17 15:19:53chris-ksetrecipients: + chris-k, paul.moore, ncoghlan, tim.golden, jkloth, jeremy.kloth, zach.ware, steve.dower, jt
2019-02-17 15:19:53chris-ksetmessageid: <>
2019-02-17 15:19:53chris-klinkissue36010 messages
2019-02-17 15:19:53chris-kcreate