Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Issue with MessageBox /SD and goto parameters (http://forums.winamp.com/showthread.php?t=421086)

Mircea M 19th June 2017 13:26

Issue with MessageBox /SD and goto parameters
 
Hi all,

I'm trying the following:
Quote:

MessageBox MB_ICONEXCLAMATION|MB_ABORTRETRYIGNORE "Update for Universal C Runtime installation finished with unknown Exit Code $0" /SD IDIGNORE done IDRETRY start
This throws an error:
Quote:

Usage: MessageBox mode messagebox_text [/SD return] [return_check label_to_goto_if_equal [return_check2 label2]]
mode=modeflag[|modeflag[|modeflag[...]]]
modeflag=(MB_ABORTRETRYIGNORE|MB_OK|
MB_OKCANCEL|MB_RETRYCANCEL|MB_YESNO|
MB_YESNOCANCEL|MB_ICONEXCLAMATION|MB_ICONINFORMATION
|MB_ICONQUESTION|MB_ICONSTOP|MB_USERICON|MB_TOPMOST|
MB_SETFOREGROUND|MB_RIGHT
As soon as I remove "/SD" the script compiles successfully. And idea why?
Thanks,
Mircea

Anders 19th June 2017 14:32

Invalid parameters? Syntax is [/SD IDx] [IDx label [IDx label]]

Quote:

MessageBox MB_ICONEXCLAMATION|MB_ABORTRETRYIGNORE "Update for Universal C Runtime installation finished with unknown Exit Code $0" /SD IDIGNORE IDIGNORE done IDRETRY start

Mircea M 19th June 2017 14:48

OMG, in my face! :igor:

Thanks!


All times are GMT. The time now is 17:21.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.