[vlc-commits] commit: Win32: don't forget to remove the plugins cache at uninstall ( Geoffroy Couprie )

git at videolan.org git at videolan.org
Mon Mar 8 01:11:17 CET 2010


vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Mon Mar  8 01:02:54 2010 +0100| [8bcd29bde5e43d11edf6c2c9e651b04a91cfbc93] | committer: Geoffroy Couprie 

Win32: don't forget to remove the plugins cache at uninstall

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8bcd29bde5e43d11edf6c2c9e651b04a91cfbc93
---

 extras/package/win32/vlc.win32.nsi.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/extras/package/win32/vlc.win32.nsi.in b/extras/package/win32/vlc.win32.nsi.in
index 8429047..6798b48 100644
--- a/extras/package/win32/vlc.win32.nsi.in
+++ b/extras/package/win32/vlc.win32.nsi.in
@@ -444,7 +444,13 @@ Section $Name_Section01 SEC01
 @BUILD_SKINS_TRUE@   !insertmacro InstallFolder skins
 @BUILD_HTTPD_TRUE@   !insertmacro InstallFolder http
 @BUILD_LUA_TRUE@     !insertmacro InstallFolder lua
+
+  ; Generate the cache and add it to uninstall.log
   ExecWait "$INSTDIR\vlc-cache-gen.exe $INSTDIR\plugins"
+  FindFirst $0 $1 "$INSTDIR\plugins\*.dat"
+  FileWrite $UninstallLog "plugins\$1$\r$\n"
+  FindClose $0
+
 
 
   ; URLs



More information about the vlc-commits mailing list