Commit 785b97d1 authored by Gildas Bazin's avatar Gildas Bazin

* install-win32: fixed my last commit.
parent 7fd08bba
...@@ -35,7 +35,6 @@ Caption "VLC '${VERSION}' for Win32 Setup" ...@@ -35,7 +35,6 @@ Caption "VLC '${VERSION}' for Win32 Setup"
CRCCheck on CRCCheck on
SetShellVarContext all
InstallDir "$PROGRAMFILES\VideoLAN\VLC" InstallDir "$PROGRAMFILES\VideoLAN\VLC"
; check if the program has already been installed, if so, take this dir ; check if the program has already been installed, if so, take this dir
...@@ -68,6 +67,8 @@ Section "Install" ...@@ -68,6 +67,8 @@ Section "Install"
File /r locale File /r locale
File /r skins File /r skins
SetShellVarContext all
CreateDirectory "$SMPROGRAMS\VideoLAN" CreateDirectory "$SMPROGRAMS\VideoLAN"
CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" \ CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" \
"$INSTDIR\vlc.exe" "--intf wxwin" "$INSTDIR\vlc.exe" "--intf wxwin"
...@@ -95,6 +96,7 @@ SectionEnd ...@@ -95,6 +96,7 @@ SectionEnd
;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;
Section "Uninstall" Section "Uninstall"
SetShellVarContext all
RMDir /r $SMPROGRAMS\VideoLAN RMDir /r $SMPROGRAMS\VideoLAN
RMDir /r $INSTDIR RMDir /r $INSTDIR
DeleteRegKey HKLM SOFTWARE\VideoLAN DeleteRegKey HKLM SOFTWARE\VideoLAN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment