Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python DLL in Windows Folder

Reply
Thread Tools

Python DLL in Windows Folder

 
 
Markus Gritsch
Guest
Posts: n/a
 
      12-23-2007
Hi,

why does the Python installer on Windows put the Python DLL into the
Windows system32 folder? Wouldn't it be more clean to place it into
the Python installation folder beside the python.exe file?

Kind regards,
Markus
 
Reply With Quote
 
 
 
 
Thorsten Kampe
Guest
Posts: n/a
 
      12-23-2007
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
> why does the Python installer on Windows put the Python DLL into the
> Windows system32 folder?


Are you sure it does?!

Thorsten
 
Reply With Quote
 
 
 
 
Markus Gritsch
Guest
Posts: n/a
 
      12-23-2007
On 23/12/2007, Thorsten Kampe <(E-Mail Removed)> wrote:
> * Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
> > why does the Python installer on Windows put the Python DLL into the
> > Windows system32 folder?

>
> Are you sure it does?!


Yes.

Markus
 
Reply With Quote
 
Thorsten Kampe
Guest
Posts: n/a
 
      12-24-2007
* Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
> On 23/12/2007, Thorsten Kampe <(E-Mail Removed)> wrote:
> > * Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
> > > why does the Python installer on Windows put the Python DLL into the
> > > Windows system32 folder?

> >
> > Are you sure it does?!

>
> Yes.


If you choose "install just for me" it doesn't.
 
Reply With Quote
 
Markus Gritsch
Guest
Posts: n/a
 
      12-24-2007
On 24/12/2007, Thorsten Kampe <(E-Mail Removed)> wrote:
> * Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
> > On 23/12/2007, Thorsten Kampe <(E-Mail Removed)> wrote:
> > > * Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
> > > > why does the Python installer on Windows put the Python DLL into the
> > > > Windows system32 folder?
> > >
> > > Are you sure it does?!

> >
> > Yes.

>
> If you choose "install just for me" it doesn't.


Interesting. Therefore you asked me if I am sure Does this mean,
that COM stuff does not work when installing Python "just for me"?

Markus
 
Reply With Quote
 
Markus Gritsch
Guest
Posts: n/a
 
      12-25-2007
On 24/12/2007, Markus Gritsch <(E-Mail Removed)> wrote:
> On 24/12/2007, Thorsten Kampe <(E-Mail Removed)> wrote:
> > * Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
> > > On 23/12/2007, Thorsten Kampe <(E-Mail Removed)> wrote:
> > > > * Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
> > > > > why does the Python installer on Windows put the Python DLL into the
> > > > > Windows system32 folder?
> > > >
> > > > Are you sure it does?!
> > >
> > > Yes.

> >
> > If you choose "install just for me" it doesn't.

>
> Interesting. Therefore you asked me if I am sure Does this mean,
> that COM stuff does not work when installing Python "just for me"?


Indeed, pywin32 stops working I installed Python "just for me",
then I installed pywin32-210, and now Pythonwin.exe is not able to
start. So for this scenario it seems to be necessary, that the Python
DLL is installed into the system32 folder.

Maybe the Python installer should issue a warning that pywin32 will
not be able to work when using the option "just for me"?

Kind regards,
Markus
 
Reply With Quote
 
Martin v. L÷wis
Guest
Posts: n/a
 
      12-26-2007
> Indeed, pywin32 stops working I installed Python "just for me",
> then I installed pywin32-210, and now Pythonwin.exe is not able to
> start. So for this scenario it seems to be necessary, that the Python
> DLL is installed into the system32 folder.
>
> Maybe the Python installer should issue a warning that pywin32 will
> not be able to work when using the option "just for me"?


That is not supposed to happen; pywin32 should work. Just COM servers
written in Python may not.

Regards,
Martin
 
Reply With Quote
 
Markus Gritsch
Guest
Posts: n/a
 
      12-27-2007
On 27/12/2007, "Martin v. L÷wis" <(E-Mail Removed)> wrote:
> > Indeed, pywin32 stops working I installed Python "just for me",
> > then I installed pywin32-210, and now Pythonwin.exe is not able to
> > start. So for this scenario it seems to be necessary, that the Python
> > DLL is installed into the system32 folder.
> >
> > Maybe the Python installer should issue a warning that pywin32 will
> > not be able to work when using the option "just for me"?

>
> That is not supposed to happen; pywin32 should work. Just COM servers
> written in Python may not.


Ok, my mistake. I was launching Pythonwin.exe by double clicking on
the executable, which works when Python is installed "for all users"
and does not work when installed "just for me". When Pythonwin is
launched by clicking on the shortcut in the start menu, which sets the
CWD to the Python installation folder, it works also when Python is
installed "just for me".

Kind regards,
Markus
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Python DLL in Windows Folder Markus Gritsch Python 1 12-23-2007 11:35 PM
How to determine if a DLL is a COM DLL or .NET DLL Anushi ASP .Net 5 10-28-2004 01:59 PM
Why does Ruby use both tcl83.dll and tk83.dll (instead of just tk83.dll)? H. Simpson Ruby 4 08-03-2004 04:45 PM
mprapi.dll --> samlib.dll --> ntdll.dll issue. Some1 Computer Support 4 04-05-2004 02:02 AM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM



Advertisments