Trying to optimize my MUI 2 NSIS setup in which I do some ExecWait calls in the .onInstSuccess callback function, I was searching through the documentation to find a callback that is called:
- after the files are all copied -and-
- before the wizard page is being switched from the file copy page to the finish page.
Unfortunately, I found no such callback.
Therefore my question is:
Is it possible to do some custom processing after the files are copied and before the wizard page is being switched away from the file copy page?
Using
MUI_PAGE_CUSTOMFUNCTION_LEAVEis fine. It really depends on if you want the action to take place before or after “Completed” is printed in the log. For the former you can just stick the code in the last section:or
This will of course be part of the progressbar and will print to the log unless you use
setdetailsprint…