Add bay picker (same arrow-key pattern as waxtrace) that maps CMM1-12
to a PC-DMIS version (2016/2019/2026) and DODA flag via cmm-bay-config.csv.
startnet.cmd: replace Standard/DODA submenu with bay picker. Writes
CMMID (e.g. CMM4) to machine-number.txt so the existing
TargetMachineNumbers filter on the SFLD share manifest gates per-bay
entries with no lib changes.
09-Setup-CMM: reads resolved version.txt and filters cmm-manifest.json
by _CmmVersion tag at imaging time so only the matched PC-DMIS version
installs.
cmm-manifest.json: add PC-DMIS 2026.1 entry (patched MSI, product code
{81BACE1B-FB08-4DCF-8100-79911AD3EC1E}) and DODA entry (flat zip extract
to C:\Apps\DODA\). Existing 2016/2019 entries tagged with _CmmVersion.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
1.2 KiB
PowerShell
39 lines
1.2 KiB
PowerShell
# Install-DODA.ps1 - Extract DODA zip to C:\Apps\DODA\.
|
|
#
|
|
# Called by Install-FromManifest as a Type=PS1 entry. The zip is staged
|
|
# alongside this script in C:\CMM-Install\ by startnet.cmd.
|
|
|
|
$ErrorActionPreference = 'Continue'
|
|
|
|
$installDir = 'C:\Apps\DODA'
|
|
$zipPattern = 'doda_build*.zip'
|
|
$stagingRoot = Split-Path $PSScriptRoot -ErrorAction SilentlyContinue
|
|
if (-not $stagingRoot) { $stagingRoot = 'C:\CMM-Install' }
|
|
|
|
$zip = Get-ChildItem -Path $stagingRoot -Filter $zipPattern -File -ErrorAction SilentlyContinue | Select-Object -First 1
|
|
if (-not $zip) {
|
|
Write-Host "DODA zip not found in $stagingRoot (pattern: $zipPattern)"
|
|
exit 1
|
|
}
|
|
|
|
if (-not (Test-Path $installDir)) {
|
|
New-Item -Path $installDir -ItemType Directory -Force | Out-Null
|
|
}
|
|
|
|
Write-Host "Extracting $($zip.Name) to $installDir..."
|
|
try {
|
|
Expand-Archive -LiteralPath $zip.FullName -DestinationPath $installDir -Force -ErrorAction Stop
|
|
Write-Host "DODA extracted to $installDir"
|
|
} catch {
|
|
Write-Host "ERROR: Extract failed - $_"
|
|
exit 1
|
|
}
|
|
|
|
if (Test-Path (Join-Path $installDir 'DovetailAnalysis.exe')) {
|
|
Write-Host "DovetailAnalysis.exe verified present"
|
|
exit 0
|
|
} else {
|
|
Write-Host "ERROR: DovetailAnalysis.exe not found after extract"
|
|
exit 1
|
|
}
|