How to silent install without it running using winget? #2314
-
I have a script which installs stuff on a new installation of Windows, including WingetUI. It runs as admin, as it does a lot of other stuff as well.
This makes WingetUI run after installation and that also makes other things not install afterwards for some reason.
Now I get asked if I want to install for all users or just the current user.
Now I get asked which language.
Now the installer dialog thing comes up.
How the program runs after installation (as admin) and things are no better than they were when I started. How do I do this? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
What do you want to achieve? |
Beta Was this translation helpful? Give feedback.
-
I want to install WingetUI using winget within a setup script and not have WingetUI automatically start after it's installed and requiring no user input (unattended). |
Beta Was this translation helpful? Give feedback.
-
Thanks. Just to confirm, will all of these really be required?
|
Beta Was this translation helpful? Give feedback.
-
Now that your fix is in the current version, However, it always reinstalls when I run the script, whereas all other packages are only reinstalled if there is an new version compared to the one installed. It's not a big deal, but why is it happening? This is what I am using:
|
Beta Was this translation helpful? Give feedback.
My excuses, it seems the flag
/NoAutoStart
broke somehow. I have fixed this issue, and the next installer should have this issue fixed.The last command-line you shared should work then