Skip to content

Interactive installation parameter does not work #365

Description

@chrpai

Brief description of your issue

winget install -i for an MSI pkg doesn't provide an interactive experience.

Steps to reproduce

winget install -i iswix

I authored the iswix.msi and iswix winget-pkg. I simply provided the url to the installer and that it was type .msi. No arguments, -i and -s all provide a silent installation. I would expect winget-cli to automatically know how to set the MSI UILevel property since the command line help shows these options.

Expected behavior

I'd expect the installer to be called with UILevel 5 so that the MSI wizard loop to appear so I can do advanced selections.

Actual behavior

The resulting logfile shows UILevel is set to 2 whether I include the -i switch or not.

Environment

Windows: Windows.Desktop v10.0.19635.1
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

[winget --info]
Windows Package Manager version
Windows: Windows.Desktop version
Package: Microsoft.DesktopAppInstaller version

Any other software?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions