Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #16564 > unrolled thread
| Started by | snorble <snorble@hotmail.com> |
|---|---|
| First post | 2011-12-02 10:34 -0800 |
| Last post | 2011-12-05 13:26 -0800 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.python
Install Python on Windows without Start Menu icons? snorble <snorble@hotmail.com> - 2011-12-02 10:34 -0800
Re: Install Python on Windows without Start Menu icons? "Pedro Henrique G. Souto" <pedro.h.souto@gmail.com> - 2011-12-03 12:01 -0200
Re: Install Python on Windows without Start Menu icons? Wolfgang Strobl <news3@mystrobl.de> - 2011-12-05 09:01 +0100
Re: Install Python on Windows without Start Menu icons? Lie Ryan <lie.1296@gmail.com> - 2011-12-05 23:52 +1100
Re: Install Python on Windows without Start Menu icons? snorble <snorble@hotmail.com> - 2011-12-05 13:26 -0800
| From | snorble <snorble@hotmail.com> |
|---|---|
| Date | 2011-12-02 10:34 -0800 |
| Subject | Install Python on Windows without Start Menu icons? |
| Message-ID | <ccd62b0f-f5d0-47a9-b664-bb8784a72917@s4g2000yqk.googlegroups.com> |
Is it possible to automate the Python installation on Windows using the MSI file so it does not add a Start Menu folder? I would like to push out Python to all of my office workstations, but I'd like for it to be relatively silent from the user's point of view.
[toc] | [next] | [standalone]
| From | "Pedro Henrique G. Souto" <pedro.h.souto@gmail.com> |
|---|---|
| Date | 2011-12-03 12:01 -0200 |
| Message-ID | <mailman.3251.1322920923.27778.python-list@python.org> |
| In reply to | #16564 |
On 02/12/2011 16:34, snorble wrote: > Is it possible to automate the Python installation on Windows using > the MSI file so it does not add a Start Menu folder? I would like to > push out Python to all of my office workstations, but I'd like for it > to be relatively silent from the user's point of view. If you just want to run python scripts in those machines (not developing in it), you can use something like py2exe [http://www.py2exe.org/]. It converts a python script to a standalone executable. Good luck! -- Att; Pedro Henrique G. Souto <pedro.h.souto@gmail.com> ╔═════════════╗ ║ ²²²d○_○b²²² ║ ╚═════════════╝
[toc] | [prev] | [next] | [standalone]
| From | Wolfgang Strobl <news3@mystrobl.de> |
|---|---|
| Date | 2011-12-05 09:01 +0100 |
| Message-ID | <h0uod79f47raal9te31s0rpbe2m4q96uuf@4ax.com> |
| In reply to | #16592 |
"Pedro Henrique G. Souto" <pedro.h.souto@gmail.com>: >On 02/12/2011 16:34, snorble wrote: >> Is it possible to automate the Python installation on Windows using >> the MSI file so it does not add a Start Menu folder? I would like to >> push out Python to all of my office workstations, but I'd like for it >> to be relatively silent from the user's point of view. > >If you just want to run python scripts in those machines (not developing >in it), you can use something like py2exe [http://www.py2exe.org/]. That doesn't answer the question. Snorble might use "ORCA", a MSI editor from Microsoft. http://forums.frontmotion.com/viewtopic.php?f=10&t=837 discusses a similar question for Firefox. I haven't tried it myself, but would give it a try. -- Thank you for observing all safety precautions
[toc] | [prev] | [next] | [standalone]
| From | Lie Ryan <lie.1296@gmail.com> |
|---|---|
| Date | 2011-12-05 23:52 +1100 |
| Message-ID | <mailman.3300.1323089576.27778.python-list@python.org> |
| In reply to | #16643 |
On 12/05/2011 07:01 PM, Wolfgang Strobl wrote: > "Pedro Henrique G. Souto"<pedro.h.souto@gmail.com>: > >> On 02/12/2011 16:34, snorble wrote: >>> Is it possible to automate the Python installation on Windows using >>> the MSI file so it does not add a Start Menu folder? I would like to >>> push out Python to all of my office workstations, but I'd like for it >>> to be relatively silent from the user's point of view. >> >> If you just want to run python scripts in those machines (not developing >> in it), you can use something like py2exe [http://www.py2exe.org/]. > > That doesn't answer the question. But it may solve his problem, which is the whole point. Often in discussions, an OP may ask the wrong question that does not solve their problem or is a roundabout way to solve their problem (and it may not necessarily be their fault that they asked the wrong question). Which is why it is often best to describe the actual problem in addition to asking a specific question.
[toc] | [prev] | [next] | [standalone]
| From | snorble <snorble@hotmail.com> |
|---|---|
| Date | 2011-12-05 13:26 -0800 |
| Message-ID | <63f25ebf-aa27-4a0b-b20f-84ccf9da7182@y12g2000vba.googlegroups.com> |
| In reply to | #16643 |
On Dec 5, 2:01 am, Wolfgang Strobl <ne...@mystrobl.de> wrote: > "Pedro Henrique G. Souto" <pedro.h.so...@gmail.com>: > > >On 02/12/2011 16:34, snorble wrote: > >> Is it possible to automate the Python installation on Windows using > >> the MSI file so it does not add a Start Menu folder? I would like to > >> push out Python to all of my office workstations, but I'd like for it > >> to be relatively silent from the user's point of view. > > >If you just want to run python scripts in those machines (not developing > >in it), you can use something like py2exe [http://www.py2exe.org/]. > > That doesn't answer the question. > > Snorble might use "ORCA", a MSI editor from Microsoft. > > http://forums.frontmotion.com/viewtopic.php?f=10&t=837 > > discusses a similar question for Firefox. > > I haven't tried it myself, but would give it a try. > > -- > Thank you for observing all safety precautions Thank you! I got it working using Orca. Initially I had removed all of the rows from the Shortcut table and saved the .msi file, but the resulting .msi file was only about 600 KB (the original .msi file is about 15 MB). I had to create a .mst transform file, and that allows Python to install without any Start Menu entries. For reference, here's what I did. I opened the python-2.7.2.msi file in Orca, then click the Transform menu, then New Transform. Then go to the Shortcut table and highlight all of the entries and press the Delete key, and acknowledge that it will delete all of the rows. Then click the Transform menu and click Generate Transform and save it (python-2.7.2-no-icons.mst in my case). Once you have the .mst file, you can install it from the command line: msiexec /i python-2.7.2.msi TRANSFORMS=python-2.7.2-no-icons.mst Or to silently install: msiexec /qn /i python-2.7.2.msi TRANSFORMS=python-2.7.2-no-icons.mst
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web