[vlc-devel] commit: Win32: correctly remove file at uninstall. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Jan 3 14:50:06 CET 2009


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan  3 14:48:29 2009 +0100| [7bf96e77c1a6a0cf16884b6f8de99230921e928e] | committer: Jean-Baptiste Kempf 

Win32: correctly remove file at uninstall.

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

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

diff --git a/extras/package/win32/vlc.win32.nsi.in b/extras/package/win32/vlc.win32.nsi.in
index e6e766e..59f5636 100644
--- a/extras/package/win32/vlc.win32.nsi.in
+++ b/extras/package/win32/vlc.win32.nsi.in
@@ -543,7 +543,7 @@ Section /o $Name_Section03 SEC03
 
 SectionEnd
 
-Section /o $Name_Section04 SEC04
+Section $Name_Section04 SEC04
   SectionIn 3
   SetOutPath "$INSTDIR"
   !insertmacro OpenUninstallLog
@@ -781,6 +781,7 @@ Section "un.$Name_Section91" SEC91
   ;remove activex plugin
   UnRegDLL "$INSTDIR\axvlc.dll"
   Delete /REBOOTOK "$INSTDIR\axvlc.dll"
+  Delete /REBOOTOK "$INSTDIR\axvlc.dll.manifest"
 
   ;remove mozilla plugin
   Push $R0
@@ -808,6 +809,7 @@ Section "un.$Name_Section91" SEC91
   "${Index}-End:"
   !undef Index
   Delete /REBOOTOK "$INSTDIR\npvlc.dll"
+  Delete /REBOOTOK "$INSTDIR\npvlc.dll.manifest"
 
   RMDir "$SMPROGRAMS\VideoLAN"
   RMDir /r $SMPROGRAMS\VideoLAN




More information about the vlc-devel mailing list