blob: bf62d7b256fad03b124a710b80b1e4ed30823cb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#define IDR_VERSION1 1
#include <Winver.h>
#include "version/version.rc"
#define wxUSE_NO_MANIFEST 1 //lame resource compiler requires us to define an integer here
#include <wx/msw/wx.rc>
/*
Reasons to NOT use the wxWidgets manifest file:
1. beginning with VC11 we get linking error "CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409"
due to "#define wxMANIFEST_ID 1" in wx.rc. Using another number doesn't integrate the manifest correctly for VC2010 compilers.
2. it is missing the "requestedExecutionLevel" element. Consequently UAC virtualization will be active for a 32 bit executable started in user mode
*/
//MSDN on manifests: http://msdn.microsoft.com/en-us/library/bb756929.aspx
#define MANIFEST_RESOURCE_ID 1
#if defined(WX_CPU_AMD64) //check for 64 bit *first*
MANIFEST_RESOURCE_ID RT_MANIFEST "amd64.manifest"
#elif defined(WX_CPU_X86)
MANIFEST_RESOURCE_ID RT_MANIFEST "win32.manifest"
#else
#error What is going on?
#endif
A_PROGRAM_ICON ICON DISCARDABLE "lib/FreeFileSync.ico"
B_BATCH_ICON ICON DISCARDABLE "lib/Batch.ico"
C_SYNC_DB_ICON ICON DISCARDABLE "lib/SyncDB.ico"
IDR_VERSION1 VERSIONINFO
FILEVERSION FREEFILESYNC_VER
PRODUCTVERSION FREEFILESYNC_VER
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "FFFF04B0"
BEGIN
VALUE "FileDescription", "Folder Comparison and Synchronization\0"
VALUE "FileVersion", FREEFILESYNC_VER_STR
VALUE "ProductName", "FreeFileSync\0"
VALUE "ProductVersion", FREEFILESYNC_VER_STR
VALUE "LegalCopyright", "Zenju - All Rights Reserved\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0xFFFF, 0x04B0
END
END
|