Upgrade: .NET Windows Static Agent on a Host
Overview
The vFunction Static Agent keeps a backup of environmentally-specific files in BASE_DIR\vfunction\config\installation\backup. These backup files are then copied back into the default location during the upgrade process. Because this backup-and-copy process is in place, no manual steps are required to keep backups of files before the upgrade occurs.
Upgrade Steps
- Download the vFunction Controller Installation ZIP
- SFTP the Controller ZIP package to the Windows Host
- Extract the Controller ZIP
### Replace VERSION with the actual version that was downloaded
Expand-Archive -Path C:\\Users\\Peter\\Downloads\\vfunction-controller-windows-installation.vVERSION.zip -DestinationPath C:\\ -Force
- Run the Upgrade Script
dir -Path "C:\\vfunction" -Recurse | Unblock-File
powershell -NoProfile -ExecutionPolicy unrestricted -Command "C:\\vfunction\\controller-installation\\upgrade.ps1"