Skip to content
⌘ NSIS Forum Archive

Set ListItems immediately

3 posts

MrWhammy#edited

Set ListItems immediately

Hi,
  • I know I can set text on a control like this (in the leave page callback):
    GetDlgItem $1 $HWND_C 1203
    SendMessage $1 ${WM_SETTEXT} 0 "STR:My Text"

    Is it possible to set the listitems like this?
  • Is it possible to get a return value from the uninstaller to see if it uninstalled? (I'm using this because several versions can be installed at once, and if you install a new one, you get the option to uninstall other versions/instances. Once successfully uninstalled, I'd like to remove the entries from the list) Now it immediately returns 0, I guess it starts another process.
  • Is it possible to make the uninstaller hold until a service has stopped (using servicelib.nsh)?



Thanks,
Brecht
kichik#
See these about list boxes:

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


See this about waiting for uninstallers: