All,
I am currently creating a Visual Studio 2008 Setup Project using C#. I
am successfully running some custom actions and need to add another
based on the current directory the application is running in. So far I
have tried:
Directory.GetCurrentDirectory()
Environment.CurrentDirectory
Nothing in the Environment.GetEnvironmentVariables Dictionary helps me
either.
No matter how I try to get the current directory, it always ends up
being c:\windows\system32. This is the case no matter where I run this
application from.
If I run the application from c:\TEMP I expect the current directory to
be c:\TEMP.
Can anyone shed some light on this issue?
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***