Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86236 > unrolled thread

Re: Python Silent Install

Started byTim Golden <mail@timgolden.me.uk>
First post2015-02-23 16:25 +0000
Last post2015-02-23 16:25 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python Silent Install Tim Golden <mail@timgolden.me.uk> - 2015-02-23 16:25 +0000

#86236 — Re: Python Silent Install

FromTim Golden <mail@timgolden.me.uk>
Date2015-02-23 16:25 +0000
SubjectRe: Python Silent Install
Message-ID<mailman.19081.1424708711.18130.python-list@python.org>
On 23/02/2015 15:29, Tim Golden wrote:
> On 23/02/2015 13:57, Colin Atkinson wrote:
>> I am deploying Python to hundreds of machines using SCCM 2012.  I am 
>> using the below command to install:
>>
>> Msiexec /i “python.msi” TARGETDIR=”C:\Program Files\Python”
>> ALLUSERS=1 /qn
>>
>> Even though I am using /qn, a command prompt still appears at the end
>> of the install for about 5-6 seconds.  Is there any way to make the
>> install totally silent?
>>
>> The exact version of the .msi is:
>>
>> python-3.4.2.amd64.msi
>>
> 
> I haven't actually tried your command line myself, but I suspect that
> the final "command prompt" is actually the ensurepip step. You should be
> able to stop that by disabling that particular feature. Off the top of
> my head I don't know what the feature name is; I'll have to clone a 3.4
> repo and check (the installer has changed substantially for 3.5).

By quick inspection, it looks as though:

msiexec ADDLOCAL="all" REMOVE="pip_feature" /i python-3.4.2.amd64.msi /qn

should do the trick

TJG

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web