Skip to content

Commit ecaa26c

Browse files
committed
Add Nanotec PNDS in the installer script
1 parent 602a650 commit ecaa26c

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

‎Install-Software.ps1‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,33 @@ function Install-PicoScope {
524524
-SHA256 "${SHA256}"
525525
}
526526

527+
function Install-PNDS {
528+
<#
529+
.SYNOPSIS
530+
Install Nanotec Plug & Drive Studio
531+
.LINK
532+
https://www.nanotec.com/eu/en/knowledge-base-article/plug-drive-studio
533+
#>
534+
param(
535+
# [string]$Version = "3.2.0.1"
536+
# [string]$SHA256 = "ef023ea1a8c151f5a8993c1ccafcc291bf74d2af21ec8297c5c665da77d1dbf5"
537+
[string]$Version = "2.1.7",
538+
[string]$SHA256 = "7207ac270a41d11748257e38bc2cff6effba4034a2ea26e86a7655138aca56e3"
539+
)
540+
# # This zip file contains nested zip files and would require special handling.
541+
# $Filename = "PnDS3_v.${Version}_Package.zip"
542+
# Install-FromUri `
543+
# -Name "Nanotec Plug & Drive Studio (PNDS)" `
544+
# -Uri "https://www.nanotec.com/fileadmin/files/Software/Plug_Drive_Studio/${Filename}" `
545+
# -SHA256 "${SHA256}"
546+
# }
547+
Install-Executable `
548+
-Name "Nanotec Plug & Drive Studio (PNDS)" `
549+
-Path "${SoftwareRepoPath}\Nanotec\PNDS ${Version} Release Package\Plug & Drive Studio\PNDS-${Version}-x86.exe" `
550+
-SHA256 "${SHA256}" `
551+
-BypassAuthenticode
552+
}
553+
527554
function Install-QuPath {
528555
<#
529556
.SYNOPSIS
@@ -868,6 +895,7 @@ $OtherOperationsWork = [ordered]@{
868895
"IDS Peak" = ${function:Install-IDSPeak}, "Driver for IDS cameras and old Thorlabs cameras";
869896
"IDS Software Suite (µEye, NOTE!)" = ${function:Install-IDSSoftwareSuite}, "Driver for old IDS/Thorlabs cameras. NOTE! IDS Peak should now be compatible also with these old cameras, so use it instead.";
870897
"LabVIEW Runtime 2014 SP1 32-bit" = ${function:Install-LabVIEWRuntime2014SP1}, "Required for SSMbe (it requires this specific older version instead of the latest)";
898+
"Nanotec Plug & Drive Studio (PNDS)" = ${function:Install-PNDS}, "Driver for Nanotec motor controllers";
871899
"Ophir StarLab" = ${function:Install-StarLab}, "Driver for Ophir power meters";
872900
"OriginLab" = ${function:Install-OriginLab}, "OriginLab data graphing and analysis software";
873901
"Origin Viewer" = ${function:Install-OriginViewer}, "Viewer for OriginLab data graphing and analysis files";

0 commit comments

Comments
 (0)