swap icon/checkboxes on runtime?
this might seem like an odd question, but i was wondering if it was possible to swap the (displayed) icon and/or the checkboxes of an installer at runtime. i know it's possible for the license.
Archive: swap icon/checkboxes on runtime?
swap icon/checkboxes on runtime?
this might seem like an odd question, but i was wondering if it was possible to swap the (displayed) icon and/or the checkboxes of an installer at runtime. i know it's possible for the license.
the icon should be easy enough, call LoadImage with the system plugin and a simple window message to set it, it has probably already been done, search the forum/wiki for LoadImage
As far as checkboxes go, they are loaded into a imagelist IIRC, so you can just use the imagelist api with the system plugin
i found this, but this only works with a second icon resource. i'm a bit clueless how to use this with full/path/to/icon.ico
LoadImage has a flag that tells it to load from a file (nsdialog.nsh might have code that does it, you could look there, or learn win32 :) )