mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
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:
parent
af242e43cb
commit
1a47d1b96f
|
@ -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
|
||||
|
||||
|
|
|
@ -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++];
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
*/
|
||||
|
||||
#include <windef.h>
|
||||
#include <winuser.h>
|
||||
|
||||
#define IDS_APPNAME 1000
|
||||
#define IDS_UNINSTALLFAILED 1001
|
||||
|
|
16
programs/uninstaller/uninstaller.manifest
Normal file
16
programs/uninstaller/uninstaller.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.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 {
|
|||
\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
|
||||
|
|
Loading…
Reference in a new issue