Added some code to the installer that cleans up obsolete files form the LameXP directory. This will be especially useful when updating from v3.xx.

This commit is contained in:
LoRd_MuldeR 2011-02-15 01:56:48 +01:00
parent f412e041e9
commit bdfe4d5998
3 changed files with 22 additions and 12 deletions

View File

@ -76,15 +76,15 @@ Currently the follwing input formats are supported by LameXP:<br><ul>
<br> <br>
Occasionally your anti-virus program may mistakenly detect "malware" (virus, trojan, worm, etc.) in some of<br> Occasionally your anti-virus program may mistakenly detect "malware" (virus, trojan, worm, etc.) in some of<br>
the files here. This is called a "false-positive" and the files are actually innocent/clean. It's an error in<br> the files here. This is called a "false-positive" and the files are actually innocent/clean. It's an error in<br>
your specific Antivirus software. In case you encounter such problems, goto <a href="http://www.virustotal.com/" target="_blank">http://www.virustotal.com/</a> and<br> your specific anti-virus software. In case you encounter such problems, goto <a href="http://www.virustotal.com/" target="_blank">http://www.virustotal.com/</a> and<br>
check the file again with multiple Antivirus engines! And take care with results like "suspicious", "generic"<br> check the file with multiple anti-virus engines! Moreover take care with results like "suspicious", "generic"<br>
or "packed". Those are *not* real hits, they are just wild speculation.<br> or "packed". Those are *not* real malware detections, they are just wild speculation.<br>
<br> <br>
Apparently Antivirus programs tend to suspect installers/uninstaller created with NSIS. Furthermore some<br> Apparently anti-virus programs tend to suspect installers/uninstaller created with NSIS. Furthermore some<br>
anti-virus programs blindly suspect all UPX´d (packed) executables of being malware. Obviously this is a<br> anti-virus programs blindly suspect all UPX'd (packed) executables of being malware. Obviously this is a<br>
stupid generalization, so please ignore those warnings! Last but not least: Always keep in mind that this is<br> stupid generalization, so please ignore those warnings! Last but not least: Always keep in mind that this is<br>
OpenSource software! If you don´t trust the people providing the pre-compiled binaries, download the source<br> OpenSource software. If you don't trust the people providing the pre-compiled binaries, download the source<br>
codes and compile them yourself.<br> code, search the code for "malicious" functions (good luck ^^) and compile your own binary.<br>
<br> <br>
DON'T SUBMIT ANY VIRUS REPORTS, UNLESS YOU HAVE VERIFIED THE INFECTION WITH MULTIPLE ANTI-VIRUS ENGNINES!<br><br> DON'T SUBMIT ANY VIRUS REPORTS, UNLESS YOU HAVE VERIFIED THE INFECTION WITH MULTIPLE ANTI-VIRUS ENGNINES!<br><br>

View File

@ -396,12 +396,22 @@ FunctionEnd
;Install Files ;Install Files
;-------------------------------- ;--------------------------------
Section "-Prepare"
SetOutPath "$INSTDIR"
SectionEnd
Section "!Install Files" Section "!Install Files"
!insertmacro PrintProgress "$(LAMEXP_LANG_STATUS_INSTFILES)" !insertmacro PrintProgress "$(LAMEXP_LANG_STATUS_INSTFILES)"
SetOutPath "$INSTDIR"
Delete "$INSTDIR\Changelog.htm"
Delete "$INSTDIR\Changelog.html"
Delete "$INSTDIR\Contributors.txt"
Delete "$INSTDIR\FAQ.html"
Delete "$INSTDIR\Howto.html"
Delete "$INSTDIR\LameXP.exe"
Delete "$INSTDIR\LameXP.exe.sig"
Delete "$INSTDIR\License.txt"
Delete "$INSTDIR\ReadMe.txt"
Delete "$INSTDIR\Translate.html"
Delete "$INSTDIR\Uninstall.exe"
!insertmacro GetExecutableName $R0 !insertmacro GetExecutableName $R0
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`

View File

@ -25,7 +25,7 @@
#define VER_LAMEXP_MAJOR 4 #define VER_LAMEXP_MAJOR 4
#define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 0 #define VER_LAMEXP_MINOR_LO 0
#define VER_LAMEXP_BUILD 312 #define VER_LAMEXP_BUILD 314
#define VER_LAMEXP_SUFFIX RC-1 #define VER_LAMEXP_SUFFIX RC-1
/* /*