Windows 10: How to make Winget Batch Commands not stop if one of the applications is already installed?

Discus and support How to make Winget Batch Commands not stop if one of the applications is already installed? in Windows 10 Software and Apps to solve the problem; I am trying to install several apps with winget in a command for cmd.Example:winget install --id=Google.Chrome -e && winget install... Discussion in 'Windows 10 Software and Apps' started by wadid, Jul 30, 2023.

  1. wadid Win User

    How to make Winget Batch Commands not stop if one of the applications is already installed?


    I am trying to install several apps with winget in a command for cmd.Example:winget install --id=Google.Chrome -e && winget install --id=Obsidian.Obsidian -eProblem:if google chrome would be installed already then it stops with a message that the application is already installed and the following commands installation of obsidian are not executed anymore.Are there any parameters that make sure that in case of error the full command is executed?Also another issue I have is that one application installation fails because of some problem with incorrect hash.... why is that?

    :)
     
    wadid, Jul 30, 2023
    #1

  2. winget upgrade command error

    I keep getting the following error message when try to use winget ugprade trying researching the error but no luck : "Failed when searching source: winget An unexpected error occurred while executing the command: 0x8a15000f : Data required by the source is missing"
     
    morganlomas, Jul 30, 2023
    #2
  3. Lokateu Win User
    I need a script to SILENTLY install winget

    That command works for installing apps from winget. What I wanna know is how to install Winget itself silently, not the apps.

    The basic need of this script is to run a script on a complete default Windows installation and the script install winget to the latest version, install some apps that I need, than verify for updates from microsoft, installs all available updates, restart if needed, and that's it.

    I could find all the steps, except for installing winget itself silently. Always prompt a interface to click update and I need to do it silently.
     
    Lokateu, Jul 30, 2023
    #3
  4. How to make Winget Batch Commands not stop if one of the applications is already installed?

    I need a script to SILENTLY install winget

    That DOES install winget. I tried it on Windows 11. I guess it upgrades winget since it is already included in Win 11. Maybe it's not included in Win 10, so my apologies.
     
    hsehestedt, Jul 30, 2023
    #4
Thema:

How to make Winget Batch Commands not stop if one of the applications is already installed?

Loading...
  1. How to make Winget Batch Commands not stop if one of the applications is already installed? - Similar Threads - Winget Batch Commands

  2. Is the Winget command

    in Windows 10 Ask Insider
    Is the Winget command: "Winget upgrade --all", a safe command to run? Or can it cause more problems than it solves? submitted by /u/shinkairi [link] [comments] https://www.reddit.com/r/Windows10/comments/177t4f8/is_the_winget_command/
  3. How to make Winget Batch Commands not stop if one of the applications is already installed?

    in Microsoft Windows 10 Store
    How to make Winget Batch Commands not stop if one of the applications is already installed?: I am trying to install several apps with winget in a command for cmd.Example:winget install --id=Google.Chrome -e && winget install --id=Obsidian.Obsidian -eProblem:if google chrome would be installed already then it stops with a message that the application is already...
  4. How to make Winget Batch Commands not stop if one of the applications is already installed?

    in Windows 10 Gaming
    How to make Winget Batch Commands not stop if one of the applications is already installed?: I am trying to install several apps with winget in a command for cmd.Example:winget install --id=Google.Chrome -e && winget install --id=Obsidian.Obsidian -eProblem:if google chrome would be installed already then it stops with a message that the application is already...
  5. winget upgrade command error

    in Windows 10 Gaming
    winget upgrade command error: I keep getting the following error message when try to use winget ugprade trying researching the error but no luck : "Failed when searching source: winget An unexpected error occurred while executing the command: 0x8a15000f : Data required by the source is missing"...
  6. winget upgrade command error

    in Windows 10 Software and Apps
    winget upgrade command error: I keep getting the following error message when try to use winget ugprade trying researching the error but no luck : "Failed when searching source: winget An unexpected error occurred while executing the command: 0x8a15000f : Data required by the source is missing"...
  7. How to use winget to install Microsoft Store applications

    in Windows 10 News
    How to use winget to install Microsoft Store applications: Microsoft released Windows Package Manager 1.1 earlier this month. The new version of the package manager, known as winget by its users, is available for Windows 10 version 1809 and newer, and for Windows 11. The big new feature of the release is that Microsoft added its own...
  8. Is there any information about how winget will handle already install apps ?

    in Windows 10 Ask Insider
    Is there any information about how winget will handle already install apps ?: Is there any information about how winget will handle already install apps ? -will I be able to see already installed apps installed normaly from msi in winget list and update and remove them and so ? -or to maintain an application like chrome for example will I need to...
  9. HOW: Robocopy command to a batch-file

    in Windows 10 Network and Sharing
    HOW: Robocopy command to a batch-file: This working fine in a Command Prompt: robocopy "C:\¤Head Folder\Folder 01\Old folder" "C:\¤Head Folder\Folder 01\New folder" /mov /minage:930 How do I make a Batch file .BAT with that RoboCopy command...
  10. Batch commands

    in Windows 10 Network and Sharing
    Batch commands: I know this stuff is kind of old tech, but would anyone know how to make a script that goes through the contents of a folder or file and uses them as command-line arguments say in pseudocode it might look something like: for each item in Desktop, copy %name% to D:\ a USB...