waiterm,
Getting Expect, which requires IO::Tty and IO::Pty to install in a Win32 environment is not easy, let alone straight forward. Just from looking at the FAQ it says it is only possible using Cygwin. I had moderate success. I believe the issue is the Win32 concept of a tty. What are your requirements as possibly there is another solution?