X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=install-win32;h=6a065905956cb22b9cb0d9498250102689a4773f;hb=268c70ea7514c1a60a94eb6137748fbd9f7706bd;hp=91dec7758c19f3170c22601731b678e92fb67373;hpb=1b0868ed29bc006d5939c91c064ed3d7931a7432;p=vlc diff --git a/install-win32 b/install-win32 index 91dec7758c..6a06590595 100644 --- a/install-win32 +++ b/install-win32 @@ -5,6 +5,10 @@ ;;;;;;;;;;;;; ; CHANGELOG ; ;;;;;;;;;;;;; +; modifications by Gildas Bazin 01 Mar 2003 +; . added a shortcut to the faq in the menu. +; modifications by Gildas Bazin 26 Feb 2003 +; . added the locale directory. ; modifications by Samuel Hocevar 05 Apr 2002 ; . no need for @VERSION@ anymore ; . updated script for NSIS 1.96. @@ -21,14 +25,16 @@ ;;;;;;;;;;;;;;;;;;;;;;;;; OutFile ..\vlc-${VERSION}-win32.exe +SetCompressor bzip2 -Name "the VideoLAN Client" -Caption "VideoLAN Client '${VERSION}' for Win32 Setup" +Name "VLC media player" +Caption "VLC '${VERSION}' for Win32 Setup" ;Icon ../share/gvlc32x32.ico CRCCheck on -InstallDir "$PROGRAMFILES\VideoLAN\VideoLAN Client" +InstallDir "$PROGRAMFILES\VideoLAN\VLC" + ; check if the program has already been installed, if so, take this dir ; as install dir InstallDirRegKey HKLM SOFTWARE\VideoLAN\VLC "Install_Dir" @@ -42,7 +48,7 @@ SetDatablockOptimize on SetDateSave off SetCompress auto -UninstallText "This will uninstall the VideoLAN Client. Hit next to continue." +UninstallText "This will uninstall the VLC media player." ;;;;;;;;;;;;;;;;;;;; ; Install settings ; @@ -56,10 +62,23 @@ Section "Install" File /r share File /r plugins + File /r locale + File /r skins CreateDirectory "$SMPROGRAMS\VideoLAN" - CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" "$INSTDIR\vlc.exe" - CreateShortCut "$SMPROGRAMS\VideoLAN\Uninstall VLC.lnk" "$INSTDIR\uninstall.exe" + CreateShortCut "$SMPROGRAMS\VideoLAN\vlc.lnk" \ + "$INSTDIR\vlc.exe" "--intf wxwin" + CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (skins).lnk" \ + "$INSTDIR\vlc.exe" "--intf skins" + CreateShortCut "$SMPROGRAMS\VideoLAN\vlc (custom).lnk" \ + "$INSTDIR\vlc.exe" + + WriteRegStr HKLM \ + SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VideoLAN \ + "DisplayName" "VideoLAN VLC media player" + WriteRegStr HKLM \ + SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VideoLAN \ + "UninstallString" '"$INSTDIR\uninstall.exe"' WriteUninstaller "uninstall.exe" WriteRegStr HKLM SOFTWARE\VideoLAN\VLC "Install_Dir" $INSTDIR @@ -73,14 +92,9 @@ SectionEnd ;;;;;;;;;;;;;;;;;;;;;; Section "Uninstall" - Delete $SMPROGRAMS\VideoLAN\* - RMDir $SMPROGRAMS\VideoLAN - Delete $INSTDIR\share\* - RMDir $INSTDIR\share - Delete $INSTDIR\plugins\* - RMDir $INSTDIR\plugins - Delete $INSTDIR\* - RMDir $INSTDIR + RMDir /r $SMPROGRAMS\VideoLAN + RMDir /r $INSTDIR DeleteRegKey HKLM SOFTWARE\VideoLAN + DeleteRegKey HKLM \ + Software\Microsoft\Windows\CurrentVersion\Uninstall\VideoLAN SectionEnd -