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


Groups > comp.lang.python > #74554

how to msi install Python to non-default target dir?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fomcl@yahoo.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.065
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'subject:Python': 0.06; 'indicating': 0.07; 'installed.': 0.07; '[1]:': 0.09; 'python': 0.11; 'windows': 0.15; ':-(': 0.16; 'files"': 0.16; 'non-default': 0.16; 'platform:': 0.16; 'subject:default': 0.16; 'subject:install': 0.16; 'subject:non': 0.16; 'followed': 0.16; 'trying': 0.19; "i've": 0.25; 'installed': 0.27; 'idea': 0.28; '[1]': 0.29; '[2]': 0.30; 'went': 0.31; 'getting': 0.31; 'fighting': 0.31; 'file': 0.32; 'something': 0.35; 'but': 0.35; 'done': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'system,': 0.38; 'thank': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'structure': 0.39; 'to:addr:python.org': 0.39; 'skip:p 20': 0.39; 'how': 0.40; 'commands': 0.60; 'received:98.137': 0.60; 'header:Reply-To:1': 0.67; 'received:gq1.yahoo.com': 0.68; 'received:mail.gq1.yahoo.com': 0.68; 'received:98.136': 0.69; 'hour': 0.70; 'apart': 0.72; 'enterprise,': 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'silently': 0.84; 'us?': 0.84; 'medicine,': 0.91; 'education,': 0.96
X-Yahoo-Newman-Property ymail-3
X-Yahoo-Newman-Id 796687.41719.bm@omp1043.mail.gq1.yahoo.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1405517362; bh=ro+9zXesl9ctN4Pg+YDn00CdXPrwn6TuctH+jDpFMhs=; h=Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=mHggaio45pcZM8t2+6ZV1zg2iC38+8DOwQWpqVJfG6P9Tz9/z5YvLW/VNa1nxygZk5gNEg0KNEUM1td3Ma2L+OmhGxHFzr8+6Rtx0bppoUym5DSZJZ1mwvfYsDJMmf3n8f+8BdEO1GyZpeslahPV7K4+ri3pkYhZD+Gza2KqJ/c=
X-YMail-OSG _cPVYioVM1k71fqbOrUp207O7rOGQO4qW7YYoNAAhpBw8c2 qePqfalso1B00EK.BhzYctrvLH4d6brmQRhcqu36QzrztxS1KHJjY9Qe8arC L3hSmK8NItCSO_I9LLZ89oUQdy5P2PiOXfFPKK_6VwNluSCTtTgZYQz5rmEa Bu5noUIXdGujZim8xVLQPuGwAkT435HpuOONK97QVS.EBpqidglq3aNhBr0Q Jvvon9z8JGoXExREvJHsegf7Q1.M.iXzdS6oh0fN72Zzq8HZkdcTabOi9MXo iINeNm3Xi.bZqYhEjkciEg0XK8SFPXmzf4Wa4wRsc_cLNTL4pcnZKoctoCC. PAvkILSPKDlNe7KVS3wsqBeDTo961ZZrhndXOXiW.Pya3um77Tu_fGhvBEn8 EsM11jUGDiIzcbEFrc6d0HpHk4g.NkIrsAfWfVLuwUlI5qfABnpOj9bJ.8hT MzlSP_BTrSByr4MOKnyBfv6ya79Bb_uyY_aJl5uefslqdrVCE6QYfzV39HyK golVPCdcTSBVRoELTxvcuf46UHmE7l0_kT0BMshSJRXl.I.nPpaXkiyEz824 S.xB7IHYuo39YwpBgz8g87rB9iCE2rLMPuuIQlyVGAs7HZbS3q3KnmkxUMTz _iZRud_SRlRsBjVSBF_djw_IP7.s6Q81DjtZjiWow1yf2ud98HAXW3N6.Q.P I87NSSh5nKsDMUE92Qyusgbtec7QVTuhW4_laC1RJ3tDuyxFPiblwH7c-
X-Rocket-MIMEInfo 002.001, aGksCgpJIGFtIHRyeWluZyB0byBjcmVhdGUgYSAuYmF0IGZpbGUgd2hlcmUgKGFtb25nIG90aGVyIHRoaW5ncykgUHl0aG9uIHdpbGwgaGF2ZSB0byBiZSBzaWxlbnRseSBpbnN0YWxsZWQuCkl0IG5lZWRzIHRvIGJlIGluc3RhbGxlZCB0byB0aGUgbm9uLWRlZmF1bHQgbG9jYXRpb24gImM6XHByb2dyYW0gZmlsZXNccHl0aG9uMjciLiBBbnkgaWRlYSBob3cgdGhpcyBjYW4gYmUgZG9uZT8gCkkga2VlcCBnZXR0aW5nIHRoZSAnSGVscCcgbWVudSwgaW5kaWNhdGluZyB0aGF0IHNvbWV0aGluZyB3ZW50IHdyb24BMAEBAQE-
X-Mailer YahooMailWebService/0.8.194.680
Date Wed, 16 Jul 2014 06:29:22 -0700
From Albert-Jan Roskam <fomcl@yahoo.com>
Subject how to msi install Python to non-default target dir?
To Python <python-list@python.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To Albert-Jan Roskam <fomcl@yahoo.com>
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.11877.1405517520.18130.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1405517520 news.xs4all.nl 2961 [2001:888:2000:d::a6]:53030
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:74554

Show key headers only | View raw


hi,

I am trying to create a .bat file where (among other things) Python will have to be silently installed.
It needs to be installed to the non-default location "c:\program files\python27". Any idea how this can be done? 
I keep getting the 'Help' menu, indicating that something went wrong. I've been fighting with this for like an hour now! :-(

I followed this structure [1]: msiexec /i (yourFile).msi TARGETDIR=C:\YourBin\YourApp

The following does NOT work (I added the cd/md commands later, idem for the /qb)

y:\>set PYTHONDIR="c:\program files\python27"
y:\>cd /d "c:\program files"
y:\>md python27
y:\>cd /d %temp%
y:\>msiexec /i python-2.7.3 TARGETDIR="%PYTHONDIR%" /qb

Thank you!

Regards,

Albert-Jan

[1] http://stackoverflow.com/questions/3259737/command-line-option-to-tell-msi-installation-to-a-specific-location 
[2] Platform: Windows 7 Enterprise, it that matters.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a 

fresh water system, and public health, what have the Romans ever done for us?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

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


Thread

how to msi install Python to non-default target dir? Albert-Jan Roskam <fomcl@yahoo.com> - 2014-07-16 06:29 -0700

csiph-web