py2exe windows apps path question

vincent wehren vincent at visualtrans.de
Tue Aug 2 13:29:26 EDT 2005


"Grant Edwards" <grante at visi.com> schrieb im Newsbeitrag 
news:11ev0tcg9n2ndd at corp.supernews.com...
|I have several python apps (some wxPython, some plain text-mode
| stuff) that I distribute internally for installation on Win32
| machines.  They're bundled/installed using py2exe and inno
| setup.
|
| I followed what I think is the normal procedure of installing
| each app in its own directory under /Program
| Files/<vendor>/<app>.
|
| The problem is that the apps only run if they're started with
| the install directory as the current working directory.
| Otherwise they can't find the .dll's they use from the install
| directory.

AFAIK, Windows normally *does* search the directory where the executable 
module for the current process lives in for dlls. What sort of dlls are 
given you trouble?

--

Vincent Wehren




|
| Is there some way to temporarily add the app's install
| directory to the search path for .dll's?
|
| -- 
| Grant Edwards                   grante             Yow!  .. I think I'd
|                                  at               better go back to my 
DESK
|                               visi.com            and toy with a few 
common
|                                                   MISAPPREHENSIONS... 





More information about the Python-list mailing list