ChocJunkie
6th October 2009 07:43 UTC
Binding a file when compilating
Hey :)
My installer needs to read a file during installation process. So far that's no problem. For security reasons I would like to include the file/it's content directly into the installer, so that there is no need for the file to exists next to the compiled installer.
Is there any way to do that?
Thanks for any help. :)
CJ
MSG
6th October 2009 07:50 UTC
InitPluginsDir ; (This is only necessary if the installer's temp folder hasn't been created/used yet at this point.)
SetOutPath $PLUGINSDIR
File "YourFileHere.ext"
Don't forget to delete the file from $PLUGINSDIR before the installer finishes.
ChocJunkie
6th October 2009 08:08 UTC
Thank you for you fast answer! :)
I've got the idea to handle it like you've described some minutes ago myself. ^^'