473,503 Members | 3,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Uninstall speed with Python 2.4 MSI

Although it isn't often necessary, I tend to be in the habit of
uninstalling Python before updating to new minor releases, or
especially during the alpha/beta cycle.

I'm in the process of uninstalling 2.4a2 to install 2.4a3 and the
uninstall is running absolutely dog slow and burning 100% cpu while
doing it (all going to mshta.exe). Watching the progress bar it
almost seems to be doing a whole bunch of operations per file or
something. The mshta process went away after the removal so I don't
believe there was any other scripting running on my system
simultaneously. It probably took 5+ minutes for the removal. I can't
recall if removing 2.4a1 was like this, but certainly the non-MSI
versions weren't, even when all the docs were separate files.

I was wondering if anyone else has experience this? I may not have
the fastest system at the moment, but this has to have been one of the
slowest (proceeeding, if not absolute time) uninstalls I've done in a
long while.

-- David
Jul 18 '05 #1
3 1734
David Bolen wrote:
simultaneously. It probably took 5+ minutes for the removal. I can't
recall if removing 2.4a1 was like this, but certainly the non-MSI
versions weren't, even when all the docs were separate files.

I was wondering if anyone else has experience this? I may not have
the fastest system at the moment, but this has to have been one of the
slowest (proceeeding, if not absolute time) uninstalls I've done in a
long while.


My experience with MSI based installers is similar: s l o w
Both the installation is slow, and also deinstallation is slow.
It seems to take forever to "build script functions" or whatever
it says it is doing when doing an uninstall.

Probably got something to do with the large number of files
that make up the full Python install.

--Irmen.
PS: I've got an Athlon XP 2400+ with 1Gb of RAM....
You really start wondering where all the CPU cycles go...
Jul 18 '05 #2
David Bolen wrote:
I'm in the process of uninstalling 2.4a2 to install 2.4a3 and the
uninstall is running absolutely dog slow and burning 100% cpu while
doing it (all going to mshta.exe). Watching the progress bar it
almost seems to be doing a whole bunch of operations per file or
something.


Indeed it does. MSI is transactional, meaning that everything is
reverted if the operation fails (e.g. through user cancel). When
overwriting or deleting files, this means installer needs to move
the old file out of the way. Then, when the action is committed,
the file can be deleted. Therefore, during uninstall, you see two
actions: first, it says that it removes files, then, it says that
it removes backup files.

Regards,
Martin
Jul 18 '05 #3
David Bolen wrote:
I'm in the process of uninstalling 2.4a2 to install 2.4a3 and the
uninstall is running absolutely dog slow and burning 100% cpu while
doing it (all going to mshta.exe). Watching the progress bar it
almost seems to be doing a whole bunch of operations per file or
something.
Indeed it does. MSI is transactional, meaning that everything is
reverted if the operation fails (e.g. through user cancel). When
overwriting or deleting files, this means installer needs to move
the old file out of the way. Then, when the action is committed,
the file can be deleted. Therefore, during uninstall, you see two
actions: first, it says that it removes files, then, it says that
it removes backup files.

Regards,
Martin
May 19 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4961
by: Rick Muller | last post by:
I've been trying to figure out whether there are any plans to add an "uninstall" feature to the Python distutils. Googling has found several people posting the same question, but, to the best of my...
5
2152
by: Brad Tilley | last post by:
Python 2.3 placed a registry key under: 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Python2.3' When this key was removed, Python no longer appeared in the Windows...
8
3233
by: Alia Khouri | last post by:
If the cannonical way to install a python app is python setup.py install one would expect the following to uninstall it python setup.py uninstall However, distutils doesn't automatically...
5
2163
by: seberino | last post by:
It appears that apps distributed as Python Eggs are either a single compressed blob in site-packages directory or a directory under site-packages directory. Is this ALWAYS true? So by just...
0
7192
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7064
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4991
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
369
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.