cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
esiemiat
Level 9

MsiProcessMessage MessageBox Style

I am using MsiProcessMessage to display an error message in one of my installscript custom actions. The help indicates that I should be able to use any of the MessageBox constants such as MB_ICONQUESTION, MB_ICONWARNING, and MB_ICONINFORMATION. However, these are not recognized by the compiler. What should I use for these constants in an installscript CA?
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Perhaps try:

#define MB_ICONERROR          0x00000010
#define MB_ICONQUESTION 0x00000020
#define MB_ICONWARNING 0x00000030
#define MB_ICONINFORMATION 0x00000040
0 Kudos
esiemiat
Level 9

Thank you.
0 Kudos