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
|
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 @@
|
||||||
|
|
||||||
#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[])
|
||||||
Wow64RevertWow64FsRedirection( redir );
|
Wow64RevertWow64FsRedirection( redir );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
InitCommonControls();
|
||||||
|
|
||||||
while( i<argc )
|
while( i<argc )
|
||||||
{
|
{
|
||||||
token = argv[i++];
|
token = argv[i++];
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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\
|
\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
|
||||||
|
|
Loading…
Reference in New Issue