Skip to content

Automated script for installing WinGet and its dependencies on Windows Server 2019, streamlining the setup process for package management.

Notifications You must be signed in to change notification settings

daredeep33/Install-WinGet-WinServer2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

InstallWinget for Windows Server 2019

This PowerShell script automates the installation process for WinGet and its dependencies on a Windows Server 2019 system.

Usage

  1. Clone or download this repository to your local machine.

  2. Open PowerShell as an administrator.

  3. Navigate to the directory where the script is located.

  4. Run the script using the following command:

    .\InstallWinget_WINSERV2019.ps1

Script Overview

The script performs the following tasks:

  • Creates the WinGet folder if it doesn't exist.
  • Installs VCLibs, Microsoft.UI.Xaml, and the latest WinGet from GitHub.
  • Fixes permissions for the WindowsApps folder.
  • Adds the WinGet installation path to the system's PATH environment variable.

Prerequisites

  • PowerShell
  • Administrator privileges are required to run the script.

Notes

  • This script is specifically designed for Windows Server 2019.

  • Ensure that execution policy allows running PowerShell scripts. You can set it using:

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

License

This project is licensed under the MIT License.

About

Automated script for installing WinGet and its dependencies on Windows Server 2019, streamlining the setup process for package management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published