Commit 69496947 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

msiexec: Build with -mwindows.

parent a4b62b17
......@@ -4,7 +4,7 @@ TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = msiexec.exe
APPMODE = -mconsole
APPMODE = -mwindows
IMPORTS = msi ole32 advapi32 user32 kernel32
C_SRCS = \
......
......@@ -493,7 +493,7 @@ static BOOL process_args_from_reg( LPWSTR ident, int *pargc, WCHAR ***pargv )
return ret;
}
int main(int argc, char **argv)
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
int i;
BOOL FunctionInstall = FALSE;
......@@ -529,9 +529,10 @@ int main(int argc, char **argv)
LPWSTR DllName = NULL;
DWORD ReturnCode;
int argc;
LPWSTR *argvW = NULL;
/* overwrite the command line */
/* parse the command line */
process_args( GetCommandLineW(), &argc, &argvW );
/*
......
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