PDA

View Full Version : How to get the original installer path



smalltalk
09-02-2005, 03:48 AM
I'm trying to read a file in the same folder with the installer during a installing procedure. But I found that the SRCDIR system variable returns incorrect path name. It's the name of the temporary folder not the path of the installer.
Is there any way to get the original path of the installer?

Thanks

RobertDickau
09-02-2005, 07:43 AM
Perhaps see if SETUPEXEDIR contains the value you want.

smalltalk
09-02-2005, 09:02 PM
Thanks, Robert!

It works great.