Nsis Installer Generator
Developmentnsis-installer-generatorNsis Installer Generator is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Generate NSIS installer scripts for Windows with custom UI and features
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/desktop-development/skills/nsis-installer-generator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/nsis-installer-generator, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
nsis-installer-generator
Generate NSIS (Nullsoft Scriptable Install System) installer scripts for Windows applications.
Capabilities
- Generate NSIS scripts
- Configure installer UI
- Set up components selection
- Configure file associations
- Add registry entries
- Create shortcuts
- Configure uninstaller
Input Schema
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"appName": { "type": "string" },
"version": { "type": "string" },
"components": { "type": "array" },
"createShortcuts": { "type": "boolean" }
},
"required": ["projectPath", "appName", "version"]
}
NSIS Script Example
!include "MUI2.nsh"
Name "My Application"
OutFile "MyApp-Setup.exe"
InstallDir "$PROGRAMFILES\MyApp"
RequestExecutionLevel admin
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
Section "Install"
SetOutPath $INSTDIR
File /r "dist\*.*"
WriteUninstaller "$INSTDIR\Uninstall.exe"
CreateShortcut "$DESKTOP\MyApp.lnk" "$INSTDIR\MyApp.exe"
SectionEnd
Section "Uninstall"
Delete "$DESKTOP\MyApp.lnk"
RMDir /r "$INSTDIR"
SectionEnd
Related Skills
wix-toolset-configwindows-authenticode-signer