The "DllCaEntry" Command |
This command along with the "/DllCaEntry" command are used to define a function which is exported by the generated DLL for scheduling with the "DllCa" command.
This function must be defined between the DllCa-C and /DllCa-C commands and it looks like (notice that you must return a return code):
UINT __stdcall CustomAction(MSIHANDLE hInstall);
This command takes these parameters:
Note that MAKEMSI creates a stub to front end your function (which is declared "static") so that it can log entry and exit into any verbose log.
COMPLETE EXAMPLE |
Please see the "TryMeDllCustomAction.MM" example, and also the "Browse for File Dialog" tip.