HEASARC fv is a general FITS data file browser, editor, and plotter with a graphical user interface. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of HEASARC fv from the command line using the EXE installer.
How to Install HEASARC fv Silently
HEASARC fv Silent Install (EXE)
- Navigate to: https://heasarc.gsfc.nasa.gov/ftools/fv/fv_download.html
- Select the Windows PC Self-Extracting Executable
- Download the fvXX.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: fvXX.exe /VERYSILENT /NORESTART
- Press Enter
After a few moments you should see the fv Desktop Shortcuts appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | fv |
Vendor: | GSFC/NASA |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | fvXX.exe /VERYSILENT /NORESTART |
Silent Uninstall Switch: | "C:\fv\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://heasarc.gsfc.nasa.gov/ftools/fv/fv_download.html |
PowerShell Script: | https://silentinstallhq.com/heasarc-fv-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-heasarc-fv-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create a HEASARC fv Installation Log File
The HEASARC fv installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.
HEASARC fv Silent Install (EXE) with Logging
fvXX.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\fv-Install.log" |
Change the fv Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing fv to “C:\Program Files\fv”
fvXX.exe /DIR="%ProgramFiles%\fv" /VERYSILENT /NORESTART |
Exclude the fv Desktop Shortcuts During Install
The HEASARC fv installer creates desktop shortcuts by default. If you do not want the desktop shortcuts, then you can run the following command line switches to exclude them.
HEASARC fv Silent Install (EXE) with No Desktop Shortcuts
fvXX.exe /VERYSILENT /NORESTART /MERGETASKS=!desktopicon |
Fix Broken fv Start Menu Shortcut
- Open PowerShell ISE or your favorite PowerShell editor
- Add the following lines of code:
## Remove Existing fv Start Menu Shortcut (If Present) If (Test-Path -Path "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\fv\fv.lnk") { Remove-Item -Path "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\fv\fv.lnk" -Force -Recurse -ErrorAction SilentlyContinue } ## Remove Existing Uninstall fv Start Menu Shortcut (If Present) If (Test-Path -Path "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\fv\Uninstall fv.lnk") { Remove-Item -Path "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\fv\Uninstall fv.lnk" -Force -Recurse -ErrorAction SilentlyContinue } ## Create a New fv Start Menu Shortcut $TargetFile = "$env:SystemDrive\fv\bin\fv.exe" $WorkingDir = "$env:SystemDrive\fv\sample_data" $ShortcutFile = "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\fv\fv.lnk" $WScriptShell = New-Object -ComObject WScript.Shell $Shortcut = $WScriptShell.CreateShortcut($ShortcutFile) $Shortcut.TargetPath = $TargetFile $Shortcut.WorkingDirectory = $WorkingDir $Shortcut.Save()
- Save the file to C:\Downloads and name it: fvStartMenuSC.ps1
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
Powershell.exe -ExecutionPolicy ByPass -File ".\fvStartMenuSC.ps1"
How to Uninstall HEASARC fv Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command:
HEASARC fv Silent Uninstall (EXE)
"C:\fv\unins000.exe" /VERYSILENT /NORESTART |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.