Archive: Want to know the startup path


Want to know the startup path
For my application installation I put some subfolders beside the created install.exe. From this I can call an external task with

 ExecWait '"\Tools\flexid9\install.bat"'


Unfortunately I have also to change the working directory to that subfolder, like this:

          SetOutPath ".\Tools\flexid9\"

But it doesn't work, I guess, because the path will not start from my install.startuppath but from any path.

How can I get the startup path from the install.exe, so that I can can call the comman

 SetOutPath "MyActualStartupPath\Tools\flexid9\"
?

I found no hint or a solution in any documentation

Greeting
funnyfish

http://nsis.sourceforge.net/Docs/Chapter4.html#4.2.3


Thanks a lot...