I've been writing an install, using InstallAware X3, that uses the Call DLL Function in order to call a native code DLL. When I run the installer on my development PC [32-bit Windows 7], it will go into the DLL without any problems. I have tested it as a release install and have also debugged it and it did step in to the DLL and work properly. I was able to tell if it worked on the release install by putting a message box into the beginning of the code. However, when I run it on my test PCs [32-bit Windows 7 and 64 bit Windows 7, the installer just skips over the Call DLL Function. There are no errors that come up at all, but it doesn't step into the DLL at all.
All of the dependencies for the DLL are present and in their correct spots at the time of the call. I checked this by getting the list of dependencies from Visual Studio's "dumpbin", adding a message box into the installer to pause it, and then checking if each one of the DLLs on the list were in their proper locations.
Here is the code from InstallAware for the DLL Call Function:
Code: Select all
~InstallAware Clipboard Data~
~Call DLL Function~
~{567DB413-0B71-4D0D-B957-2464B0B5032E}~
~$TARGETDIR$\ConfigRA\RAWrapper.dll,IsValid,word,DllReturn1,"pointer to string",$SN$,"pointer to string",$secstring$,"pointer to string",$orderNum$,"pointer to string",$actBy$,"allocated string buffer (MAX_PATH length)",$isValid$,$~
~mIDEFunc.dll\mEXEFunc.dll~
~Comment~
~{52323C82-DA85-493D-9621-E20433EFD0A2}~
~~
~Set Variable~
~{DFD9D80F-22A5-4EB1-A07C-B9CE22157FD5}~
~dllreturn1$MYAH$MYAH$FALSE~
~~
~Set Variable~
~{84B72E74-4A85-4ED3-82D2-065DE954D799}~
~isValid$MYAH$MYAH$FALSE~
~~
What could be causing this issue?
Thank you.
-Christina