Sixteen files that run on every shopfloor PC existed only on the SFLD share. The cost showed up while debugging the NTLARS backup: the script that posts to ShopDB could not be read, reviewed or diffed, so its behaviour was inferred from log output for most of a day. It turned out to hold a silent fallback that had been governing the whole fleet for months. Imported as-is from tsgwp00525-v2, no edits: lib/ShopdbBackupClient.psm1 the shared backup client scripts/Backup-NtlarsSettings.ps1 converted to use it scripts/Set-ShopdbCollectorKey.ps1 collector credential delivery scripts/Test-RegExport.ps1 exercises the .reg codec with mocks scripts/Set-EventSaver*.ps1 kiosk power / screensaver / disable scripts/Setup-OpenText.* OpenText install + toolbar scripts/Migrate-PCType.ps1, Select-KioskType.ps1, Set-FmsHostsEntry.ps1, scripts/ensure-vnc-firewall.ps1, Install-AcroReader.cmd, Install-Oracle11r2.cmd lib/Install-FromManifest.ps1 is also updated from the share, which was 37 lines AHEAD of this repo and purely additive: the Add-EnforceResult reporting added during the kiosk API cutover, done live and never committed back. Nothing was removed. Checked for embedded secrets before committing; there are none. Set-ShopdbCollectorKey deliberately reads its token from a sibling file on the share rather than holding it, so the script is safe to track. The share remains what actually runs. This makes it reviewable, and makes the next drift visible as a diff rather than a surprise.
34 lines
1.0 KiB
Batchfile
Executable File
34 lines
1.0 KiB
Batchfile
Executable File
@echo off
|
|
REM Install-AcroReader.cmd - Install Adobe Acrobat Reader DC + DC update patch
|
|
REM
|
|
REM Two-step install: base MSI with enterprise transform, then DC update patch.
|
|
REM Script lives in <type>/scripts/; MSI + MST + MSP + CAB live in sibling
|
|
REM <type>/apps/. pushd into apps\ so the MSI's Media-table CAB reference
|
|
REM (Data1.cab) resolves against its sibling, and msiexec doesn't choke on
|
|
REM a mapped-drive path with ..\ normalization (was returning 1619).
|
|
|
|
setlocal
|
|
pushd "%~dp0..\apps"
|
|
|
|
echo Installing Adobe Acrobat Reader DC...
|
|
msiexec /i "AcroRead.msi" TRANSFORMS="AcroRead.mst" /quiet /norestart
|
|
set RC=%errorlevel%
|
|
if %RC% neq 0 if %RC% neq 3010 (
|
|
echo Acrobat Reader MSI failed with exit code %RC%
|
|
popd
|
|
exit /b %RC%
|
|
)
|
|
|
|
echo Applying Adobe Reader DC update patch...
|
|
msiexec /p "AcroRdrDCUpd2500120531.msp" /quiet /norestart
|
|
set RC=%errorlevel%
|
|
if %RC% neq 0 if %RC% neq 3010 (
|
|
echo Acrobat Reader patch failed with exit code %RC%
|
|
popd
|
|
exit /b %RC%
|
|
)
|
|
|
|
popd
|
|
echo Adobe Acrobat Reader DC installed successfully.
|
|
exit /b 0
|