What does 'repair Python 2.5a1' do?

T

Thomas Heller

What does the repair command in the 2.5a1 msi installer do?

Apparently it does not replace changed files, although it seems
to replace deleted files.

Thomas
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

Thomas said:
What does the repair command in the 2.5a1 msi installer do?

Apparently it does not replace changed files, although it seems
to replace deleted files.

MSI's repair procedure is somewhat complicated. Invoking repair
just sets the REINSTALL property to ALL:

http://msdn.microsoft.com/library/en-us/msi/setup/reinstall.asp?frame=true

By default, this installs all missing files, and reinstalls all files
whose version is lesser than the one in the MSI package. As the Python
files are not versioned, they don't get replaced.

You can further control the actions taken in REINSTALL by setting the
REINSTALLMODE property:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/reinstallmode.asp

So if you want to reinstall everything, you need to set REINSTALLMODE
to, say, "amus" (or "saum").

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top