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


Groups > comp.lang.python > #86236

Re: Python Silent Install

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <mail@timgolden.me.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'though:': 0.07; 'feature.': 0.09; 'python': 0.11; 'clone': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'golden': 0.16; 'is;': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'seconds.': 0.16; 'tjg': 0.16; 'wrote:': 0.18; '(the': 0.22; '8bit%:5': 0.22; 'command': 0.22; 'appears': 0.22; 'to:name :python-list@python.org': 0.22; 'install': 0.23; 'header:User- Agent:1': 0.23; 'received:192.168.100': 0.24; "haven't": 0.24; 'looks': 0.24; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'feature': 0.29; 'tim': 0.29; 'totally': 0.33; 'hundreds': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; "i'll": 0.36; 'should': 0.36; 'machines': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'changed': 0.39; 'skip:p 20': 0.39; 'even': 0.60; 'name': 0.63; 'charset:windows-1252': 0.65; 'prompt': 0.68; '2012.': 0.74; 'from:addr:mail': 0.83; '3.4': 0.84; 'atkinson': 0.84; 'install:': 0.84; 'installer': 0.84; 'step.': 0.91
Date Mon, 23 Feb 2015 16:25:06 +0000
From Tim Golden <mail@timgolden.me.uk>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version 1.0
To "python-list@python.org" <python-list@python.org>
Subject Re: Python Silent Install
References <91A935D75D3AF940BAD7318B212C554B019D5DD4D3@mb-01.uni.ad.sunderland.ac.uk> <54EB4748.6010601@timgolden.me.uk>
In-Reply-To <54EB4748.6010601@timgolden.me.uk>
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.19081.1424708711.18130.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424708711 news.xs4all.nl 2931 [2001:888:2000:d::a6]:58299
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:86236

Show key headers only | View raw


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

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


Thread

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

csiph-web