msiexec: Enable visual styles.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-06-09 21:57:51 +08:00 committed by Alexandre Julliard
parent ed673bdcf5
commit 76e448bd7d
4 changed files with 23 additions and 1 deletions

View File

@ -1,5 +1,5 @@
MODULE = msiexec.exe
IMPORTS = msi ole32 advapi32 user32
IMPORTS = msi ole32 advapi32 user32 comctl32
EXTRADLLFLAGS = -mwindows -mno-cygwin

View File

@ -22,6 +22,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commctrl.h>
#include <msi.h>
#include <winsvc.h>
#include <objbase.h>
@ -626,6 +627,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
int argc;
LPWSTR *argvW = NULL;
InitCommonControls();
/* parse the command line */
process_args( GetCommandLineW(), &argc, &argvW );

View File

@ -0,0 +1,16 @@
<?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>

View File

@ -33,3 +33,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: msiexec.ico */
1 ICON msiexec.ico
/* @makedep: msiexec.manifest */
1 RT_MANIFEST msiexec.manifest