Commit c169f717 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Implement custom action type 19, Halt install and display error

message.
parent 409d3f62
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment