Downloads:

2,978

Downloads of v 1.0.4574.1600:

161

Last Update:

16 Jun 2022

Package Maintainer(s):

Software Author(s):

  • Microsoft Corporation

Tags:

wvd windows virtual desktop agent

wvd-agent (Install)

  • 1
  • 2
  • 3

1.0.4574.1600 | Updated: 16 Jun 2022

Downloads:

2,978

Downloads of v 1.0.4574.1600:

161

Maintainer(s):

Software Author(s):

  • Microsoft Corporation

  • 1
  • 2
  • 3
wvd-agent (Install) 1.0.4574.1600

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Dependency requires reboot

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install wvd-agent (Install), run the following command from the command line or from PowerShell:

>

To upgrade wvd-agent (Install), run the following command from the command line or from PowerShell:

>

To uninstall wvd-agent (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade wvd-agent -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade wvd-agent -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install wvd-agent
  win_chocolatey:
    name: wvd-agent
    version: '1.0.4574.1600'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'wvd-agent' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.0.4574.1600'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller wvd-agent
{
    Name     = "wvd-agent"
    Version  = "1.0.4574.1600"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'wvd-agent':
  ensure   => '1.0.4574.1600',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 16 Jun 2022.

Description

Install the Windows Virtual Desktop Agent.

Notes

  • This package always installs the latest version of the Windows Virtual Desktop Agent, regardless of the version specified in the chocolatey package. Microsoft do not officially offer older versions for download as the tools are self-updating. Because of this you may get checksum mismatch between the time Microsoft releases a new installer, and the package is automatically updated.

tools\chocolateyinstall.ps1

$ErrorActionPreference = 'Stop';

$os = (Get-ComputerInfo).OsProductType
if($os -ne "WorkStation")
{
  if(Get-WindowsFeature -Name "RDS-RD-Server" | Where-Object {$_.InstallState -ne "Installed"})
  {
    Write-Warning "Package requires 'Remote Desktop Session Host' Windows Feature is enabled. Install with 'Add-WindowsFeature RDS-RD-Server'."
  }
}

$pp = Get-PackageParameters

if (!$pp['REGISTRATIONTOKEN']) { 
  $pp['REGISTRATIONTOKEN'] = "!INVALID KEY"
  Write-Warning "Package needs parameter 'REGISTRATIONTOKEN' to install, that must be provided in params or in prompt."
}

$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64      = 'https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RWrmXv'

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  unzipLocation = $toolsDir
  fileType      = 'MSI'
  url64bit      = $url64

  softwareName  = 'wvd-agent*'

  checksum64    = 'b85036e16a6ea287c0f07b292f8be6b4d26b0387f37e8c69789853c15f22cee3'
  checksumType64= 'sha256'

  silentArgs    = "/quiet /qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`" REGISTRATIONTOKEN=`"$($pp['REGISTRATIONTOKEN'])`""
  validExitCodes= @(0, 3010, 1641)
}

Install-ChocolateyPackage @packageArgs










    









Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
wvd-agent (Install) 1.0.4230.1600 429 Thursday, March 31, 2022 Approved
wvd-agent (Install) 1.0.4119.1500 210 Thursday, February 24, 2022 Approved
wvd-agent (Install) 1.0.4009.1500 176 Wednesday, February 2, 2022 Approved
wvd-agent (Install) 1.0.3855.1400 135 Wednesday, December 15, 2021 Approved
wvd-agent (Install) 1.0.3719.1700 239 Saturday, November 13, 2021 Approved
wvd-agent (Install) 1.0.3583.2600 153 Tuesday, November 2, 2021 Approved
wvd-agent (Install) 1.0.3373.2600 87 Thursday, September 23, 2021 Approved
wvd-agent (Install) 1.0.3130.2900 151 Wednesday, August 4, 2021 Approved
wvd-agent (Install) 1.0.3050.2500 85 Friday, July 9, 2021 Approved
Discussion for the wvd-agent (Install) Package

Ground Rules:

  • This discussion is only about wvd-agent (Install) and the wvd-agent (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or wvd-agent (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus