NSIS

1 program Added 2025-10-30T10:18:36Z Model: x-ai/grok-4-fastTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit f14d44c68d · authored 2025-10-30T11:18:36+01:00 · model x-ai/grok-4-fast

Sources mentioning this language

6 sources · pl_id: pl/nsis
LLM (this repo) · 1PldbLinguistPygmentsHyperpolyglotRosettacode

Extensions claimed by this language

4 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.nsilinguistprimary189.7K files
.nsipygmentsprimary189.7K files
.nshlinguistsecondary57.5K files
.nshpygmentssecondary57.5K files

Related languages

HAGGIS (0.17)MANTIS (0.17)Genyris (0.15)Idris 1 (0.14)Idris2 (0.14)

LLM-contributed programs

Hello World NSIS Script

Provenance: commit f14d44c68d · authored 2025-10-30T11:18:36+01:00 · model x-ai/grok-4-fast · Temp 0.4
code.nsi · added: 2025-10-30T10:18:36Z
; Hello, world!
Name "Hello World"
OutFile "Hello.exe"
Section "."
  MessageBox MB_OK "Hello, world!"
SectionEnd

Real programs from Software Heritage

1 sample mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
sect_PascalABCParser.nsh · 2926 B · ext .nsh · seen 1203× in SWH
via fallback
swh:1:cnt:45a47699527d207feb84983557270f6aa45e42d5;origin=https://github.com/ForNeVeR/pascalabcnet.cecil;anchor=swh:1:rev:e6e67c193c17759ee72a42dce8c2e98784b1ca3a;path=/ReleaseGenerators/sect_PascalABCParser.nsh
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
  Section $(DESC_PascalABCNET_Language) PascalABCParser
    SectionIn 1 2 RO
    SetOutPath "$INSTDIR"
    File "..\bin\PascalABCParser.dll"
	${AddFile} "PascalABCParser.dll"
;    File "..\bin\PascalABCPartParser.dll"
    SetOutPath "$INSTDIR\Highlighting"
    File "..\bin\Highlighting\PascalABCNET.xshd"
	${AddFile} "PascalABCNET.xshd"
    Push "PascalABCParser.dll"
    Call NGEN
;    Push "PascalABCPartParser.dll"
;    Call NGEN
    SetOutPath "$INSTDIR\Ico"
    File "..\bin\Ico\pas.ico"
	${AddFile} "pas.ico"
	File "..\bin\Ico\pabcproj.ico"
	${AddFile} "pabcproj.ico"
	
	;remove PAS file type
    DeleteRegKey HKCR "pabcproj"
    ;insalling PAS file type
    ReadRegStr $R0 HKCR ".pabcproj" ""
    StrCmp $R0 "PascalABCNET.PascalABCNETProject" 0 +2
      DeleteRegKey HKCR "PascalABCNET.PascalABCNETProject"
    WriteRegStr HKCR ".pabcproj" "" "PascalABCNET.PascalABCNETProject"
    WriteRegStr HKCR "PascalABCNET.PascalABCNETProject" "" "PascalABC.NET Project"
    WriteRegStr HKCR "PascalABCNET.PascalABCNETProject\DefaultIcon" "" "$INSTDIR\Ico\pabcproj.ico"
    ReadRegStr $R0 HKCR "PascalABCNET.PascalABCNETProject\shell\open\command" "" 
    StrCmp $R0 "" 0 no_nshopen
      WriteRegStr HKCR "PascalABCNET.PascalABCNETProject\shell" "" "open"
      WriteRegStr HKCR "PascalABCNET.PascalABCNETProject\shell\open\command" "" '"$INSTDIR\PascalABCNET.exe" "%1"'
    no_nshopen:
    WriteRegStr HKCR "PascalABCNET.PascalABCNETProject\shell\compile" "" $(DESC_Compile)
    WriteRegStr HKCR "PascalABCNET.PascalABCNETProject\shell\compile\command" "" '"$INSTDIR\pabcnetc.exe" "%1"'
  SectionEnd
  Section $(DESC_PascalABCParserRegistation) PascalABCParserRegistation
    SectionIn 1 2
    ;remove PAS file type
    DeleteRegKey HKCR "pas"
    ;insalling PAS file type
    ReadRegStr $R0 HKCR ".pas" ""
    StrCmp $R0 "PascalABCNET.PascalABCNETParser" 0 +2
      DeleteRegKey HKCR "PascalABCNET.PascalABCNETParser"
    WriteRegStr HKCR ".pas" "" "PascalABCNET.PascalABCNETParser"
    WriteRegStr HKCR "PascalABCNET.PascalABCNETParser" "" "Pascal Program"
    WriteRegStr HKCR "PascalABCNET.PascalABCNETParser\DefaultIcon" "" "$INSTDIR\Ico\pas.ico"
    ReadRegStr $R0 HKCR "PascalABCNET.PascalABCNETParser\shell\open\command" "" 
    StrCmp $R0 "" 0 no_nshopen
      WriteRegStr HKCR "PascalABCNET.PascalABCNETParser\shell" "" "open"
      WriteRegStr HKCR "PascalABCNET.PascalABCNETParser\shell\open\command" "" '"$INSTDIR\PascalABCNET.exe" "%1"'
    no_nshopen:
    WriteRegStr HKCR "PascalABCNET.PascalABCNETParser\shell\compile" "" "Компилировать"
    WriteRegStr HKCR "PascalABCNET.PascalABCNETParser\shell\compile\command" "" '"$INSTDIR\pabcnetc.exe" "%1"'
;    WriteRegStr HKCR "PascalABCNET.PascalABCNETParser\shell\openinpascalabc" "" "Открыть в Pascal ABC"
;    WriteRegStr HKCR "PascalABCNET.PascalABCNETParser\shell\compile\openinpascalabc" "" '"$INSTDIR\pabcnetc.exe" "%1"'
  SectionEnd

Contribute — propose a file extension

Tell us where to find evidence about NSIS (mapped to pl/nsis). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/NSIS/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← NScripter nsl →