Archive: Is un.post supposed to get called automatically?


Is un.post supposed to get called automatically?
In my MUI installer, it seems that un.post is not getting called during uninstall, should I need do to anything special to call it?

Thanks


What is un.post? A section? A function? If it's a function, have you declared it as a callback function of something?


Whoops, I obviously should have been more explicit. Fair call.

I used the Wizard in Eclipse NSIS to make a script using Modern UI. There are two automatically generated sections of interest, one is called "post", the other "un.post"

"post" gets called from somewhere (I don't know where, I'm assuming a macro somwhere in the MUI include file) at the end of the installation, but "un.post" does not get called at the end of the uninstallation. I'm wondering if there is something I have to do with a MUI macro to get this called.


It's not macro related. All selected sections are automatically executed in the instfiles page. See the tutorial in the documentation.


Thanks, much appreciated.

Anyway, after I did some more diggin, it turns out that the section was getting called, just that none of the functions in it were working.