Hello...I have built a C#.NET WinForms App. I now need to build a MSI installer for the same so that I can ship it to my clients.
I am stuck at the following place.
- I use log4net for Logging. How do I write my App.Config in such a way that the LogFile folder is based on where my end user installs the Application. That is, if my end user installs it on the Default Location of C:\Program Files\\, then the LogFile folder will be C:\Program Files\\*LogFiles*.
If they chose to install it elsewhere, the LogFiles folder will be a sub-folder of the MyApp folder.
- Similarly, I have a TemporaryFiles Folder where I store the temporary files while I am modifying the original files. This again should be a sub-folder of the MyApp Folder.
I also understand that the Application Folder points to the [ProgramFilesFolder][Manufacturer][ProductName], where does the CommonFiles folder point to? And typically what goes inside that?
I use VS2008 for Building the Setup.