Commit 1a47d1b9 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

uninstaller: Enable visual styles.

parent af242e43
MODULE = uninstaller.exe MODULE = uninstaller.exe
IMPORTS = advapi32 IMPORTS = advapi32
DELAYIMPORTS = shlwapi shell32 user32 gdi32 DELAYIMPORTS = shlwapi shell32 user32 gdi32 comctl32
EXTRADLLFLAGS = -mconsole -municode -mno-cygwin EXTRADLLFLAGS = -mconsole -municode -mno-cygwin
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <string.h> #include <string.h>
#include <windows.h> #include <windows.h>
#include <commctrl.h>
#include <shlwapi.h> #include <shlwapi.h>
#include "resource.h" #include "resource.h"
#include "regstr.h" #include "regstr.h"
...@@ -176,6 +177,8 @@ int __cdecl wmain(int argc, WCHAR *argv[]) ...@@ -176,6 +177,8 @@ int __cdecl wmain(int argc, WCHAR *argv[])
Wow64RevertWow64FsRedirection( redir ); Wow64RevertWow64FsRedirection( redir );
} }
InitCommonControls();
while( i<argc ) while( i<argc )
{ {
token = argv[i++]; token = argv[i++];
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
*/ */
#include <windef.h> #include <windef.h>
#include <winuser.h>
#define IDS_APPNAME 1000 #define IDS_APPNAME 1000
#define IDS_UNINSTALLFAILED 1001 #define IDS_UNINSTALLFAILED 1001
......
<?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.Uninstaller" 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>
...@@ -41,3 +41,6 @@ STRINGTABLE { ...@@ -41,3 +41,6 @@ STRINGTABLE {
\t\t Use '--list' to determine the application GUID.\n\ \t\t Use '--list' to determine the application GUID.\n\
\ [no option] Launch the graphical version of this program.\n\n" \ [no option] Launch the graphical version of this program.\n\n"
} }
/* @makedep: uninstaller.manifest */
1 RT_MANIFEST uninstaller.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