This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Error creating Custom Dialog - Help
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 12, 2011
10:20 AM
Error creating Custom Dialog - Help
I have a Basic MSI project and I'm trying to launch a custom dialog from a CA. I need to do this in a deferred action, so I can't use a MSI dialog. I keep getting errors, however. I'm using the EzDefineDialog function. I've tried:
I've also tried:
and
which both return DLG_ERR.
The only time I've gotten anything to work is by trying to assign a Resource ID in the Dialog table to my dialog. I set the ISResourceID field to 12001 and try
How am I supposed to get this to work? I feel like I've tried everything. I created a new project to test it out, same results. Please help!
nResult = EzDefineDialog ("MyDialog", ISUSER, "MyDialog", 0);which returns -1. During the installation, I don't even see the _isuser.dll anywhere in the SUPPORTDIR, but _isres.dll is in there.
I've also tried:
nResult = EzDefineDialog ("MyDialog", "", "MyDialog", 0);
and
nResult = EzDefineDialog ("MyDialog", ISRES, "MyDialog", 0);
which both return DLG_ERR.
The only time I've gotten anything to work is by trying to assign a Resource ID in the Dialog table to my dialog. I set the ISResourceID field to 12001 and try
nResult = EzDefineDialog ("MyDialog", "", "", 12001);This works in that a dialog appears, but it is one of the built-in dialogs. I've tried other numbers in the 12XXX range and they are for existing dialogs. When I try a number that doesn't appear to already be set, i.e. 12345, I get the DLG_ERR again.
How am I supposed to get this to work? I feel like I've tried everything. I created a new project to test it out, same results. Please help!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 12, 2011
01:39 PM
Does this approach even work on Basic MSI projects? According to what I've read it should, but I don't always trust the IS help documentation.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)