Hi guys
First Im a real noob, I just create my own very simple launchers to make the (few) apps I use portable.
I usually copy the files needed by the launched app to the locations it expects to find them, like to %appdata etc
But when the file to be copied is big, it would be a much better option not to copy the file, but just pretending its there.
For instance I have an app that expect a big 60mb .dll file to be in $COMMONFILES64
Is there any command, to tell the .exe to look for its dll somewhere else at runtime ?
Smething like :
set path $COMMONFILES64 = $EXEDIR\Data\Commonfiles64 or something ?
Or even better, to ADD (not substitute) a path, relative to the laucnhed exe, in case changing the commonfiles location could interfere with another app, running at the time, and which would also access this folder ?
Thanks
Substitute $COMMONFILES64 with relative path
4 posts
It really depends on how the app finds and loads the .dll.
You could try cmd.exe first: set path=%path%;x:\data\dlls and then start the app. If that does not work then you probably have to modify the app itself in ways that are not possible with NSIS...
You could try cmd.exe first: set path=%path%;x:\data\dlls and then start the app. If that does not work then you probably have to modify the app itself in ways that are not possible with NSIS...
I tried and it doesnt work 🙁
Thanks for your help, cheers.
Thanks for your help, cheers.
no relativ possible - pls read:
http://helpnet.flexerasoftware.com/i...MONFILES64.htm
http://helpnet.flexerasoftware.com/i...MONFILES64.htm