OSDN Git Service

Now using the MT tool for embedding the Manifest.
authorLoRd_MuldeR <mulder2@gmx.de>
Thu, 15 Oct 2015 19:20:06 +0000 (21:20 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Thu, 15 Oct 2015 19:20:06 +0000 (21:20 +0200)
etc/NSIS/setup.nsi
etc/Utilities/MT.exe [new file with mode: 0644]
etc/Utilities/MT.exe.config [new file with mode: 0644]
etc/Utilities/ResHacker.exe [deleted file]
res/sha1.exe [new file with mode: 0644]
src/Config.h

index 05c04cb..1a5ef36 100644 (file)
 ;Manifest
 ;--------------------------------
 
-!packhdr "$%TEMP%\~exehead.tmp" `"..\Utilities\ResHacker.exe" -addoverwrite "$%TEMP%\~exehead.tmp", "$%TEMP%\~exehead.tmp", "setup.manifest", 24,1,1033`
-
-!delfile "..\Utilities\ResHacker.log"
-!delfile "..\Utilities\ResHacker.ini"
+!tempfile PACKHDRTEMP
+!packhdr "${PACKHDRTEMP}" '"..\Utilities\MT.exe" -manifest "setup.manifest" -outputresource:"${PACKHDRTEMP};1"'
 
 
 ;--------------------------------
diff --git a/etc/Utilities/MT.exe b/etc/Utilities/MT.exe
new file mode 100644 (file)
index 0000000..a8bf420
Binary files /dev/null and b/etc/Utilities/MT.exe differ
diff --git a/etc/Utilities/MT.exe.config b/etc/Utilities/MT.exe.config
new file mode 100644 (file)
index 0000000..88376d8
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version ="1.0"?> 
+<!-- This allows mt.exe to run on machines with the CLR v4 installed but not 1.1 or 2.0 -->
+<configuration> 
+    <startup useLegacyV2RuntimeActivationPolicy="true"> 
+        <supportedRuntime version="v4.0"/> 
+        <supportedRuntime version="v2.0.50727"/>
+        <supportedRuntime version="v1.1.4322"/>
+    </startup> 
+</configuration>
diff --git a/etc/Utilities/ResHacker.exe b/etc/Utilities/ResHacker.exe
deleted file mode 100644 (file)
index f3d4e57..0000000
Binary files a/etc/Utilities/ResHacker.exe and /dev/null differ
diff --git a/res/sha1.exe b/res/sha1.exe
new file mode 100644 (file)
index 0000000..95cb0d6
Binary files /dev/null and b/res/sha1.exe differ
index 93f4b82..55b10c7 100644 (file)
@@ -35,7 +35,7 @@
 #define VER_LAMEXP_MINOR_LO                                    2
 #define VER_LAMEXP_TYPE                                                RC
 #define VER_LAMEXP_PATCH                                       2
-#define VER_LAMEXP_BUILD                                       1807
+#define VER_LAMEXP_BUILD                                       1808
 #define VER_LAMEXP_CONFG                                       1700
 
 ///////////////////////////////////////////////////////////////////////////////