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
- :
- custom action - calling DLL
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, 2008
06:38 PM
custom action - calling DLL
I have set up a custom action to call the SHChangeNotifyA function in the shell32.dll.
However, when I attempt to build the project with the custom function, I get an error:
The function block "::SHChangeNotifyA" must be in the form "Module::Function" with an error code of -3713
I cannot find any specific information on how to correct this.
Has anyone seen this before, and if so, how do I correct the problem?
Regards,
Don Metzler
However, when I attempt to build the project with the custom function, I get an error:
The function block "::SHChangeNotifyA" must be in the form "Module::Function" with an error code of -3713
I cannot find any specific information on how to correct this.
Has anyone seen this before, and if so, how do I correct the problem?
Regards,
Don Metzler
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
09:07 AM
What are your (Standard DLL?) action settings?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
10:54 AM
RobertDickau wrote:
What are your (Standard DLL?) action settings?
DLL Filename: shell32.dll
Function signature: void ::SHChangeNotifyA(in NUMBER=134217728, in NUMBER=8192, in POINTER = NULL, in POINTER = NULL)
Return processing: Synchronous (ignores exit code)
In-Script Execution: Immediate Execution
Install Exec Sequence: After InstallFinalize
Install Exec Condition: Installed
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
01:08 PM
Does it work if you use SHChangeNotify instead of SHChangeNotifyA?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
02:25 PM
RobertDickau wrote:
Does it work if you use SHChangeNotify instead of SHChangeNotifyA?
No - the same error occurs.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 13, 2008
08:17 PM
RobertDickau wrote:
Strange that the signature line doesn't have shell32.dll at the front; a similar example (except with no condition) seems to work at this end:
I deleted the existing item and recreated it with the same parameters. The new one inserted the "shell32:" as a prefix to the function name.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2008
09:01 AM
Okay, good---is it working now?