r/PowerShell • u/Intelligent-Pay-4398 • 28d ago
Question InstallAnywhere logging with PS?
Hey All,
Does anyone have any experience with InstallAnywhere installers? Weve got some agent upgrades to do, and during our pilot group we ran into some strange failures. We tried to setup logging, but were pretty crunched for time so decided it was a next week problem.
The issue weve found is that InstallAnywhere doesnt advertise its processes the same way an MSI does, so you have to do some janky stuff.
Ive tried passing -RedirectStandardOutput and StandardError to a log file, but theyre either empty, or dont generate at all.
If anyone has any advice or any documentation they can point to thatd be awesome.
Thanks!
3
u/BlackV 28d ago edited 28d ago
none of that would be powershell related, it'd all be install anywhere related, as it controls the output and any logging
normally those installers have a logging parameters and debug parameters that control this
I'd be starting with the basics of discovery
/?,--help,--helpand so onEDIT: I do remember a tool someone posted in maybe here or sysadmin that finds install switches from installers