Получается что скрипт как бы зацикливаться на данном участке кода
Соответственно к чекбоксу привязал так
Код:
Section "-VIDEO"
${If} $Check1 == 1
!insertmacro RegisterExtension ASF
!insertmacro RegisterExtension AVI
!insertmacro RegisterExtension "WMV"
!insertmacro RegisterExtension "FLV"
!insertmacro RegisterExtension "MKV"
!insertmacro RegisterExtension "MOV"
!insertmacro RegisterExtension "3GP"
!insertmacro RegisterExtension "DIVX"
!insertmacro RegisterExtension "MP4"
!insertmacro RegisterExtension "MPG"
!insertmacro RegisterExtension "MPEG"
!insertmacro RegisterExtension "MPE"
!insertmacro RegisterExtension "DAT"
!insertmacro RegisterExtension "VOB"
!insertmacro RegisterExtension "IFO"
!insertmacro RegisterExtension "M1V"
!insertmacro RegisterExtension "M2V"
!insertmacro RegisterExtension "M4V"
!insertmacro RegisterExtension "MMS"
!insertmacro RegisterExtension "OGM"
!insertmacro RegisterExtension "QT"
!insertmacro RegisterExtension "TS"
!insertmacro RegisterExtension "VP6"
!insertmacro RegisterExtension "XVID"
!insertmacro RegisterExtension "3G2"
!insertmacro RegisterExtension "TP"
!insertmacro RegisterExtension "AVI-Neo"
!insertmacro RegisterExtension "BIK"
!insertmacro RegisterExtension "D2V"
!insertmacro RegisterExtension "DRC"
!insertmacro RegisterExtension "IFV"
!insertmacro RegisterExtension "MP2V"
!insertmacro RegisterExtension "MPV2"
!insertmacro RegisterExtension "MQV"
!insertmacro RegisterExtension "PART"
!insertmacro RegisterExtension "PSS"
!insertmacro RegisterExtension "ROQ"
!insertmacro RegisterExtension "SMK"
!insertmacro RegisterExtension "TPR"
!insertmacro RegisterExtension "TRP"
!insertmacro RegisterExtension "DVR-MS"
!insertmacro RegisterExtension "GVI"
!insertmacro RegisterExtension "NSV"
!insertmacro RegisterExtension "PMP"
!insertmacro RegisterExtension "VP7"
!insertmacro RegisterExtension "264"
!insertmacro RegisterExtension "H264"
!insertmacro RegisterExtension "VC1"
${EndIf}