Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to create a customized install #1079

Closed
noyard opened this issue Jun 2, 2021 · 5 comments
Closed

Ability to create a customized install #1079

noyard opened this issue Jun 2, 2021 · 5 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@noyard
Copy link

noyard commented Jun 2, 2021

Description of the new feature/enhancement

Ablity to create a copy of a existing package and customize it for a group of users.

Proposed technical implementation details (optional)

example is Zoom Client.

Complete install commands are located in https://support.zoom.us/hc/en-us/articles/201362163-Mass-Installation-and-Configuration-for-Windows#download

I would like to install the Zoom client with the following command:

msiexec /i ZoomInstallerFull.msi ZNoDesktopShortcut="true" ZConfig="nogoogle=1;nofacebook=1;DisableLoginWithEmail=1" ZSSOHOST="{hostname}.zoom.com" /qn

I would like to be able to copy of the existing Zoom Client package and modify it and only make it available to the group of users.

@noyard noyard added the Issue-Feature This is a feature request for the Windows Package Manager client. label Jun 2, 2021
@ghost ghost added the Needs-Triage Issue need to be triaged label Jun 2, 2021
@denelon
Copy link
Contributor

denelon commented Jun 2, 2021

@noyard I believe this is possible with something like winget install zoom.zoom --override "/i ZoomInstallerFull.msi ZNoDesktopShortcut="true" ZConfig="nogoogle=1;nofacebook=1;DisableLoginWithEmail=1" ZSSOHOST="{hostname}.zoom.com" /qn"

I expect there will be some fiddling to escape the inner quotes.

PS C:\Users\denelon\GitHub\winget-pkgs> winget install -?
Windows Package Manager v1.0.11451
Copyright (c) Microsoft Corporation. All rights reserved.

Installs the selected package, either found by searching a configured source or directly from a manifest. By default, the query must case-insensitively match the id, name, or moniker of the package. Other fields can be used by passing their appropriate option.

usage: winget install [[-q] <query>] [<options>]

The following arguments are available:
  -q,--query        The query used to search for a package

The following options are available:
  -m,--manifest     The path to the manifest of the package
  --id              Filter results by id
  --name            Filter results by name
  --moniker         Filter results by moniker
  -v,--version      Use the specified version; default is the latest version
  -s,--source       Find package using the specified source
  --scope           Select install scope (user or machine)
  -e,--exact        Find package using exact match
  -i,--interactive  Request interactive installation; user input may be needed
  -h,--silent       Request silent installation
  --locale          Locale to use (BCP47 format)
  -o,--log          Log location (if supported)
  --override        Override arguments to be passed on to the installer
  -l,--location     Location to install to (if supported)

More help can be found at: https://aka.ms/winget-command-install

@denelon denelon removed the Needs-Triage Issue need to be triaged label Jun 2, 2021
@denelon
Copy link
Contributor

denelon commented Jun 2, 2021

For a group of users, you might want to look at hosting a private REST source. We have a reference implementation at https://github.com/microsoft/winget-cli-restsource

@denelon denelon added this to the Backlog - Windows Package Manager milestone Jun 3, 2021
@denelon
Copy link
Contributor

denelon commented Jun 16, 2023

@noyard we recently announced WinGet configuration and Dev Home. The configuration part would need a DSC Resource to be able to configure Zoom. I just wanted to put a bit of an update here as we're making progress in a lot of interesting areas.

@AnthonyMastrean
Copy link

The WinGetPackage DSC resource doesn't support the override feature yet, right?

@denelon
Copy link
Contributor

denelon commented Mar 6, 2024

@AnthonyMastrean, we're tracking that work with:

I'm going to go ahead and close this issue since it's possible to stand up a REST source with custom arguments, but I think the path forward with WinGet Configuration will need to support parity for the arguments supported by the CLI.

@denelon denelon closed this as completed Mar 6, 2024
@denelon denelon modified the milestones: Backlog-Client, 1.8 Client Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

3 participants