LibreOffice

Post date: Apr 24, 2013 1:12:15 PM

@rem LibreOffice is the leading open-source office software suite for word processing, spreadsheets, presentations, graphics, databases and more. 文書處理軟件

@rem https://zh-tw.libreoffice.org/

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

if exist LibreOffice\LibreOffice_6.2.5_Win_x64.msi goto next

start /wait "" wget.exe "https://free.nchc.org.tw/tdf/libreoffice/stable/6.2.5/win/x86_64/LibreOffice_6.2.5_Win_x64.msi" --directory-prefix=LibreOffice

start /wait "" wget.exe "https://free.nchc.org.tw/tdf/libreoffice/stable/6.2.5/win/x86_64/LibreOffice_6.2.5_Win_x64_helppack_zh-TW.msi" --directory-prefix=LibreOffice

:next

msiexec /qb /i LibreOffice\LibreOffice_6.2.5_Win_x64.msi

msiexec /qb /i LibreOffice\LibreOffice_6.2.5_Win_x64_helppack_zh-TW.msi

goto end

:not_64bit

if exist LibreOffice\LibreOffice_6.2.5_Win_x86.msi goto next

start /wait "" wget.exe "https://free.nchc.org.tw/tdf/libreoffice/stable/6.2.5/win/x86/LibreOffice_6.2.5_Win_x86.msi" --directory-prefix=LibreOffice

start /wait "" wget.exe "https://free.nchc.org.tw/tdf/libreoffice/stable/6.2.5/win/x86/LibreOffice_6.2.5_Win_x86_helppack_zh-TW.msi" --directory-prefix=LibreOffice

:next

msiexec /qb /i LibreOffice\LibreOffice_6.2.5_Win_x86.msi

msiexec /qb /i LibreOffice\LibreOffice_6.2.5_Win_x86_helppack_zh-TW.msi

:end