Skip to content

[Feature]: Expose advanced winapp pack options #322

Open

Description

Is your feature request related to a problem? Please describe.

The winapp CLI supports advanced pack options that are not currently surfaced by the WinApp VS Code extension. Users who need deterministic output paths, multi-targeted project selection, incremental packaging, existing certificates, or low-level package overrides must leave VS Code and invoke the CLI directly.

PR #309 adds MSIX bundle support and project-mode packaging, including project build configuration selection. Expanding that same PR to cover every advanced option would make its command flow and scope substantially larger.

Describe the solution you'd like

Add a dedicated advanced packaging experience, such as WinApp: Create MSIX Package With Options..., while keeping the default packaging command focused on common choices.

Evaluate and surface the remaining CLI options with source-aware applicability and validation:

  • --output
  • --framework
  • --no-build
  • --no-restore
  • repeatable --property <name=value>
  • --cert <path> and --cert-password
  • --name
  • --publisher
  • --manifest
  • --executable
  • --skip-pri

The advanced flow should:

  • show only options valid for project mode or existing-build-output mode
  • prompt only for values the user elects to override
  • validate .msix versus .msixbundle output names based on the selected packaging mode
  • define precedence when raw MSBuild properties overlap dedicated UI choices
  • avoid logging or displaying certificate passwords in the output channel or reconstructed command text
  • provide a summary/confirmation step before executing a complex command
  • preserve CLI defaults for options the user does not select

Additional context

Follow-up to #307 and draft PR #309. --configuration is intentionally not part of this issue because project build configuration selection is planned for #309.

The WinApp CLI already implements these options; this issue tracks the extension UX, validation, secure argument handling, documentation, and test coverage needed to expose them safely.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions