Archive: Swap out some functions in an extra file


Swap out some functions in an extra file
Please help me with a link to an example, that's enough.

How can I swap out some functions in an extra file ?

Documentation doesn't mention this, under the item "functions"...


can you define what you mean by "swap out some functions"?

do you just mean placing the functions into a separate file, then referencing that file from your main installer script?
If so... just copy/cut the functions from your main installer script to a new script file, save as filename.nsh (don't need to, but the 'h' stands for 'header' and would make sense to use instead of .nsi), and in your main script use "!include filename.nsh"


I suspect congahonga wants to redefine existing functions. As far as I know, this is not possible.