0

I have a project in C# that uses dll (class library). This dll was written by another developer but now he is not our employee anymore and i can't change code of this dll. The class in this dll writes log file in current directory. But i want make installer for this project. If it installed in "Program Files" directory then program will crash. It happenes because of some class in this dll that try to write log file, but program doesn't has permission to do that. Does anyone has some advices?

1 Answers1

0

Maybe you could use a Custom Action (Customizing Windows Installer Packages) to modify the rights of the created directory, so that each user has write access and can create or modify that log file(How to set access rights wih c#).

Community
  • 1
  • 1
Sukram
  • 456
  • 3
  • 16