mirror of
https://github.com/reactos/reactos.git
synced 2024-12-05 01:13:31 +08:00
[WINESYNC] msiexec: Enable visual styles.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 76e448bd7dc147443191b9f652f2f274f44e9fbe by Zhiyi Zhang <zzhang@codeweavers.com>
This commit is contained in:
parent
de80f2a3c1
commit
a8f4759920
@ -12,6 +12,6 @@ add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/msiexec.ico)
|
||||
add_executable(msiexec ${SOURCE} rsrc.rc)
|
||||
set_module_type(msiexec win32gui)
|
||||
target_link_libraries(msiexec uuid wine)
|
||||
add_importlibs(msiexec user32 advapi32 ole32 msi msvcrt kernel32 ntdll)
|
||||
add_importlibs(msiexec user32 advapi32 ole32 comctl32 msi msvcrt kernel32 ntdll)
|
||||
add_pch(msiexec precomp.h SOURCE)
|
||||
add_cd_file(TARGET msiexec DESTINATION reactos/system32 FOR all)
|
||||
|
@ -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 );
|
||||
|
||||
|
16
base/system/msiexec/msiexec.manifest
Normal file
16
base/system/msiexec/msiexec.manifest
Normal 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>
|
@ -33,3 +33,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||
|
||||
/* @makedep: msiexec.ico */
|
||||
1 ICON msiexec.ico
|
||||
|
||||
/* @makedep: msiexec.manifest */
|
||||
1 RT_MANIFEST msiexec.manifest
|
||||
|
Loading…
Reference in New Issue
Block a user