For example, I have a dummy DLL with a function that just displays a message box as soon it is called. This works fine, but once I add a reference to an OpenSSL object the message box will not appear and the installation will end prematurely. Note, displaying the message box is the very first line in the function and does not appear.
Below is the end of the log file from the installation:
Code: Select all
MSI (c) (F8:98) [14:35:34:828]: Doing action: SerialValidationDLL.dll
Action start 14:35:34: SerialValidationDLL.dll.
MSI (c) (F8:00) [14:35:34:843]: Invoking remote custom action. DLL: C:\DOCUME~1\user\LOCALS~1\Temp\MSIFA7.tmp, Entrypoint: ValidateSerial_Sample
Action ended 14:35:34: SerialValidationDLL.dll. Return value 3.
DEBUG: Error 2896: Executing action SerialValidationDLL.dll failed.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2896. The arguments are: SerialValidationDLL.dll, ,
Action ended 14:35:34: WelcomeDlg. Return value 3.
MSI (c) (F8:C0) [14:35:34:875]: Doing action: FatalError
Action start 14:35:34: FatalError.
FOLLOW US
Get the latest news in Application Packaging