Make sure that is the entry point of the DLL.  An exported __stdcall
function is actually decorated to be [EMAIL PROTECTED] so try setting
DllEntry to [EMAIL PROTECTED]  If that works, you can
alias the export with the with /EXPORT:[EMAIL PROTECTED]
option on the linker command line.
 
Use:
dumpbin /EXPORTS wildcaddysetup.dll

To see the decorated exported DLL entry point names.

Bill


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Jones
(HS)
        Sent: Wednesday, October 18, 2006 4:13 PM
        To: wix-users@lists.sourceforge.net
        Subject: [WiX-users] CustomAction not being called
        
        
                I am trying to run a custom action.  Right now that
custom action just returns ERROR_SUCCESS but every invocation fails
without even loading the dll.
        Here is the log:
         
        Action start 10:58:35: InstallCert.
        MSI (s) (C4:14) [10:58:35:078]: Creating MSIHANDLE (1) of type
790542 for thread 2836
        MSI (s) (C4:04) [10:58:35:078]: Invoking remote custom action.
DLL: C:\WINDOWS\Installer\MSI3EB5.tmp, Entrypoint:
InstallApplicationCertificate
        MSI (s) (C4:BC) [10:58:35:078]: Generating random cookie.
        MSI (s) (C4:BC) [10:58:35:078]: Created Custom Action Server
with PID 2476 (0x9AC).
        MSI (s) (C4:38) [10:58:35:109]: Running as a service.
        MSI (s) (C4:38) [10:58:35:125]: Hello, I'm your 32bit
Impersonated custom action server.
        MSI (s) (C4:04) [10:58:35:125]: Closing MSIHANDLE (1) of type
790542 for thread 2836
        Action ended 10:58:35: InstallCert. Return value 3.
         
        I have verified the DLL has the appropriate export and here are
the related WIX tags:
         
            <CustomAction Id='InstallCert' 
                BinaryKey='WildcaddySetup'
                DllEntry='InstallApplicationCertificate'
                Return='check' />
         
            <InstallExecuteSequence>
                <Custom Action='InstallCert' After='InstallFinalize' />
            </InstallExecuteSequence>
         
            <Binary Id='WildcaddySetup'
        
SourceFile='$(var.FileRoot)\applications\wildcaddy\wildcaddysetup.dll'
/>
         
        Anyone have any idea what I might be doing wrong?  What does
"Return value 3" mean?  Is it ERROR_PATH_NOT_FOUND?  If so, shouldn't
the Binary tag setup the correct temporary path?
         
        Jeff
         
        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to