per-user-wix-msi-packaging

Package WPF desktop apps as per-user MSI installers with WiX SDK.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/BSchafer01/PanelNester --skill per-user-wix-msi-packaging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: per-user-wix-msi-packaging
Source: https://github.com/BSchafer01/PanelNester/tree/main/.squad/skills/per-user-wix-msi-packaging
Command: npx skills add https://github.com/BSchafer01/PanelNester --skill per-user-wix-msi-packaging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Package Windows desktop apps as per-user MSI installers using WiX SDK to enable per-user deployments without requiring admin elevation.

Core Features & Use Cases

  • Add a dedicated WiX SDK project to the repo and wire it into the solution so MSI generation is a first-class build path.
  • Keep packaging self-contained in the installer project: build any web assets, publish the desktop project to a staging folder, and harvest that staged payload for the MSI.
  • For WPF/WebView2 apps, ensure the published WebApp folder is replaced with the real dist output before packaging so installed bits are up to date.
  • Set the WiX package scope to perUser and install under a user-writable path like %LocalAppData%\Programs{Product}.
  • Add only user-scoped shell integration (e.g., Start Menu shortcuts backed by HKCU keys) so the installer remains per-user.
  • Document and suppress non-critical ICEs when harvesting per-user payloads to avoid an admin-wide install.

Quick Start

Create a per-user WiX-based installer project, wire it into the solution, publish the desktop app to a staging folder, and build the MSI.

Frequently Asked Questions about per-user-wix-msi-packaging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I package a WPF app as a per-user MSI installer?

To package a WPF app as a per-user MSI, add a dedicated WiX SDK project to your solution, publish the desktop app to a staging folder, and set the WiX package scope to perUser for installation without admin elevation.

Does WiX support per-user MSI installations without requiring admin elevation?

Yes, WiX supports per-user MSI installations by setting the package scope to perUser and installing under a user-writable path like %LocalAppData%\Programs\{Product}, explicitly avoiding admin elevation requirements.

How do I create user-scoped Start Menu shortcuts for a per-user MSI?

Create user-scoped Start Menu shortcuts by backing them with HKCU registry keys during the WiX packaging process, ensuring the installer remains entirely per-user without requiring system-wide admin privileges.

Why does my per-user WPF installer package outdated web assets?

Per-user WPF installers package outdated web assets when the published WebApp folder is not replaced with the real dist output before harvesting the staged payload for the MSI.

Can I suppress non-critical ICE validation errors when harvesting a per-user MSI payload?

Yes, you can suppress non-critical ICE validation errors when harvesting a per-user MSI payload to avoid triggering an admin-wide install, allowing the per-user deployment to proceed smoothly.

What is the best way to wire WiX MSI generation into my WPF solution build path?

The best way to wire WiX MSI generation into a WPF solution is adding a dedicated WiX SDK project to the repo, making MSI generation a first-class build path that publishes and harvests the staged payload automatically.