My installation calls the DLL function. In a special case I need to terminate the installation in the DLL code. How can I do this? Is there any msi function?
Thanks in advance.
Posted 05 February 2002 - 15:27
Thanks in advance.
Posted 05 February 2002 - 15:37
Kurt Schneider
Posted 06 February 2002 - 09:04
Thanks anyway for your reply
Posted 06 February 2002 - 10:05
Is the normal way for a DLL to terminate unsuccessfully. I normally end a problem with something like this.
PMSIHANDLE hError;
hError=MsiCreateRecord(2);
MsiRecordSetInteger(hError, 1, MyErrorCode );
MsiProcessMessage(hInstaller, INSTALLMESSAGE_FATALEXIT, hError);
return ERROR_INSTALL_FAILURE;