X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=install-win32;h=3a180dca7686b0e7ea51a2a5b90b1a479098fa63;hb=392a5a40770759eb8b350a838e8766adace52316;hp=5e3bdb4bfac365d0b4fed39cd3e2fab2b064a52b;hpb=3a0e5d284f8acec11ef14f45c1a45cbc28be14c3;p=vlc diff --git a/install-win32 b/install-win32 index 5e3bdb4bfa..3a180dca76 100644 --- a/install-win32 +++ b/install-win32 @@ -5,8 +5,10 @@ ;;;;;;;;;;;;; ; CHANGELOG ; ;;;;;;;;;;;;; -; modifications by Gildas Bazin 01 Mar 2003 -; . added a shortcut to the faq in the menu. +; modifications by Gildas Bazin 6 Jul 2003 +; . Start menu shortcuts now created in the "All Users" section. +; modifications by Gildas Bazin 6 Apr 2003 +; . added shortcut to the skins interface, added the default skin. ; modifications by Gildas Bazin 26 Feb 2003 ; . added the locale directory. ; modifications by Samuel Hocevar 05 Apr 2002 @@ -58,33 +60,38 @@ Section "Install" SetOutPath $INSTDIR File vlc.exe + File vlc.exe.manifest File *.txt - File *.htm - File /r share File /r plugins File /r locale File /r skins + File /r skins2 + File /r http + File /r mozilla + + SetShellVarContext all CreateDirectory "$SMPROGRAMS\VideoLAN" 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" - CreateShortCut "$SMPROGRAMS\VideoLAN\FAQ.lnk" "$INSTDIR\FAQ.htm" WriteRegStr HKLM \ SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VideoLAN \ - "DisplayName" "VideoLAN VLC media player" + "DisplayName" "VideoLAN VLC media player ${VERSION}" WriteRegStr HKLM \ SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VideoLAN \ "UninstallString" '"$INSTDIR\uninstall.exe"' WriteUninstaller "uninstall.exe" - WriteRegStr HKLM SOFTWARE\VideoLAN\VLC "Install_Dir" $INSTDIR - WriteRegStr HKLM SOFTWARE\VideoLAN\VLC "version" "${VERSION}" + WriteRegStr HKLM SOFTWARE\VideoLAN\VLC "InstallDir" $INSTDIR + WriteRegStr HKLM SOFTWARE\VideoLAN\VLC "Version" "${VERSION}" + + WriteRegStr HKLM \ + SOFTWARE\MozillaPlugins\@videolan.org/vlc,version=${VERSION} \ + "Path" '"$INSTDIR\mozilla\npvlc.dll"' Exec "explorer $SMPROGRAMS\VideoLAN\" SectionEnd @@ -94,9 +101,13 @@ SectionEnd ;;;;;;;;;;;;;;;;;;;;;; Section "Uninstall" + SetShellVarContext all RMDir /r $SMPROGRAMS\VideoLAN RMDir /r $INSTDIR DeleteRegKey HKLM SOFTWARE\VideoLAN + DeleteRegKey HKLM \ + SOFTWARE\MozillaPlugins\@videolan.org/vlc,version=${VERSION} + DeleteRegKey HKLM \ Software\Microsoft\Windows\CurrentVersion\Uninstall\VideoLAN SectionEnd