界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

wix-toolset-config

wix-toolset-config

【效率与协作】Configure WiX Toolset for Windows MSI installers

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: wix-toolset-config description: Configure WiX Toolset for Windows MSI installers allowed-tools: Read, Write, Edit, Bash, Glob, Grep tags: [windows, wix, msi, installer, packaging] graph: domains: [domain:software-engineering] specializations: [specialization:desktop-development] skillAreas: [skill-area:cross-platform-desktop, skill-area:deployment-infrastructure-management] roles: [role:desktop-developer, role:fullstack-engineer] workflows: [workflow:feature-development, workflow:release-management]

wix-toolset-config

Configure WiX Toolset for creating Windows MSI installers with proper component structure and features.

Capabilities

  • Generate WiX source files (.wxs)
  • Configure product and package info
  • Set up components and features
  • Configure registry entries
  • Set up services
  • Handle upgrades
  • Configure custom actions

Input Schema

{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "productName": { "type": "string" },
    "version": { "type": "string" },
    "manufacturer": { "type": "string" },
    "upgradeCode": { "type": "string" }
  },
  "required": ["projectPath", "productName", "version"]
}

WiX Example

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Product Id="*"
           Name="My Application"
           Version="1.0.0.0"
           Manufacturer="My Company"
           Language="1033"
           UpgradeCode="PUT-GUID-HERE">

    <Package InstallerVersion="200"
             Compressed="yes"
             InstallScope="perMachine"/>

    <MajorUpgrade DowngradeErrorMessage="A newer version is already installed."/>

    <MediaTemplate EmbedCab="yes"/>

    <Feature Id="ProductFeature" Title="My Application" Level="1">
      <ComponentGroupRef Id="ProductComponents"/>
    </Feature>
  </Product>

  <Fragment>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLFOLDER" Name="MyApplication"/>
      </Directory>
    </Directory>
  </Fragment>

  <Fragment>
    <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
      <Component Id="MainExecutable">
        <File Source="$(var.SourceDir)\MyApp.exe"/>
      </Component>
    </ComponentGroup>
  </Fragment>
</Wix>

Related Skills

  • nsis-installer-generator
  • msix-package-generator
我的收藏