[Python-Dev] Re: Switching to VC.NET 2003

"Martin v. Löwis" martin at v.loewis.de
Sun Jan 18 04:12:16 EST 2004


Bob Arnson wrote:
> To do this, you'd have to treat MENUDIR the same way you treat TARGETDIR: 
 > Provide a default of [ProgramMenuFolder]Python 2.4 and provide a
 > dialog to change it. I'm not aware of any MSI-based installers that 
offer
 > this feature; the current "Windows User Experience" book says you
 > should have critical shortcuts in the root of Programs and a subfolder
 > only if absolutely necessary, so selecting a shortcut folder
 > is kinda awkward...

But isn't it a problem that [ProgramMenuFolder] depends on the value of 
ALLUSERS? I don't set ALLUSERS until the feature selection dialog is
complete, so the magic computing ProgramMenuFolder certainly isn't
invoked at the point I would show that dialog. However, a specific
directory must be computed for the dialog to work, as the directory
browser would have to show the existing items.

It would be best if browsing for the shortcut folder, in the just-for-me
case, would perform the same directory merging that the start menu does
(i.e. combining the all users start menu with the current user's start
menu, then perform modifications only in the current user's
directories). I somewhat doubt this is possible at all.

Regards,
Martin




More information about the Python-Dev mailing list