Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

python dll no longer in system directory?

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


theller at ctypes

Oct 8, 2008, 11:16 AM

Post #1 of 7 (323 views)
Permalink
python dll no longer in system directory?

Is it intended that python30.dll and python26.dll are not longer
installed in the \windows\system32 directory?

This (pythonxy.dll not on $PATH) causes problems for COM objects
implemented in Python.

Thanks,
Thomas

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


lists at cheimes

Oct 8, 2008, 11:43 AM

Post #2 of 7 (313 views)
Permalink
Re: python dll no longer in system directory? [In reply to]

Thomas Heller wrote:
> Is it intended that python30.dll and python26.dll are not longer
> installed in the \windows\system32 directory?
>
> This (pythonxy.dll not on $PATH) causes problems for COM objects
> implemented in Python.

How did you install Python 2.6? Did you install it only for yourself or
for all users?

Christian

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


theller at ctypes

Oct 8, 2008, 11:51 AM

Post #3 of 7 (313 views)
Permalink
Re: python dll no longer in system directory? [In reply to]

Christian Heimes schrieb:
> Thomas Heller wrote:
>> Is it intended that python30.dll and python26.dll are not longer
>> installed in the \windows\system32 directory?
>>
>> This (pythonxy.dll not on $PATH) causes problems for COM objects
>> implemented in Python.
>
> How did you install Python 2.6? Did you install it only for yourself or
> for all users?
>

For all users. I only deselected the 'register file extensions' option.
This is on XP SP3, with admin rights.

--
Thanks,
Thomas

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Oct 8, 2008, 1:00 PM

Post #4 of 7 (313 views)
Permalink
Re: python dll no longer in system directory? [In reply to]

Thomas Heller wrote:
> Is it intended that python30.dll and python26.dll are not longer
> installed in the \windows\system32 directory?

No, it's not. Please create a bug report (or, better, study the
msiexec logs, and msi.py, to find out why this happens).

I might not have time to look into this before the next release
candidate.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


amauryfa at gmail

Oct 9, 2008, 2:40 AM

Post #5 of 7 (301 views)
Permalink
Re: python dll no longer in system directory? [In reply to]

2008/10/8 "Martin v. Löwis" <martin[at]v.loewis.de>:
> Thomas Heller wrote:
>> Is it intended that python30.dll and python26.dll are not longer
>> installed in the \windows\system32 directory?
>
> No, it's not. Please create a bug report (or, better, study the
> msiexec logs, and msi.py, to find out why this happens).
>
> I might not have time to look into this before the next release
> candidate.

I confirm this. The following lines in msi.py seem to be the cause of
the change:

#dlldir = PyDirectory(db, cab, root, srcdir, "DLLDIR", ".")
#install python30.dll into root dir for now
dlldir = root

They were added by r61109: " Bundle msvcr90.dll as a "private assembly". "
but I don't know if simply restoring the previous value will work in every case:
If the C Run-Time is installed "privately", then python26.dll must
stay in c:\python26.

--
Amaury Forgeot d'Arc
_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


theller at ctypes

Oct 9, 2008, 11:21 AM

Post #6 of 7 (297 views)
Permalink
Re: python dll no longer in system directory? [In reply to]

Amaury Forgeot d'Arc schrieb:
> 2008/10/8 "Martin v. Löwis" <martin[at]v.loewis.de>:
>> Thomas Heller wrote:
>>> Is it intended that python30.dll and python26.dll are not longer
>>> installed in the \windows\system32 directory?
>>
>> No, it's not. Please create a bug report (or, better, study the
>> msiexec logs, and msi.py, to find out why this happens).

Done. http://bugs.python.org/issue4091

>> I might not have time to look into this before the next release
>> candidate.
>
> I confirm this. The following lines in msi.py seem to be the cause of
> the change:
>
> #dlldir = PyDirectory(db, cab, root, srcdir, "DLLDIR", ".")
> #install python30.dll into root dir for now
> dlldir = root
>
> They were added by r61109: " Bundle msvcr90.dll as a "private assembly". "
> but I don't know if simply restoring the previous value will work in every case:
> If the C Run-Time is installed "privately", then python26.dll must
> stay in c:\python26.
>

Amaury, can you add your analysis to the tracker, please?

--
Thanks,
Thomas

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Oct 9, 2008, 11:41 AM

Post #7 of 7 (297 views)
Permalink
Re: python dll no longer in system directory? [In reply to]

> I confirm this. The following lines in msi.py seem to be the cause of
> the change:
>
> #dlldir = PyDirectory(db, cab, root, srcdir, "DLLDIR", ".")
> #install python30.dll into root dir for now
> dlldir = root
>
> They were added by r61109: " Bundle msvcr90.dll as a "private assembly". "
> but I don't know if simply restoring the previous value will work in every case:
> If the C Run-Time is installed "privately", then python26.dll must
> stay in c:\python26.

Ah, ok. Maybe I can find some time next week to look into this, but I
wouldn't mind if anybody else did.

In any case, thanks for this research so far (and too bad that nobody
noticed throughout all the beta releases).

Regards,
Martin

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.