Hi,
I need to set a variable which will be used in a current run of the program but which will be set from information generated by the preceding run of the program. I know I need to use Custom.nsh in order to do that, but I need some help with it.
Thank you in advance.
You are here
Need some help with Custom.nsh
February 24, 2015 - 4:38am
#1
Need some help with Custom.nsh
Use the "Init" hook to read the information from the previous run [providing a default if none].
Depending on how that data is used, save the information using either the "Pre" hook or the "Post" hook.If the app needs the information, use "Pre". If its just for the launcher, use Post.
Save the information using the "Pre" hook.