From c169f717ee2cda321e0fd94ae83e9fd375847f98 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Thu, 27 Jan 2005 10:43:12 +0000 Subject: [PATCH] Implement custom action type 19, Halt install and display error message. --- dlls/msi/custom.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index 7366d71aa3..80066deb5d 100644 --- a/dlls/msi/custom.c +++ b/dlls/msi/custom.c @@ -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; -- 2.33.8