When you install a program, particularly via an install script (VBscript, PowerShell etc.), it’s always good practice to check the Exit Code the program returns.
Just in case the program didn’t install probably, or even, the user has pressed cancel.
Much to my annoyance, here’s a list of programs which return 0 (Zero ie. I installed ok) when they don’t install:
- Google Desktop
- Lanier Printer Drivers
- Windows 7 USB/DVD-download tool
(requires the Imaging API, if it’s not there, it fails and returns 0 anyway).
- Windows Server 2003 Resource Kit Tools
It’s not an exhaustive list by any means 🙁
Update 23 May 2010, and these as well:
- Google Chrome Browser
- Firefox 3.6.3
- Picasa 3.6
- Acrobat Reader 9.3
- uTorrent 2.0