What do /SL5, /SPAWNWND, /NOTIFYWND, /DEBUGWND parameters mean?

3,061 views
Skip to first unread message

JConstantine

unread,
Dec 18, 2020, 10:59:07 AM12/18/20
to innosetup
I've been debugging my script and realized that if add PrmCnt := ParamCount; the PrmCnt = 4 without actually passing anything from the command line.

Then I checked what those parameters were like this: CmdParams := GetCmdTail;

Here's what I got:

/SL5="$3404B2,46402082,879616, <path_to_setup.exe>" /SPAWNWND=$2A05AE /NOTIFYWND=$3E0594 /DEBUGWND=$601F6

I've no idea what those things mean and I would like to fully understand it. What are /SL5, /SPAWNWND, /NOTIFYWND, /DEBUGWND? How and when should I use those? I would really appreciate if somebody could elaborate on that but keep the explanations as simple as possible at the same time.

Martijn Laan

unread,
Dec 18, 2020, 11:20:29 AM12/18/20
to inno...@googlegroups.com
Op 18-12-2020 om 16:59 schreef JConstantine:
What are /SL5, /SPAWNWND, /NOTIFYWND, /DEBUGWND? How and when should I use those?

They are internal parameters which you should ignore.

Note: to read command line parameters you should use a {param:...} constant and then you won't notice these parameters.

Greetings,
Martijn
Reply all
Reply to author
Forward
0 new messages