Downloads:

113

Downloads of v 20.0.0:

113

Last Update:

16 Dec 2020

Package Maintainer(s):

Software Author(s):

  • WPI

Tags:

frc radio configuration first robotics admin

FRC Radio Configuration Utility

  • 1
  • 2
  • 3

20.0.0 | Updated: 16 Dec 2020

Downloads:

113

Downloads of v 20.0.0:

113

Maintainer(s):

Software Author(s):

  • WPI

  • 1
  • 2
  • 3
FRC Radio Configuration Utility 20.0.0

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

To install FRC Radio Configuration Utility, run the following command from the command line or from PowerShell:

>

To upgrade FRC Radio Configuration Utility, run the following command from the command line or from PowerShell:

>

To uninstall FRC Radio Configuration Utility, run the following command from the command line or from PowerShell:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade frc-radioconfigurationutility -y --source="'STEP 3 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 frc-radioconfigurationutility -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure frc-radioconfigurationutility installed
  win_chocolatey:
    name: frc-radioconfigurationutility
    state: present
    version: 20.0.0
    source: STEP 3 URL

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


chocolatey_package 'frc-radioconfigurationutility' do
  action    :install
  version  '20.0.0'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: frc-radioconfigurationutility,
    Version: 20.0.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller frc-radioconfigurationutility
{
   Name     = 'frc-radioconfigurationutility'
   Ensure   = 'Present'
   Version  = '20.0.0'
   Source   = 'STEP 3 URL'
}

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


package { 'frc-radioconfigurationutility':
  provider => 'chocolatey',
  ensure   => '20.0.0',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install frc-radioconfigurationutility version="20.0.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator flcdrg on 18 Dec 2020.

Description

This is the FRC Radio Configuration Utility required by FIRST to program the "radio" in the FRC robotics competition.


tools\.skipAutoUninstall
 
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'; # stop on all errors

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = "https://firstfrc.blob.core.windows.net/frc2020/Radio/FRC_Radio_Configuration_20_0_0.zip"
$fileName = "FRC_Radio_Configuration_20_0_0.exe"

$unzipPackageArgs = @{
  packageName   = $env:ChocolateyPackageName
  Url           = $url
  UnzipLocation = $toolsDir
}
$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  softwareName   = 'FRC Radio Configuration Utility*'
  fileType       = 'EXE'
  file           = "$toolsDir\$fileName"
  checksum       = '30D3CD4780AB9C6E861A40CFDC8C9AE074937536EF6112DC938BB6D198B6FCDF'
  checksumType   = 'sha256'
  silentArgs     = '/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /RESTARTEXITCODE=3010'
  validExitCodes = @(0, 3010)
}

Install-ChocolateyZipPackage  @unzipPackageArgs # https://docs.chocolatey.org/en-us/create/functions/install-chocolateyzippackage.

$ahkExe = "AutoHotKey" # This is a reference to the global AHK exe
$ahkFile = Join-Path $toolsDir "FRCRadioConfigUtilityInstall.ahk"
$ahkProc = Start-Process -FilePath $ahkExe -ArgumentList "`"$ahkFile`"" -Verb RunAs -PassThru

$ahkId = $ahkProc.Id
Write-Debug "$ahkExe start time:`t$($ahkProc.StartTime.ToShortTimeString())"
Write-Debug "Process ID:`t$ahkId"

Install-ChocolateyInstallPackage @packageArgs # https://docs.chocolatey.org/en-us/create/functions/install-chocolateyinstallpackage
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$uninstallerLocation = Join-Path ${Env:ProgramFiles(x86)} "FRC Radio Configuration Utility\unins000.exe"

$packageArgs = @{
  PackageName   = $env:ChocolateyPackageName
  FileType      = 'EXE'
  silentArgs    = ""
  File          = $uninstallerLocation
  ValidExitCodes= @(0, 3010)
}

Write-Host "`nRunning the FRC Radio Configuration Utility AHK uninstaller script..."
$ahkExe = "AutoHotKey" # This is a reference to the global AHK exe
$ahkFile = Join-Path $toolsDir "FRCRadioConfigUtilityUninstall.ahk"
# $ahkProc = Start-ChocolateyProcessAsAdmin -ExeToRun $ahkFile -Minimized
$ahkProc = Start-Process -FilePath $ahkExe -ArgumentList "`"$ahkFile`"" -Verb RunAs -PassThru

$ahkId = $ahkProc.Id
Write-Debug "$ahkExe start time:`t$($ahkProc.StartTime.ToShortTimeString())"
Write-Debug "Process ID:`t$ahkId"

Uninstall-ChocolateyPackage  @packageArgs

# Wait for the ahk process to end before moving on
Wait-Process -Name "AutoHotkey" -Timeout 30
tools\FRCRadioConfigUtilityInstall.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode, 1
SetControlDelay, -1

