Skip to content

[Feature Request]: winget-install.ps1 handling for user context when called from system e.g. via Intune #1129

@ITistheworst

Description

@ITistheworst

The request

Some apps only function correctly if installed in user context, if you try and deploy these using winget-install.ps1, via Intune for example, you run into issues. You can get Intune to run winget-install.ps1 in the logged-in user context however this causes problems e.g.

  • Visible powershell window while the installer runs
  • Unable to update the log file
  • Unable to add apps to the whitelist
  • etc.

Could user-scope installs be handled in winget-install.ps1 similar to how the updater handles it? Allowing winget-install.ps1 to be called from system context with an additional parameter to run the actual install as user and hidden, maintaining ability to update logs and lists.

Is your feature request related to a problem?

Additional information

Here is an example of the visible PS window when running from MDM as user:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions