123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- Name "FFmpeg"
- CompletedText "FFmpeg install completed! Enjoy your meal!"
- CRCCheck On
- OutFile "FFinstall.exe"
- LicenseText "You must agree to this license before installing."
- LicenseData ".\COPYING"
- InstallDir "$PROGRAMFILES\FFmpeg"
- DirText "Please select the folder below"
- Section "Install"
-
- SetOutPath $INSTDIR
- SetCompress Auto
- SetOverwrite IfNewer
- File ".\ffmpeg.exe"
- File ".\SDL.dll"
- File ".\ffplay.exe"
- File ".\COPYING"
- File ".\CREDITS"
-
- SetOutPath $INSTDIR\doc
- File ".\doc\faq.html"
- File ".\doc\ffmpeg-doc.html"
- File ".\doc\ffplay-doc.html"
-
- 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"
- SectionEnd
- Section "Shortcuts"
-
- SectionEnd
- UninstallText "This will uninstall FFmpeg from your system"
- Section Uninstall
-
- Delete "$INSTDIR\ffmpeg.exe"
- Delete "$INSTDIR\SDL.dll"
- Delete "$INSTDIR\ffplay.exe"
- Delete "$INSTDIR\COPYING"
- Delete "$INSTDIR\CREDITS"
-
- Delete "$INSTDIR\doc\faq.html"
- Delete "$INSTDIR\ffmpeg-doc.html"
- Delete "$INSTDIR\doc\ffplay-doc.html"
- RMDir /r $INSTDIR\doc
-
- Delete "$INSTDIR\Uninst.exe"
- DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\FFmpeg"
- DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FFmpeg"
- RMDir "$INSTDIR"
- SectionEnd
|