Volver a Documentación
Deployment

Windows Distribution & Store

NSIS builds, MSIX packaging, and Microsoft Store submission.

10 min de lectura

PlanToCode distributes on Windows through both direct download (NSIS installer) and the Microsoft Store (MSIX package). This document covers both distribution methods.

Prerequisites

Required tools and certificates:

  • Code signing certificate (EV or standard)
  • Windows SDK for signtool
  • NSIS for installer building
  • MSIX Packaging Tool for Store submissions

NSIS Installer

Tauri builds NSIS installers by default:

  • Custom installer UI with PlanToCode branding
  • Per-user installation (no admin required)
  • Start menu and desktop shortcuts
  • Uninstaller with clean removal

Code Signing

Windows code signing with Authenticode:

  • Sign with signtool from Windows SDK
  • Timestamp from trusted TSA server
  • EV certificate provides SmartScreen reputation
  • CI uses secrets for certificate and password

MSIX for Microsoft Store

MSIX provides Store-compatible packaging:

  • AppxManifest.xml defines capabilities
  • Virtual filesystem isolation
  • Automatic updates through Store
  • Sandboxed execution environment

MSIX Configuration

Key AppxManifest settings:

  • Identity: Name, Publisher, Version
  • Capabilities: internetClient, microphone
  • Visual elements: Tiles, splash screen
  • File associations and protocol handlers

MSIX Build Steps

Process to create MSIX package:

  1. Build release with pnpm tauri build
  2. Create AppxManifest.xml with correct identity
  3. Package with MakeAppx.exe
  4. Sign with SignTool
  5. Validate with Windows App Cert Kit

Microsoft Store Submission

Store submission process:

  • Create app in Partner Center
  • Upload MSIX package
  • Configure pricing (free with IAP credits)
  • Submit for certification
  • Review takes 1-3 business days

Windows Updates

Update mechanisms for each distribution:

  • NSIS: tauri-plugin-updater with GitHub releases
  • MSIX/Store: Automatic through Microsoft Store
  • Both check for updates on launch

WebView2 Runtime

Tauri uses WebView2 on Windows:

  • Bundled WebView2 bootstrapper in installer
  • Evergreen version auto-updates
  • Fixed version available for isolation
  • Windows 10 1803+ required

Troubleshooting

Common Windows distribution issues:

  • SmartScreen warning: Use EV certificate or build reputation
  • Missing WebView2: Ensure bootstrapper runs
  • Store rejection: Review certification report details
  • Update failure: Check signature and manifest version