From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:NSIS installer" |
|---|
| claim | "NSIS variable indexes (after string code 3 and in instruction operands): 0-9 $0-$9, 10-19 $R0-$R9, 20 $CMDLINE, 21 $INSTDIR, 22 $OUTDIR, 23 $EXEDIR, 24 $LANGUAGE, 25 $TEMP, 26 $PLUGINSDIR, 27 $EXEPATH, 28 $EXEFILE, 29 $HWNDPARENT, 30 $_CLICK, 31 $_OUTDIR; the script's Var declarations follow from 32." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:NSIS installer" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "nsis_variable" |
|---|
| values | | 20 | "CMDLINE" |
|---|
| 21 | "INSTDIR" |
|---|
| 22 | "OUTDIR" |
|---|
| 23 | "EXEDIR" |
|---|
| 24 | "LANGUAGE" |
|---|
| 25 | "TEMP" |
|---|
| 26 | "PLUGINSDIR" |
|---|
| 27 | "EXEPATH" |
|---|
| 28 | "EXEFILE" |
|---|
| 29 | "HWNDPARENT" |
|---|
| 30 | "_CLICK" |
|---|
| 31 | "_OUTDIR" |
|---|
| 0-9 | "VAR_0_TO_9" |
|---|
| 10-19 | "VAR_R0_TO_R9" |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "m_UserVarNames registration order with index comments" |
|---|
| repo | "https://github.com/kichik/nsis" |
|---|
| commit | "f0bfe3e0062c57dc1ef90f1d235c7c0bd5a43be4" |
|---|
| path | "Source/build.cpp" |
|---|
| lines | "320-346" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "plugin DLLs in 4 uninstallers are extracted to variable 26 ($PLUGINSDIR); the uninstaller command line string uses 25 ($TEMP) and 21 ($INSTDIR)" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Built-in variable indexes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T20:08:00.806Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:50:31.400Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read Source/build.cpp at f0bfe3e0 lines 320-346: $0-$9 = 0-9, $R0-$R9 = 10-19, CMDLINE 20, INSTDIR 21, OUTDIR 22, EXEDIR 23, LANGUAGE 24, TEMP 25, PLUGINSDIR 26, EXEPATH 27, EXEFILE 28, HWNDPARENT 29, _CLICK 30, _OUTDIR 31; m_iBaseVarsNum is 32. Complete. Runtime observations not re-checked." |
|---|
|
|
|---|