Re: File association image for .py

"Luke Dunstan" <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
----- Original Message ----- 
From: "Anne Wangnick" <[email protected]>
To: <[email protected]>
Cc: "Luke Dunstan" <[email protected]>
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: [email protected] [mailto:[email protected]]Im
> Auftrag von Luke Dunstan
> Gesendet: Montag, 24. Juli 2006 17:01
> An: [email protected]; Alex Mandel
> Betreff: Re: [PythonCE] File association image for .py
>
>
>
> ----- Original Message -----
> From: "Alex Mandel" <[email protected]>
> To: <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.