How asheroto/winget-install works
winget-install is an administrator-run PowerShell installer for WinGet. The documented workflow checks Windows and processor compatibility, then installs through either the standard PowerShell Gallery repair path or a Server 2019-specific package path, followed by command registration. The README documents these capabilities, but no script source was sampled, so the graph represents documented responsibilities and omits uncertain internal call wiring.
Main entry points: winget-install.ps1 Installer script
Components 19
Entry and checks
- Installer script
winget-install.ps1 - OS compatibility
winget-install.ps1 - Architecture detection
winget-install.ps1 - Existing install check
winget-install.ps1
Standard install
- Standard install path
winget-install.ps1 - NuGet provider
winget-install.ps1 - WinGet Client module
winget-install.ps1 - Package manager repair
winget-install.ps1
Server 2019 install
- Server 2019 path
winget-install.ps1 - UI.Xaml and VCLibs
winget-install.ps1 - VC++ runtime check
winget-install.ps1 - WinGet license download
winget-install.ps1 - WinGet CLI install
winget-install.ps1 - Access and PATH setup
winget-install.ps1
Completion
- Command registration
winget-install.ps1
Other components
- Administrator or SYSTEM
- PowerShell Gallery
- GitHub releases
- Windows environment
Connections 27
- Administrator or SYSTEM → Installer script: runs
- Installer script → OS compatibility: checks
- Installer script → Architecture detection: detects
- Installer script → Existing install check: checks
- Installer script → Standard install path: selects
- Installer script → Server 2019 path: selects
- Standard install path → NuGet provider: installs if needed
- Standard install path → WinGet Client module: installs
- Standard install path → Package manager repair: runs
- NuGet provider → PowerShell Gallery: uses
- WinGet Client module → PowerShell Gallery: downloads from
- Server 2019 path → UI.Xaml and VCLibs: installs
- Server 2019 path → VC++ runtime check: checks
- Server 2019 path → WinGet license download: downloads
- Server 2019 path → WinGet CLI install: installs
- WinGet license download → GitHub releases: fetches from
- WinGet CLI install → GitHub releases: fetches from
- Server 2019 path → Access and PATH setup: adjusts
- Installer script → Command registration: runs if needed
- OS compatibility → Windows environment: checks
- Architecture detection → Windows environment: reads
- Existing install check → Windows environment: checks
- Package manager repair → Windows environment: installs on
- UI.Xaml and VCLibs → Windows environment: installs on
- VC++ runtime check → Windows environment: checks on
- Access and PATH setup → Windows environment: updates
- Command registration → Windows environment: registers on