IrfanView

Post date: Apr 26, 2015 2:29:19 AM

@rem IrfanView is a very fast, small, compact image viewer. 看圖軟體

@rem https://www.irfanview.com/

if not exist "%SystemDrive%\Program Files (x86)" goto not_64bit

if exist IrfanView\iview453_x64_setup.exe goto next_64bit

start /wait "" wget.exe "https://files01.tchspt.com/temp/iview453_x64_setup.exe" --directory-prefix=IrfanView

:next_64bit

start /wait IrfanView\iview453_x64_setup.exe /silent /desktop=1 /thumbs=1 /group=1 /allusers=1

goto end

:not_64bit

if exist IrfanView\iview453_setup.exe goto next

start /wait "" wget.exe "https://files01.tchspt.com/temp/iview453_setup.exe" --directory-prefix=IrfanView

:next

start /wait IrfanView\iview453_setup.exe /silent /desktop=1 /thumbs=1 /group=1 /allusers=1

:end