in reply to Win32::OLE error

error 0x80040154
Someone tested the script on his computer and it works.
Sadly, both of these indicate that it's not a Perl problem. Rather, they point at "DLL Hell".

Something recently installed on the computer where it fails has clobbered one or more DLLs and/or not updated the registry properly. You need to figure out the last time when it used to work, and what's been changed since then.