summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-06-02 20:52:38 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-06-02 20:52:38 +0200
commit0371a41375680c584c332524032441d47710f6ab (patch)
tree2191cfeb5634a388dcc217e61556ff39067cf86e
parentd0d1c30fc202011a0ae48cd3c466be288cf23797 (diff)
Fix manifests for UAC
-rw-r--r--src/icon_ph.rc26
-rw-r--r--src/icon_tst.rc28
2 files changed, 37 insertions, 17 deletions
diff --git a/src/icon_ph.rc b/src/icon_ph.rc
index e28c094..a2d3153 100644
--- a/src/icon_ph.rc
+++ b/src/icon_ph.rc
@@ -1,23 +1,33 @@
app ICON DISCARDABLE "../ico/photorec.ico"
-CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE "../win/photorec_win.exe.manifest"
+//CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE "../win/photorec_win.exe.manifest"
+1 24 "../win/photorec_win.exe.manifest"
1 VERSIONINFO
-FILEVERSION 6, 11, 0, 0
-PRODUCTVERSION 6, 11, 0, 0
+FILEVERSION 6, 13, 0, 0
+PRODUCTVERSION 6, 13, 0, 0
FILEFLAGSMASK 0x3f
FILEOS 0x4
FILETYPE 0x1
BEGIN
BLOCK "StringFileInfo"
BEGIN
- BLOCK "000004b0"
+ BLOCK "040904E4"
BEGIN
- VALUE "CompanyName", "CGSecurity"
- VALUE "FileDescription", "PhotoRec"
- VALUE "InternalName", "PhotoRec"
- VALUE "LegalCopyright", "Copyright \251 2009"
+ VALUE "CompanyName", "CGSecurity"
+ VALUE "ProductName", "PhotoRec"
+ VALUE "FileDescription", "PhotoRec"
+ VALUE "InternalName", "PhotoRec"
VALUE "OriginalFilename", "photorec_win.exe"
+ VALUE "Comments", "Signature based file recovery utility"
+ VALUE "FileVersion", "6.13"
+ VALUE "ProductVersion", "6.13"
+ VALUE "LegalCopyright", "Copyright (C) 2011"
END
END
+ BLOCK "VarFileInfo"
+ BEGIN
+ /* Once again -- same meanings -- apparently necessary */
+ VALUE "Translation", 0x0409, 0x04E4
+ END
END
diff --git a/src/icon_tst.rc b/src/icon_tst.rc
index 5622bbf..46232dd 100644
--- a/src/icon_tst.rc
+++ b/src/icon_tst.rc
@@ -1,23 +1,33 @@
app ICON DISCARDABLE "../ico/testdisk.ico"
-CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE "../win/testdisk_win.exe.manifest"
+//CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MOVEABLE PURE "../win/testdisk_win.exe.manifest"
+1 24 MOVEABLE PURE "../win/testdisk_win.exe.manifest"
1 VERSIONINFO
-FILEVERSION 6, 11, 0, 0
-PRODUCTVERSION 6, 11, 0, 0
+FILEVERSION 6, 13, 0, 0
+PRODUCTVERSION 6, 13, 0, 0
FILEFLAGSMASK 0x3f
FILEOS 0x4
FILETYPE 0x1
BEGIN
BLOCK "StringFileInfo"
BEGIN
- BLOCK "000004b0"
+ BLOCK "040904E4"
BEGIN
- VALUE "CompanyName", "CGSecurity"
- VALUE "FileDescription", "TestDisk"
- VALUE "InternalName", "TestDisk"
- VALUE "LegalCopyright", "Copyright \251 2009"
+ VALUE "CompanyName", "CGSecurity"
+ VALUE "ProductName", "TestDisk"
+ VALUE "FileDescription", "TestDisk"
+ VALUE "InternalName", "TestDisk"
VALUE "OriginalFilename", "testdisk_win.exe"
+ VALUE "Comments", "Partition and file recovery utility"
+ VALUE "FileVersion", "6.13"
+ VALUE "ProductVersion", "6.13"
+ VALUE "LegalCopyright", "Copyright (C) 2011"
END
- END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ /* Once again -- same meanings -- apparently necessary */
+ VALUE "Translation", 0x0409, 0x04E4
+ END
END