Implement custom action type 19, Halt install and display error

message.
This commit is contained in:
Aric Stewart 2005-01-27 10:43:12 +00:00 committed by Alexandre Julliard
parent 409d3f62cd
commit c169f717ee
1 changed files with 5 additions and 0 deletions

View File

@ -192,6 +192,11 @@ UINT ACTION_CustomAction(MSIPACKAGE *package,LPCWSTR action, BOOL execute)
case 18: /*EXE file installed with package */
rc = HANDLE_CustomType18(package,source,target,type,action);
break;
case 19: /* Error that halts install */
deformat_string(package,target,&deformated);
MessageBoxW(NULL,deformated,NULL,MB_OK);
rc = ERROR_FUNCTION_FAILED;
break;
case 50: /*EXE file specified by a property value */
rc = HANDLE_CustomType50(package,source,target,type,action);
break;