messagebox with /sd option throws error
Hi all,
I’ve read the documentation and looked at a few examples in this forum and in the docs.
I'm trying to use the /SD option with MessageBox, but the script doesn't compile. I believe syntax is correct, but it'll be great if you can point anything wrong with it:
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "My text goes here." /SD IDYES +2
The compiler throws an error on this line each time when I compile, but if i take out the /SD switch, the script compiles fine. What could be wrong? Does anything else needs to be set in the script prior to using the /SD switch?