Can somebody tell me how I can detect the install location for my windows service in the manner of Application.StartupPath that I would use for a Windows forms location?
I need to be able to open an ini file located in the same folder as the service. The deployment will be done using an msi so the users can install the service to any location so the service will need to know where to look for the .ini.
TIA
I need to be able to open an ini file located in the same folder as the service. The deployment will be done using an msi so the users can install the service to any location so the service will need to know where to look for the .ini.
TIA