GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.54k stars 473 forks source link

Add option to disable command prompt popup to create project during installation #1292

Open lmf-mx opened 3 years ago

lmf-mx commented 3 years ago

Is your feature request related to a problem? Please describe. Attempting to install GAM on Windows through automated means where the installing account is not on an interactive logon session (has a desktop) results in stuck installation due to the prompt to create a project that cannot be interacted with.

Describe the solution you'd like An installer switch or argument to disable the behavior to create a project at the end of the installation would be the best solution.

Describe alternatives you've considered N/A

Additional context I'm using salt to control chocolatey to install. The salt minion runs as a service in a privileged account. This account does not get a desktop session.

taers232c commented 3 years ago

bash <(curl -s -S -L https://git.io/install-gam) -l The -l switch disables project creation. You can also indicate a path with: -d

Ross

ross.scroggs@gmail.com

On Dec 8, 2020, at 9:37 PM, lmf-mx notifications@github.com wrote:

Is your feature request related to a problem? Please describe. Attempting to install GAM through automated means where the installing account is not on an interactive logon session (has a desktop) results in stuck installation due to the prompt to create a project that cannot be interacted with.

Describe the solution you'd like An installer switch or argument to disable the behavior to create a project at the end of the installation would be the best solution.

Describe alternatives you've considered N/A

Additional context I'm using salt to control chocolatey to install. The salt minion runs as a service in a privileged account. This account does not get a desktop session.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1292, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL235XZWTJ2R6CHL25LST4EJ7ANCNFSM4US7HOLA.

lmf-mx commented 3 years ago

Sorry, Ross, I failed to make it immediately clear. This is on Windows, hence the use of Chocolatey. The switch would be needed for the exe installer or the internal MSI installer depending on what is calling the prompt.

taers232c commented 3 years ago

Got it. I took the popups out of my Advanced GAM Windows installer some time ago.

Ross

ross.scroggs@gmail.com

On Dec 11, 2020, at 10:26 AM, lmf-mx notifications@github.com wrote:

Sorry, Ross, I failed to make it immediately clear. This is on Windows, hence the use of Chocolatey. The switch would be needed for the exe installer or the internal MSI installer depending on what is calling the prompt.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/1292#issuecomment-743352711, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL6XQRWYM47LTVIGMGDSUJP6HANCNFSM4US7HOLA.

BiosPlus commented 10 months ago

Heyo @taers232c, wondering if there's any chance of a command line switch to eliminate the popup, as it would help make the validation process for packages being submitted to winget an easier process :) (#1673)