[PythonCE] File association image for .py

Luke Dunstan coder_infidel at hotmail.com
Thu Jul 27 17:17:27 CEST 2006


----- Original Message ----- 
From: "Anne Wangnick" <anne at wangnick.de>
To: <pythonce at python.org>
Cc: "Luke Dunstan" <coder_infidel at hotmail.com>
Sent: Thursday, July 27, 2006 4:02 AM
Subject: AW: [PythonCE] File association image for .py


> Hello Luke,
>
> watch out. In foreign versions of Windows CE the folder might be called
> something else than "Program Files". E.g., in the German version it's 
> called
> "Programme". I'm quite sure though that the name of the folder can be 
> found
> in the registry under a generic path.
>
> Regards,
> Sebastian Wangnick

Yes, this is already handled by the CAB file installer, because the .inf 
file contains:

InstallDir  = %CE1%\%AppName%

Luke

>
> -----Ursprungliche Nachricht-----
> Von: pythonce-bounces at python.org [mailto:pythonce-bounces at python.org]Im
> Auftrag von Luke Dunstan
> Gesendet: Montag, 24. Juli 2006 17:01
> An: pythonce at python.org; Alex Mandel
> Betreff: Re: [PythonCE] File association image for .py
>
>
>
> ----- Original Message -----
> From: "Alex Mandel" <tech_dev at wildintellect.com>
> To: <pythonce at python.org>
> Sent: Friday, July 21, 2006 5:13 AM
> Subject: [PythonCE] File association image for .py
>
>
>>I know it's a little trivial but it's the kind of thing that end users
>> really like. Anyone know how to add a registry entry so the .py files
>> get a nice python icon in the File Explorer.
>
> Create a registry key: HKEY_CLASSES_ROOT\Python.File\DefaultIcon
> Set the default value of this key to: \Program Files\Python24\python.exe,0
>
>> I'm assuming that it can be done in the PythonCE.inf for the CAB but I
>> don't know the syntax. If someone knows how, I think it should be added
>> to the next release.
>
> Yes, it will be in the next release.
>
> Luke
>
>> Thanks,
>> Alex


More information about the PythonCE mailing list