Welcome to the FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
How to Receive Technical Support::
If you are needing assistance with FlexRadio products, please refer to the product documentation or check the Help Center for known solutions. Need technical support from FlexRadio? It's as simple as creating a HelpDesk ticket.

Cleaning up old versions of SmartSDR

Mike-VA3MW
Mike-VA3MW Administrator, FlexRadio Employee, Community Manager, Super Elmer, Moderator admin

I (me, not FlexRadio) wrote this script to help remove all copies of SmartSDR which makes it a bit easier than doing it through Add or Remove programs. You still have to use your mouse, but it is a LOT faster. :)

As you can see, I had a few versions on my computer.

I had a bunch to remove.

It should not remove 4.2.18, but I haven't tested that part.

Run it as Admin under Windows Power Shell.

And, if doing this scares you, then you should not do it. :)

image.png
$apps = Get-ChildItem "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall",
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall" |
ForEach-Object { Get-ItemProperty $_.PSPath } |
Where-Object { $_.DisplayName -like "*SmartSDR*" -and $_.DisplayVersion -ne "4.2.18" } |
Sort-Object DisplayVersion

Write-Host "Will uninstall $($apps.Count) versions..."

$apps | ForEach-Object {
Write-Host "Uninstalling: $($_.DisplayName) $($_.DisplayVersion)"
if ($_.UninstallString -match "msiexec") {
$guid = $_.UninstallString -replace '.*(\{[^}]+\}).*','$1'
Start-Process msiexec.exe -ArgumentList "/x `"$guid`" /qn /norestart" -Wait
} else {
Start-Process $_.UninstallString -Wait
}
}
Write-Host "All done."

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.