Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74559
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!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.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.06; '64-bit': 0.07; 'indicating': 0.07; 'installed.': 0.07; 'wednesday,': 0.07; '32-bit': 0.09; '[1]:': 0.09; 'assuming': 0.09; 'msi': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'missed': 0.12; 'windows': 0.15; '64-bit,': 0.16; ':-(': 0.16; 'command,': 0.16; 'files"': 0.16; 'non-default': 0.16; 'subject:default': 0.16; 'subject:install': 0.16; 'subject:non': 0.16; 'followed': 0.16; 'prevent': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'trying': 0.19; 'not,': 0.20; 'cc:addr:python.org': 0.22; 'install': 0.23; 'skip:% 10': 0.24; 'environment': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'idea': 0.28; 'am,': 0.29; "doesn't": 0.30; "i'm": 0.30; '(which': 0.31; 'went': 0.31; 'getting': 0.31; 'fighting': 0.31; 'quotes': 0.31; 'file': 0.32; '-----': 0.33; 'could': 0.34; 'something': 0.35; 'point.': 0.35; 'but': 0.35; 'thanks': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'thank': 0.38; 'easiest': 0.38; 'files': 0.38; 'issue': 0.38; 'does': 0.39; 'subject:': 0.39; 'structure': 0.39; 'sure': 0.39; 'skip:p 20': 0.39; 'how': 0.40; 'commands': 0.60; 'received:98.137': 0.60; "you're": 0.61; 'name': 0.63; 're:': 0.63; 'july': 0.63; 'to:addr:gmail.com': 0.65; '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; 'jul': 0.74; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'silently': 0.84; 'sorry.': 0.91; 'ware': 0.91 |
| X-Yahoo-Newman-Property | ymail-3 |
| X-Yahoo-Newman-Id | 501582.36449.bm@omp1090.mail.gq1.yahoo.com |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1405521180; bh=5pjnq9fd6/YiAmi/v+lWTNJAcr589Trsbn6JRg+8PLY=; h=References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CreiUad+5HOQD7Q4MMK2HUegfb5fmmt9XeuKgaG0OFxX8qUiPGv0POpXnBSa66OZ8u+u2n2epfyHCz1aoPEBIewKFiFuRoqOo7IUHlywG67JVEkBa6WLg5N+7rVT0Nz/cQjerQpHxHRkwaIi7Q6zwdELg3MUO/DFIrnc3pag8PE= |
| X-YMail-OSG | XtZ4Y6IVM1nVvlfLoYSRs1s8hLtFEgGnEKn4L3t70Wsq9cW XPI7F3Omu9lSDRwbjjH7vwzZH7Zxtbygywm0GaHsBOn.5ARsOmfOK95kUOBt w8fkY.DcyikQ5bhdv42Ik.C1lTzPhUKSprX83lFyrjdEFN.qX4RcWHU7inkO F_kSEY37eIHxabc.MP2g2g7so2b1tTWhbMVpktSngsohXapg6e7e4JrgS2Pz Z4haga5AvF0kIrimEtyTIQ0mB3q5tkSVzJFLpDrSblf5_VCMh8a4fF0O.si2 SqhXYdtMtaH7Zx12Rd5E4j8WjGwtpOxTh5070b18KVMPuvkCu_SslfadvdkS HDAn31puQrnaodrc6m7DrArjkJaewIpAMfwLOUFZ9R3gPPbKzCTH.f2rp6Fh OjURzrTzafh6TQq_0yEb9y6DA3ODOPYZDKevo0j7r7tk.p4WobRL9O2wM7vl W32nzBAYk2TrZx.Hi5P51QDOgN6rUDggMUB6WbWaf22zOInG.2HX9SE5YixT xpAf4EbBedyTvT9e0vLtrd8khreUNrJxJ.o_XX8QAqNu8dhzMxA-- |
| X-Rocket-MIMEInfo | 002.001, wqAKLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLQo.IEZyb206IFphY2hhcnkgV2FyZSA8emFjaGFyeS53YXJlK3B5bGlzdEBnbWFpbC5jb20.Cj4gVG86IEFsYmVydC1KYW4gUm9za2FtIDxmb21jbEB5YWhvby5jb20.Cj4gQ2M6IFB5dGhvbiA8cHl0aG9uLWxpc3RAcHl0aG9uLm9yZz4KPiBTZW50OiBXZWRuZXNkYXksIEp1bHkgMTYsIDIwMTQgMzo0NyBQTQo.IFN1YmplY3Q6IFJlOiBob3cgdG8gbXNpIGluc3RhbGwgUHl0aG9uIHRvIG5vbi1kZWZhdWx0IHRhcmdldCBkaXI_Cj4gCj4gT24gV2VkLCBKdWwBMAEBAQE- |
| X-Mailer | YahooMailWebService/0.8.194.680 |
| References | <1405517362.434.YahooMailNeo@web163802.mail.gq1.yahoo.com> <CAKJDb-NYXOoht76PWMtGevEiZ4Lu34XmDog3A0FFWBukPcNPHw@mail.gmail.com> |
| Date | Wed, 16 Jul 2014 07:33:00 -0700 |
| From | Albert-Jan Roskam <fomcl@yahoo.com> |
| Subject | Re: how to msi install Python to non-default target dir? |
| To | Zachary Ware <zachary.ware+pylist@gmail.com> |
| In-Reply-To | <CAKJDb-NYXOoht76PWMtGevEiZ4Lu34XmDog3A0FFWBukPcNPHw@mail.gmail.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | Python <python-list@python.org> |
| 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.11881.1405521392.18130.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1405521392 news.xs4all.nl 2938 [2001:888:2000:d::a6]:49785 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:74559 |
Show key headers only | View raw
----- Original Message ----- > From: Zachary Ware <zachary.ware+pylist@gmail.com> > To: Albert-Jan Roskam <fomcl@yahoo.com> > Cc: Python <python-list@python.org> > Sent: Wednesday, July 16, 2014 3:47 PM > Subject: Re: how to msi install Python to non-default target dir? > > On Wed, Jul 16, 2014 at 8:29 AM, Albert-Jan Roskam > > <fomcl@yahoo.com.dmarc.invalid> wrote: >> 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 > > I'm assuming this is retyped and you missed the '.msi' in retyping? Yes, typo, sorry. I was working in an environment without email access. > If not, that may be your issue. Also, 'set' doesn't require quotes > around a value with spaces, and you're also quoting %PYTHONDIR% when > you use it in the msiexec command, so you're actually double-quoting > the dir name (which could also be the issue). That was it, thank you!! >And, not necessarily an > issue that would prevent installing, but you may want to make sure > you're in the correctly-bitted Program Files directory if you're on > 64-bit Windows (%PROGRAMFILES% for 64-bit, %PROGRAMFILES(x86)% for > 32-bit; %PROGRAMFILES(x86)% will not be defined on 32-bit Windows or > in a 32-bit process on 64-bit Windows). Good point. The easiest solution would be to write one .bat for 32bit and one for 64bit. Thanks again!!
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: how to msi install Python to non-default target dir? Albert-Jan Roskam <fomcl@yahoo.com> - 2014-07-16 07:33 -0700
csiph-web