The MinGW.org Installation Manager Tool
Révision | 3f59927a98d05990e1ce7c84125d47d5a90b1b23 (tree) |
---|---|
l'heure | 2013-05-15 05:42:19 |
Auteur | Keith Marshall <keithmarshall@user...> |
Commiter | Keith Marshall |
Make application manifest resource definition reusable.
@@ -1,3 +1,10 @@ | ||
1 | +2013-05-14 Keith Marshall <keithmarshall@users.sourceforge.net> | |
2 | + | |
3 | + Make application manifest resource definition reusable. | |
4 | + | |
5 | + * src/manifest.rc: New file; factor content from... | |
6 | + * src/guimain.rc: ...here, whence include it. | |
7 | + | |
1 | 8 | 2013-05-08 Keith Marshall <keithmarshall@users.sourceforge.net> |
2 | 9 | |
3 | 10 | Extend DMH services to delay-loaded DLL clients. |
@@ -56,27 +56,7 @@ END | ||
56 | 56 | /* Include a manifest resource, to support visual style attributes |
57 | 57 | * and unprivileged UAC, when running on current MS-Windows variants. |
58 | 58 | */ |
59 | -CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE | |
60 | -BEGIN | |
61 | - "<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?> \ | |
62 | - <assembly xmlns=""urn:schemas-microsoft-com:asm.v1"" manifestVersion=""1.0""> \ | |
63 | - <trustInfo xmlns=""urn:schemas-microsoft-com:asm.v2""> \ | |
64 | - <security> \ | |
65 | - <requestedPrivileges> \ | |
66 | - <requestedExecutionLevel level=""asInvoker"" uiAccess=""false"" /> \ | |
67 | - </requestedPrivileges> \ | |
68 | - </security> \ | |
69 | - </trustInfo> \ | |
70 | - <dependency> \ | |
71 | - <dependentAssembly> \ | |
72 | - <assemblyIdentity \ | |
73 | - type=""Win32"" name=""Microsoft.Windows.Common-Controls"" version=""6.0.0.0"" \ | |
74 | - processorArchitecture=""x86"" publicKeyToken=""6595b64144ccf1df"" language=""*"" \ | |
75 | - /> \ | |
76 | - </dependentAssembly> \ | |
77 | - </dependency> \ | |
78 | - </assembly>" | |
79 | -END | |
59 | +#include "manifest.rc" | |
80 | 60 | |
81 | 61 | /* Miscellaneous string constants. |
82 | 62 | */ |
@@ -0,0 +1,50 @@ | ||
1 | +/* | |
2 | + * manifest.rc | |
3 | + * | |
4 | + * $Id$ | |
5 | + * | |
6 | + * Written by Keith Marshall <keithmarshall@users.sourceforge.net> | |
7 | + * Copyright (C) 2013, MinGW.org Project | |
8 | + * | |
9 | + * | |
10 | + * Manifest resource definition, supporting visual style attributes | |
11 | + * and unprivileged UAC, when running on current MS-Windows variants. | |
12 | + * | |
13 | + * | |
14 | + * This is free software. Permission is granted to copy, modify and | |
15 | + * redistribute this software, under the provisions of the GNU General | |
16 | + * Public License, Version 3, (or, at your option, any later version), | |
17 | + * as published by the Free Software Foundation; see the file COPYING | |
18 | + * for licensing details. | |
19 | + * | |
20 | + * Note, in particular, that this software is provided "as is", in the | |
21 | + * hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not | |
22 | + * even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY | |
23 | + * PARTICULAR PURPOSE. Under no circumstances will the author, or the | |
24 | + * MinGW Project, accept liability for any damages, however caused, | |
25 | + * arising from the use of this software. | |
26 | + * | |
27 | + */ | |
28 | +CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE | |
29 | + BEGIN | |
30 | + "<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?> \ | |
31 | + <assembly xmlns=""urn:schemas-microsoft-com:asm.v1"" manifestVersion=""1.0""> \ | |
32 | + <trustInfo xmlns=""urn:schemas-microsoft-com:asm.v2""> \ | |
33 | + <security> \ | |
34 | + <requestedPrivileges> \ | |
35 | + <requestedExecutionLevel level=""asInvoker"" uiAccess=""false"" /> \ | |
36 | + </requestedPrivileges> \ | |
37 | + </security> \ | |
38 | + </trustInfo> \ | |
39 | + <dependency> \ | |
40 | + <dependentAssembly> \ | |
41 | + <assemblyIdentity \ | |
42 | + type=""Win32"" name=""Microsoft.Windows.Common-Controls"" version=""6.0.0.0"" \ | |
43 | + processorArchitecture=""x86"" publicKeyToken=""6595b64144ccf1df"" language=""*"" \ | |
44 | + /> \ | |
45 | + </dependentAssembly> \ | |
46 | + </dependency> \ | |
47 | + </assembly>" | |
48 | + END | |
49 | + | |
50 | +/* $RCSfile$: end of file */ |