⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ffinstall.nsi

📁 mediastreamer2是开源的网络传输媒体流的库
💻 NSI
字号:
;NSIS Script For FFmpeg;Title Of Your ApplicationName "FFmpeg"CompletedText "FFmpeg install completed! Enjoy your meal!"; do a CRC checkCRCCheck On; output file nameOutFile "FFinstall.exe"; license page introductionLicenseText "You must agree to this license before installing."; license dataLicenseData ".\COPYING"; the default installation directoryInstallDir "$PROGRAMFILES\FFmpeg";The text to prompt the user to enter a directoryDirText "Please select the folder below"Section "Install"  ;Install Files  SetOutPath $INSTDIR  SetCompress Auto  SetOverwrite IfNewer  File ".\ffmpeg.exe"  File ".\SDL.dll"  File ".\ffplay.exe"  File ".\COPYING"  File ".\CREDITS"  ; documentation  SetOutPath $INSTDIR\doc  File ".\doc\faq.html"  File ".\doc\ffmpeg-doc.html"  File ".\doc\ffplay-doc.html"  ; Write the uninstall keys for Windows  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FFmpeg" "DisplayName" "FFmpeg (remove only)"  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\FFmpeg" "UninstallString" "$INSTDIR\Uninst.exe"WriteUninstaller "Uninst.exe"SectionEndSection "Shortcuts"  ;Add ShortcutsSectionEndUninstallText "This will uninstall FFmpeg from your system"Section Uninstall  ; delete files  Delete "$INSTDIR\ffmpeg.exe"  Delete "$INSTDIR\SDL.dll"  Delete "$INSTDIR\ffplay.exe"  Delete "$INSTDIR\COPYING"  Delete "$INSTDIR\CREDITS"  ; delete documentation  Delete "$INSTDIR\doc\faq.html"  Delete "$INSTDIR\ffmpeg-doc.html"  Delete "$INSTDIR\doc\ffplay-doc.html"  RMDir /r $INSTDIR\doc  ; delete uninstaller and unistall registry entries  Delete "$INSTDIR\Uninst.exe"  DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\FFmpeg"  DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FFmpeg"  RMDir "$INSTDIR"SectionEnd

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -