Nsis installer generator

From a5c-ai/babysitter · View interactive version

Nsis installer generator is an AI agent skill from the GitHub repository a5c-ai/babysitter. Generate NSIS installer scripts for Windows with custom UI and features

How to use this skill

Skill file

nsis-installer-generator

Generate NSIS (Nullsoft Scriptable Install System) installer scripts for Windows applications.

Capabilities

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.