Commit 76e448bd authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

msiexec: Enable visual styles.

parent ed673bdc
MODULE = msiexec.exe MODULE = msiexec.exe
IMPORTS = msi ole32 advapi32 user32 IMPORTS = msi ole32 advapi32 user32 comctl32
EXTRADLLFLAGS = -mwindows -mno-cygwin EXTRADLLFLAGS = -mwindows -mno-cygwin
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#include <commctrl.h>
#include <msi.h> #include <msi.h>
#include <winsvc.h> #include <winsvc.h>
#include <objbase.h> #include <objbase.h>
...@@ -626,6 +627,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine ...@@ -626,6 +627,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
int argc; int argc;
LPWSTR *argvW = NULL; LPWSTR *argvW = NULL;
InitCommonControls();
/* parse the command line */ /* parse the command line */
process_args( GetCommandLineW(), &argc, &argvW ); process_args( GetCommandLineW(), &argc, &argvW );
......
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="Wine.Msiexec" version="0.0.0.0"/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
...@@ -33,3 +33,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL ...@@ -33,3 +33,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: msiexec.ico */ /* @makedep: msiexec.ico */
1 ICON msiexec.ico 1 ICON msiexec.ico
/* @makedep: msiexec.manifest */
1 RT_MANIFEST msiexec.manifest
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