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


Groups > comp.lang.python > #86239

RE: Python Silent Install

From Colin Atkinson <colin.atkinson@sunderland.ac.uk>
Subject RE: Python Silent Install
Date 2015-02-23 16:41 +0000
References <91A935D75D3AF940BAD7318B212C554B019D5DD4D3@mb-01.uni.ad.sunderland.ac.uk> <54EB4748.6010601@timgolden.me.uk> <54EB5462.70104@timgolden.me.uk>
Newsgroups comp.lang.python
Message-ID <mailman.19083.1424709712.18130.python-list@python.org> (permalink)

Show all headers | View raw


Fantastic!  I ran the below command and it worked:

Msiexec /i python.msi TARGETDIR="C:\Program Files\Python" ADDLOCAL="all" REMOVE="pip_feature" /qn

Thanks for the quick response.

Regards,

--

Colin Atkinson
IT Service Development Coordinator
IT Client Services | IT Services | Business Infrastructure | Business Services

University Of Sunderland
Unit 1, Technology Park
Chester Road
Sunderland
SR2 7PT

T. (0191) 515 2207
E. colin.atkinson@sunderland.ac.uk
W. http://itsupport.sunderland.ac.uk

-----Original Message-----
From: Python-list [mailto:python-list-bounces+colin.atkinson=sunderland.ac.uk@python.org] On Behalf Of Tim Golden
Sent: 23 February 2015 16:25
To: python-list@python.org
Subject: Re: Python Silent Install

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

-- 
https://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Python Silent Install Colin Atkinson <colin.atkinson@sunderland.ac.uk> - 2015-02-23 16:41 +0000

csiph-web