Commit f2dbf8ee authored by Gildas Bazin's avatar Gildas Bazin

* install-win32: added a registry entry for the mozilla plugin (the xpt file still needs to be registered by hand though).
parent 3439df81
......@@ -87,6 +87,10 @@ Section "Install"
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
......@@ -99,6 +103,9 @@ Section "Uninstall"
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
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