I'm trying to figure out, how to don't use GAC during runtime.
Ok, injected Dll Must find easyhook, and probably that i'm missing something. But i would like to register Easyhook.dll once for all into gac (during installation), not during runtime.
Because if our software register something during runtime, then user must launch the software As administrator.
My goal would be this one :
During install (so only once):
register Easyhook into GAC
place additionnal requiered files (such as EasyHookXXSvc.exe) into System32
place my Inject.dll and all its dependances into target software's working directory
no need to use Register Method
When i call Inject, i give the full path to my inject.dll (witch is inside target software folder).
and that s all, no need to run as admin, no reference count into gac. You see??
I tried to gently modify easyhook source code in that way, but i have a FileLoadException while WaitForInjection is running.
Does anyone tried this too?