py2exe windows apps path question

Grant Edwards grante at visi.com
Tue Aug 2 16:31:08 CEST 2005


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.

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