Skip to content

Commit

Permalink
Add VCU GUI to the installer script
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Oct 30, 2024
1 parent 53af89f commit 701d60a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Install-Software.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,22 @@ function Install-ThorlabsKinesis {
}
}

function Install-VCU {
[OutputType([int])]
param(
[string]$Version = "0.13.40"
)
$FilePath = "${SoftwareRepoPath}\VCU\VCU_GUI_Setup_${Version}.exe"
if (Test-Path "$FilePath") {
Show-Output "Installing VCU GUI"
Start-Process -NoNewWindow -Wait "$FilePath"
} else {
Show-Output "The VCU GUI installer was not found. Is the network drive mounted?"
return 1
}
return 0
}

function Install-VeecoVision {
[OutputType([int])]
param()
Expand Down Expand Up @@ -532,6 +548,7 @@ $OtherOperations = [ordered]@{
"Thorlabs ThorCam (NOTE!)" = ${function:Install-ThorCam}, "Driver for Thorlabs cameras. NOTE! Use IDS Peak instead for old cameras.";
"Thorlabs Beam" = ${function:Install-ThorlabsBeam}, "Driver for Thorlabs beam profilers and M2 measurement systems";
"Thorlabs Kinesis" = ${function:Install-ThorlabsKinesis}, "Driver for Thorlabs motors and stages";
"VCU" = ${function:Install-VCU}, "VCU GUI";
"Veeco (Wyko) Vision" = ${function:Install-VeecoVision}, "Data analysis tool for Veeco/Wyko profilers";
"Wavesquared" = ${function:Install-Wavesquared}, "M2 factor analysis software";
"Windows Subsystem for Linux (WSL, NOTE!)" = ${function:Install-WSL}, "Compatibility layer for running Linux applications on Windows, version >= 2. Hardware virtualization should be enabled in BIOS/UEFI before installing.";
Expand Down

0 comments on commit 701d60a

Please sign in to comment.