I'm rather new to Windows Installer development, so bare with me.

I have a DLL imbedded within my installer which is checking the version of IE on the given user's machine. If it doesn't match, I basically want the installer to jump to a cancel page, or an exit page, or whatever. I thought I might be able to do this by calling MsiDoAction, but no matter what action I pass to that bad boy, I always get the following error: ERROR_FUNCTION_NOT_CALLED. I've tried running a couple of other MSI functions (MsiGetParameter for example) and haven't had a problem.
Any thoughts?
Thanks!