I have problem using modal dialog in my custom action. The return code of DoModal() is -1, failed to create. Is there anything particular that I have to do to fix this or it is not supported yet?
Modal dialogs are supported by Windows Installer. There is likely a problem with your code.
You could try call the Create function of your class to make sure you have a valid handle. Also, use could use GetLastError to see why is DoModal failing.
Thanks, Mike. You are right. :-) although I don't know exactly how I messed up to get error code 1812 "The specified image file did not contain a resource section" :-(