;;;;; Window Search Settings ;;;;;
; Title and text for the initial popup window informing of no npcap
winSetupTitle := "Setup"
winSetupText := "Npcap not detected" ; Button1

; Title and texts for npcap install window
winNPCapInstallTitle := "Npcap 0.9986 Setup"
winNPCapAcceptLicenseText := "License Agreement" ; Button2
winNPCapOptionsText := "Installation Options" ; Button2
winNPCapCompleteText := "Installation Complete" ; Button2
winNPCapFinishedText := "Finished" ; Button2

;;;;; Operations ;;;;;
; Selecting OK button on setup window
WinWait, %winSetupTitle%, %winSetupText%
WinActivate, %winSetupTitle%,,,
ControlClick, Button1, %winSetupTitle%, %winSetupText%,,, NA

; Selecting I Agree for license agreement
WinWait, %winNPCapInstallTitle%, %winNPCapAcceptLicenseText%
WinActivate, %winNPCapInstallTitle%,,,
ControlClick, Button2, %winNPCapInstallTitle%, %winNPCapAcceptLicenseText%,,, NA

; Selecting Install on the Options Page
WinWait, %winNPCapInstallTitle%, %winNPCapOptionsText%
ControlClick, Button2, %winNPCapInstallTitle%, %winNPCapOptionsText%,,, NA

; Selecting Next on the Complete Page
WinWait, %winNPCapInstallTitle%, %winNPCapCompleteText%
ControlClick, Button2, %winNPCapInstallTitle%, %winNPCapCompleteText%,,, NA

; Selecting Finish on the Finished Page
WinWait, %winNPCapInstallTitle%, %winNPCapFinishedText%
ControlClick, Button2, %winNPCapInstallTitle%, %winNPCapFinishedText%,,, NA
tools\FRCRadioConfigUtilityUninstall.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode, 1
SetControlDelay, -1

;;;;; Window Search Settings ;;;;;
; Title and text for the uninstall confirmation window
winConfirmUninstallTitle := "FRC Radio Configuration Utility Uninstall"
winConfirmUninstallText := "Are you sure you want to completely remove FRC Radio" ; Button1

; Title and text for npcap uninstall confirmation
winNPCapConfirmUninstallTitle := "Uninstall"
winNPCapConfirmUninstallText := "Uninstall Npcap?" ; Button1

; Title and texts for npcap uninstaller
winNPCapUninstallerTitle := "Npcap 0.9986 Uninstall"
winNPCapUninstallerText := "Uninstall Npcap 0.9986" ; Button2
winNPCapUninstallerCompleteText := "Uninstallation Complete" ; Button2

; Title and text for succesfully removed from your computer window
winUninstallFinishedTitle := "FRC Radio Configuration Utility Uninstall"
winUninstallFinishedText := "FRC Radio Configuration Utility was successfully remove" ; Button1

;;;;; Operations ;;;;;
; Selecting Yes on Confirmation Window
WinWait, %winConfirmUninstallTitle%, %winConfirmUninstallText%
WinActivate, %winConfirmUninstallTitle%, %winConfirmUninstallText%,,
ControlClick, Button1, %winConfirmUninstallTitle%, %winConfirmUninstallText%,,, NA

; Selecting Yes on Uninstall NPCap Window 
WinWait, %winNPCapConfirmUninstallTitle%, %winNPCapConfirmUninstallText%
WinActivate, %winNPCapConfirmUninstallTitle%, %winNPCapConfirmUninstallText%,,
ControlClick, Button1, %winNPCapConfirmUninstallTitle%, %winNPCapConfirmUninstallText%,,, NA

;  Selecting Uninstall on NPCap uninstaller
WinWait, %winNPCapUninstallerTitle%, %winNPCapUninstallerText%
WinActivate, %winNPCapUninstallerTitle%, %winNPCapUninstallerText%,,
ControlClick, Button2, %winNPCapUninstallerTitle%, %winNPCapUninstallerText%,,, NA

; Selecting Close on NPCap uninstaller complete window
WinWait, %winNPCapUninstallerTitle%, %winNPCapUninstallerCompleteText%
ControlClick, Button2, %winNPCapUninstallerTitle%, %winNPCapUninstallerCompleteText%,,, NA

; Selecting OK on Uninstall finished window
WinWait, %winUninstallFinishedTitle%, %winUninstallFinishedText%
WinActivate, %winUninstallFinishedTitle%, %winUninstallFinishedText%,,
ControlClick, Button1, %winUninstallFinishedTitle%, %winUninstallFinishedText%,,, NA

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.

Version Downloads Last Updated Status
Discussion for the FRC Radio Configuration Utility Package

Ground Rules:

  • This discussion is only about FRC Radio Configuration Utility and the FRC Radio Configuration Utility 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 FRC Radio Configuration Utility, 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