Bugs item #1161187, was opened at 2005-03-11 03:56
Message generated for change (Comment added) made by tim_one
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1161187&group_id=5470

Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Spider (m_webber_sydney)
Assigned to: Martin v. Löwis (loewis)
Summary: Install problem 2.4.1rc1 on Win98

Initial Comment:
Python 2.4.1 Release Candidate 1.

I installed (with all the defautl settings)
python-2.4.1c1.msi on a Windows 98 machine.

The shortcuts in the Start / Programs / Python 2.4
group includes a shortcut named "Python Manuals".

This shortcut is inactive  - does not point to anything
valid, and clicking on it does not bring up the manuals.

I assume that the shortcut should point to
C:/Python24/Doc/Python24.chm which certainly exists on
my machine and works ok if I access it directly.

I guess the install builds the shortcut wrongly.


----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2005-03-12 13:16

Message:
Logged In: YES 
user_id=31435

Hmm.  On my box (WinXP, etc), _all_ the shortcut property 
sheets look like this (greyed out target, disabled buttons) 
with the sole exception of "Uninstall Python".  Why they 
don't come up with editable strings and "Find Target ..." 
enabled remains a mystery then.

----------------------------------------------------------------------

Comment By: Spider (m_webber_sydney)
Date: 2005-03-12 08:05

Message:
Logged In: YES 
user_id=1237039

Installer was already on the machine.
I am testing this under VMWare, by the way.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2005-03-12 07:13

Message:
Logged In: YES 
user_id=21627

Did you install Installer 2.0 as part of the Python
installation, or was it already on your machine? If you did
install it, did you reboot after installing it?

----------------------------------------------------------------------

Comment By: Spider (m_webber_sydney)
Date: 2005-03-12 06:59

Message:
Logged In: YES 
user_id=1237039

As requested, I uninstalled, rebooted and then installed with

C;\windows\system\msiexec.exe /i python-2.4.1c1.msi
DISABLEADVTSHORTCUTS=1

That worked, and the shortcut to the Manuals was correctly
built this time (I did not need to reboot).

Let me know if you want any further tests.

Matthew


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2005-03-12 06:16

Message:
Logged In: YES 
user_id=21627

Also, did you reboot the machine after installing the
install 2.0? According to

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

advertised shortcuts don't work until the machine is rebooted.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2005-03-12 06:14

Message:
Logged In: YES 
user_id=21627

m_webber_sydney, can you please also try the following
procedure, and report whether it changes anything?

- uninstall your current 2.4.1 installation
- reinstall it, using the following command in a command.com
window

msiexec /i python-2.4.1c1.msi DISABLEADVTSHORTCUTS=1


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2005-03-12 05:59

Message:
Logged In: YES 
user_id=21627

It's an "advertised shortcut" - a special OLE file  that the
shell recognizes and unpacks as a link. However, before
unpacking it, it verifies that the target file is there, and
if it isn't, it invokes invokes installer to provide the file.

According to Microsoft's documentation, installer checks
whether the IShellLink interface supports "installer
description resolution", which should be the case for W2k,
W98, and systems running IE4. If installer determines that
the system does not support advertisement, it creates an
unadvertised shortcut. So it "ought to" work on all systems.

The IDLE shortcut is unadvertised, because it is not
possible to trigger the Tkinter installation correctly.

m_webber_sydney, does the "Python (command line)" link work
correctly? It is built in the same way.


----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2005-03-11 10:42

Message:
Logged In: YES 
user_id=31435

Assigning to Martin.  Martin, what kind of "shortcut" does the 
installer build now -- could it perhaps depend on an NTFS 
feature, like hard links?  Why I ask:

When I right-click on, e.g., "IDLE (Python GUI)" and select 
Properties in a 2.3 installation, I get "the expected" kind of 
window, with a Shortcut tab containing

C:\Python23\pythonw.exe "C:\Python23\Lib\idlelib\idle.pyw"

in the Target box, which is an editable string.  When I do the 
same with 2.4.1c1 (and don't know about 2.4 -- never tried 
this there), the Shortcut tab's Target box contains just

Python 2.4.1c1

and that's greyed out -- can't edit it.  The "Find Target .." 
and "Change Icon .." buttons are greyed out too.

It _works_ for me anyway, but I'm on WinXP + NTFS here.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1161187&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to