uninstaller: 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-16 10:33:21 +08:00 committed by Alexandre Julliard
parent af242e43cb
commit 1a47d1b96f
5 changed files with 24 additions and 1 deletions

View File

@ -1,6 +1,6 @@
MODULE = uninstaller.exe
IMPORTS = advapi32
DELAYIMPORTS = shlwapi shell32 user32 gdi32
DELAYIMPORTS = shlwapi shell32 user32 gdi32 comctl32
EXTRADLLFLAGS = -mconsole -municode -mno-cygwin

View File

@ -23,6 +23,7 @@
#include <string.h>
#include <windows.h>
#include <commctrl.h>
#include <shlwapi.h>
#include "resource.h"
#include "regstr.h"
@ -176,6 +177,8 @@ int __cdecl wmain(int argc, WCHAR *argv[])
Wow64RevertWow64FsRedirection( redir );
}
InitCommonControls();
while( i<argc )
{
token = argv[i++];

View File

@ -19,6 +19,7 @@
*/
#include <windef.h>
#include <winuser.h>
#define IDS_APPNAME 1000
#define IDS_UNINSTALLFAILED 1001

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.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>

View File

@ -41,3 +41,6 @@ STRINGTABLE {
\t\t Use '--list' to determine the application GUID.\n\
\ [no option] Launch the graphical version of this program.\n\n"
}
/* @makedep: uninstaller.manifest */
1 RT_MANIFEST uninstaller.manifest