Mike McCormack : msiexec: Catch the -Embedding flag and print out a message .

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 8 06:20:24 CST 2007


Module: wine
Branch: master
Commit: ecefcccabf8a834138d4c8d190282f6cd5881cc0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ecefcccabf8a834138d4c8d190282f6cd5881cc0

Author: Mike McCormack <mike at codeweavers.com>
Date:   Thu Feb  8 10:56:27 2007 +0900

msiexec: Catch the -Embedding flag and print out a message.

---

 programs/msiexec/msiexec.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c
index 64ad48e..2d2728c 100644
--- a/programs/msiexec/msiexec.c
+++ b/programs/msiexec/msiexec.c
@@ -360,6 +360,12 @@ static DWORD DoRegServer(void)
     return ret;
 }
 
+static INT DoEmbedding( LPWSTR key )
+{
+	printf("Remote custom actions are not supported yet\n");
+	return 1;
+}
+
 static BOOL process_args_from_reg( LPWSTR ident, int *pargc, WCHAR ***pargv )
 {
 	LONG r;
@@ -438,6 +444,9 @@ int main(int argc, char **argv)
 			return 1;
 	}
 
+	if (argc == 3 && msi_option_equal(argvW[1], "Embedding"))
+		return DoEmbedding( argvW[2] );
+
 	for(i = 1; i < argc; i++)
 	{
 		WINE_TRACE("argvW[%d] = %s\n", i, wine_dbgstr_w(argvW[i]));




More information about the wine-cvs mailing list