Is it possible to load DLL located inside the unins000.exe
instead of a file system or {app}
path?
I want to hide this DLL and load it only while uninstalling.
Thank you
Is it possible to load DLL located inside the unins000.exe
instead of a file system or {app}
path?
I want to hide this DLL and load it only while uninstalling.
Thank you
It's difficult to embed files into the uninstaller (unins000.exe
).
But it's possible, see my answer to How keep uninstall files inside uninstaller?
Another way to "hide" the DLL, you can just rename it to some non-obvious extension.
Or to go a step further, pack it for some archive format. You can use Windows .cab
format for example. For that you have tools (extract.exe
and makecab.exe
in all modern versions of Windows (XP and up at least).
Note that no matter what you try, there's no way to prevent the user from accessing the DLL (even if you embed it to the uninstaller). You can only make it hard.