I created an application in C# that is launched at login to keep track of software installed through thousands of computers. Maintenance is near impossible since the executable is launched from a network share and is often locked as expected.
The use of another executable file could solve this issue by looking into a xml file for a true/false boolean before accessing the main executable:
AccessManager.exe --> XML, if true --> main.exe
if false, exit!
But I would have then to create another project. Is there any way to avoid that?
EDIT : A database file (SQLite) is in the same folder as the main app.