Fixed web-update tool. After the recent update of the Inetc plug-in, the updater was not working anymore. D'oh!

This commit is contained in:
LoRd_MuldeR 2011-10-16 19:15:40 +02:00
parent 61331ce6f8
commit d14ecfffa6
4 changed files with 16 additions and 3 deletions

View File

@ -413,14 +413,27 @@ Section "!Install Files"
Delete "$INSTDIR\Contributors.txt" Delete "$INSTDIR\Contributors.txt"
Delete "$INSTDIR\FAQ.html" Delete "$INSTDIR\FAQ.html"
Delete "$INSTDIR\Howto.html" Delete "$INSTDIR\Howto.html"
Delete "$INSTDIR\LameEnc.sys"
Delete "$INSTDIR\LameXP.exe" Delete "$INSTDIR\LameXP.exe"
Delete "$INSTDIR\LameXP.exe.sig" Delete "$INSTDIR\LameXP.exe.sig"
Delete "$INSTDIR\License.txt" Delete "$INSTDIR\License.txt"
Delete "$INSTDIR\Readme.htm"
Delete "$INSTDIR\ReadMe.txt" Delete "$INSTDIR\ReadMe.txt"
Delete "$INSTDIR\Settings.cfg"
Delete "$INSTDIR\Translate.html" Delete "$INSTDIR\Translate.html"
Delete "$INSTDIR\Uninstall.exe" Delete "$INSTDIR\Uninstall.exe"
!insertmacro GetExecutableName $R0 !insertmacro GetExecutableName $R0
DeleteOldBinary:
ClearErrors
Delete "$INSTDIR\$R0"
${If} ${Errors}
MessageBox MB_TOPMOST|MB_ICONSTOP|MB_RETRYCANCEL 'Could not delete old "$R0" file. Is LameXP still running?' IDRETRY DeleteOldBinary
Abort "Could not delete old binary!"
${EndIf}
File `/oname=$R0` `${LAMEXP_SOURCE_PATH}\LameXP.exe` File `/oname=$R0` `${LAMEXP_SOURCE_PATH}\LameXP.exe`
File `${LAMEXP_SOURCE_PATH}\*.txt` File `${LAMEXP_SOURCE_PATH}\*.txt`
File `${LAMEXP_SOURCE_PATH}\*.html` File `${LAMEXP_SOURCE_PATH}\*.html`

Binary file not shown.

View File

@ -29,8 +29,8 @@
#define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 3 #define VER_LAMEXP_MINOR_LO 3
#define VER_LAMEXP_TYPE Beta #define VER_LAMEXP_TYPE Beta
#define VER_LAMEXP_PATCH 4 #define VER_LAMEXP_PATCH 5
#define VER_LAMEXP_BUILD 740 #define VER_LAMEXP_BUILD 742
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Tools versions // Tools versions

View File

@ -90,7 +90,7 @@ g_lamexp_tools[] =
{"875871c942846f6ad163f9e4949bba2f4331bec678ca5aefe58c961b6825bd0d419a078b", CPU_TYPE_ALL_ALL, "valdec.exe", 31}, {"875871c942846f6ad163f9e4949bba2f4331bec678ca5aefe58c961b6825bd0d419a078b", CPU_TYPE_ALL_ALL, "valdec.exe", 31},
{"e657331e281840878a37eb4fb357cb79f33d528ddbd5f9b2e2f7d2194bed4720e1af8eaf", CPU_TYPE_ALL_ALL, "wget.exe", 1114}, {"e657331e281840878a37eb4fb357cb79f33d528ddbd5f9b2e2f7d2194bed4720e1af8eaf", CPU_TYPE_ALL_ALL, "wget.exe", 1114},
{"8923cf65e181f8a99f28e9d1ea0d89ace02142241a7f76dae3d540ffd0790495af815644", CPU_TYPE_ALL_ALL, "wma2wav.exe", 20111001}, {"8923cf65e181f8a99f28e9d1ea0d89ace02142241a7f76dae3d540ffd0790495af815644", CPU_TYPE_ALL_ALL, "wma2wav.exe", 20111001},
{"aa7668d58559f0295cf088cbb6c184470d9b1b3da6028440c58b6edbca0940bf62501f5f", CPU_TYPE_ALL_ALL, "wupdate.exe", 20111014}, {"bebc3eb0f7378a1f3d54fd75f1112d370f2f6a7fdd78067e6c40a96ce81a6841a1ad8283", CPU_TYPE_ALL_ALL, "wupdate.exe", 20111016},
{"6b053b37d47a9c8659ebf2de43ad19dcba17b9cd868b26974b9cc8c27b6167e8bf07a5a2", CPU_TYPE_ALL_ALL, "wvunpack.exe", 4601}, {"6b053b37d47a9c8659ebf2de43ad19dcba17b9cd868b26974b9cc8c27b6167e8bf07a5a2", CPU_TYPE_ALL_ALL, "wvunpack.exe", 4601},
{NULL, NULL, NULL, NULL} {NULL, NULL, NULL, NULL}
}; };