Standard DLL Custom Action crashes IDriver.exe
I'm trying to set up a custom action that calls out to a function in a standard DLL. The DLL is created in C++ and the function as it stands is very simple (just trying to get it to work). It takes in an integer and returns an integer. The function body just displays a message box and returns an integer. Ive stored the DLL in the binary table and is set to run in the InstallUISequence - AfterDLLWrapStartup. For the parameter and the return value I am passing those values in from a property that I created.
The problem I am getting is when I run the install it is getting to my custom action. I know this because my message box is being displayed. When I click OK to close the message box I am getting an error stating that IDriver.exe has terminated abnormally.
I was wondering if anybody else has run across this problem or can point me in the right direction for investigation.