Skip to content
Snippets Groups Projects
Commit c169f717 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard
Browse files

Implement custom action type 19, Halt install and display error

message.
parent 409d3f62
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment