View Full Version : Setup Programs in VS.NET

06-24-2004, 02:47 PM
It's been a while since I've done anything with the Setup Wizard in Visual Studio.NET, and even then, I didn't do a whole lot but fill in the blanks. I'm writing a program that saves some preferences and a log of activity to a file. Now in Setup programs the user can specify any location he/she wants for the program files to go in, so how can I know the full path of that log file? I could just specify the file name since the executable and all of it's associated files (except shortcuts) are going to be in the same directory, but how do I know the current directory and the directory in which the files are?

Also, on a completely different subject, I know it's illegal for people to distribute software illegally , but it's also illegal to be in possession of that software even if you had no idea of knowing, right?