[OptionalComponents]
OptionalComponents=true
MainSectionTitle=IrfanView Portable [Required]
MainSectionDescription=Install the portable app
OptionalDirectory1=App\IrfanView
OptionalSectionTitle=Include 32-bit Support
OptionalSectionDescription=Allows the app to run on 32-bit Windows PCs
OptionalSectionSelectedInstallType=DualMode
OptionalSectionNotSelectedInstallType=64bit
OptionalSectionPreSelectedIfWindows32Bit=true

[DirectoriesToPreserve]
PreserveDirectory1=App\IrfanView\Plugins
PreserveDirectory1=App\IrfanView64\Plugins

[FilesToRemove]
RemoveFile1=App\IrfanView\Plugins\Ansi2Unicode.dll
RemoveFile2=App\IrfanView\Plugins\Effects.dll
RemoveFile3=App\IrfanView\Plugins\Icons.dll
RemoveFile4=App\IrfanView\Plugins\Paint.dll
RemoveFile5=App\IrfanView\Plugins\RegionCapture.dll
RemoveFile6=App\IrfanView\Plugins\Slideshow.exe
RemoveFile7=App\IrfanView\Plugins\Tools.dll
RemoveFile8=App\IrfanView\Plugins\Video.dll