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


Groups > comp.lang.python > #6260

bdist_wininst: install_script not run on uninstall

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <wbsoft@xs4all.nl>
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; 'cleanup': 0.07; 'received:localnet': 0.07; "'%d": 0.16; 'from:addr:xs4all.nl': 0.16; 'gandhi': 0.16; 'header:X-Face:1': 0.16; 'mahatma': 0.16; 'message-id:@xs4all.nl': 0.16; 'received:194.109': 0.16; 'received:194.109.24': 0.16; 'received:82.95': 0.16; 'received:xs4all.nl': 0.16; 'url:svn': 0.16; 'url:trunk': 0.16; 'argument': 0.16; '(which': 0.20; 'stuff': 0.22; 'subject:skip:b 10': 0.23; 'subject:not': 0.23; 'url:view': 0.23; 'code': 0.24; 'there.': 0.25; 'script': 0.27; 'work.': 0.28; '"you': 0.29; 'installer': 0.30; 'seemingly': 0.30; 'hi,': 0.31; 'to:addr :python-list': 0.33; 'install': 0.34; 'source': 0.34; '[1]': 0.34; 'header:User-Agent:1': 0.35; 'charset:us-ascii': 0.36; 'change': 0.37; 'checks': 0.37; 'url:python': 0.38; 'url:org': 0.38; 'run': 0.38; 'but': 0.38; 'creates': 0.38; 'docs': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'best': 0.60; 'header:Message-Id:1': 0.62; 'according': 0.63; 'wish': 0.70; 'url:c': 0.72; 'run?': 0.84; 'url:install': 0.84
From Wilbert Berendsen <wbsoft@xs4all.nl>
Organization www.wilbertberendsen.nl
To python-list@python.org
Subject bdist_wininst: install_script not run on uninstall
Date Wed, 25 May 2011 21:28:17 +0200
User-Agent KMail/1.13.5 (Linux/2.6.32-29-generic; KDE/4.5.3; i686; ; )
X-Face t;^H#io{wm#(@U57eQ1l1`z]|~Cs]9P>sd3E4B<8>*Y~~_L9CcPWr?UsFx, yR{g|dxr!XU QGj+hj~)XO/o9, 8frDyHojv.QcqQ%jbw{kMXPg)PET9(, #
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 7bit
X-Virus-Scanned by XS4ALL Virus Scanner
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2088.1306352132.9059.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 82.94.164.166
X-Trace 1306352132 news.xs4all.nl 49044 [::ffff:82.94.164.166]:51464
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:6260

Show key headers only | View raw


Hi,

according to the docs the installer bdist_wininst creates will run the 
install-script on install with -install (which works perfectly) and on 
uninstall with the -remove argument (which seemingly never happens).

However I want to cleanup some registry stuff on uninstall so I want the 
uninstall script to work.

Studying the source code of the installer[1] in the Run_RemoveScript 
function...

[1] http://svn.python.org/view/python/trunk/PC/bdist_wininst/install.c

... it checks for the line '%d Run Script: %s' in the log, which is there. But 
can anybody find out why the install script is not run?

with best regards,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
        -- Mahatma Gandhi

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


Thread

bdist_wininst: install_script not run on uninstall Wilbert Berendsen <wbsoft@xs4all.nl> - 2011-05-25 21:28 +0200

csiph-web