cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dashelman
Level 3

SendMessageA DLL call in ISM

Hi there.
Does anyone have an example of call the User32.dll function named SendMessageA?

This DLL function can be used to send spawned windows control events...

Sincerely,
David A
Labels (1)
0 Kudos
(2) Replies
Christopher_Pai
Level 16

A Google search for "InstallScript SendMessage" reveals many hits including this page on InstallSite:

http://www.installsite.org/pages/en/isp_os.htm

As an aside I wasn't familiar with SendMessageTimeout. I'd always just used SendMessage over the years. Also depending on what you are trying to do, a Standard DLL CA ( without using InstallScript ) might fit your needs.
0 Kudos
dashelman
Level 3

Exactly what I was thinking. Thank you, Chris.
I wanted a standard DLL CA is what I have been researching.
Right now the DLL signature is
NUMBER SendMessageA(in HWND=32770,in NUMBER=1001,in STRING="0",inout STRING="0")


My error is now, the TARGET field.
The custom action can not find User32.dll.

I have even tried adding the file to the installed copmponents, but the windows installer knew that the file1 key was not slated for installation.

I have also tried setting a property which results to the entire path. The file was never found.
0 Kudos