**HELP** With Auto Install .BAT file, 99% there..... params

Hello! I work for a computer outfit which does a large amount of on-site, in house, and remote attended and un-attended installations of various computer programs.
I would like to include in my install bat file “Libre Office 4.2.6” MSI installer. All the other programs in the list are .exe files.
I need libre to be ONLY:
-English us, only usa dictionary, set default save for word excell powerpoint files, DO NOT warn if not in ODF format, a log of installation, yes for updates and auto updates, no extra languages or dictionaries. basically the most common sense USA install of the program.

FILE TO BE EXECUTED in person or remotely
“.Auto Install 64-Bit.bat”

CONTENTS in the bat file:

@echo on
set /A x=16
:RESETPATH
set path=\Programs.New Setups
goto %x%

:16
start /wait CleanUp4.5.2.exe

:15
msiexec /qn /i “” “F:\sws\Programs.New Setups\LibreOffice 4.2.0.msi” /l* “F:\sws\Programs.New Setups\LibO_install_log.txt” SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 REGISTER_ALL_MSO_TYPES=1 UI_LANGS=en_US RebootYesNo=No ISCHECKFORPRODUCTUPDATES=1 QUICKSTART=1 VC_REDIST=1 ADDLOCAL=ALL REMOVE=gm_o_jf_Palm,gm_o_jf_Pocketpc,gm_r_ex_Dictionary_Af,gm_r_ex_Dictionary_An,gm_r_ex_Dictionary_Ar,gm_r_ex_Dictionary_Be,gm_r_ex_Dictionary_Bg,gm_r_ex_Dictionary_Bn,gm_r_ex_Dictionary_Br,gm_r_ex_Dictionary_Pt_Br,gm_r_ex_Dictionary_Pt_Pt,gm_r_ex_Dictionary_Ca,gm_r_ex_Dictionary_Cs,gm_r_ex_Dictionary_Da,gm_r_ex_Dictionary_Nl,gm_r_ex_Dictionary_Et,gm_r_ex_Dictionary_Gd,gm_r_ex_Dictionary_Gl,gm_r_ex_Dictionary_Gu,gm_r_ex_Dictionary_De,gm_r_ex_Dictionary_He,gm_r_ex_Dictionary_Hi,gm_r_ex_Dictionary_Hu,gm_r_ex_Dictionary_It,gm_r_ex_Dictionary_Ku_Tr,gm_r_ex_Dictionary_Lt,gm_r_ex_Dictionary_Lv,gm_r_ex_Dictionary_Ne,gm_r_ex_Dictionary_No,gm_r_ex_Dictionary_Oc,gm_r_ex_Dictionary_Pl,gm_r_ex_Dictionary_Ro,gm_r_ex_Dictionary_Ru,gm_r_ex_Dictionary_Si,gm_r_ex_Dictionary_Sk,gm_r_ex_Dictionary_Sl,gm_r_ex_Dictionary_El,gm_r_ex_Dictionary_Es,gm_r_ex_Dictionary_Sv,gm_r_ex_Dictionary_Te,gm_r_ex_Dictionary_Th,gm_r_ex_Dictionary_Uk,gm_r_ex_Dictionary_Vi,gm_r_ex_Dictionary_Zu,gm_r_ex_Dictionary_Fr,gm_r_ex_Dictionary_Hr,gm_r_ex_Dictionary_Rs

:14
start /wait AdobeReader11.0.06.exe /sAll /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES

:13
start /wait CCleaner4.11.exe /S

:12
start /wait Defraggler2.17.898.exe /S

:11
start /wait “” “Adobe Flash Player 12.0.0.77 (NON-IE).exe” -install

:10
start /wait “” “Adobe Flash Player 12.0.0.77 (IE).exe” -install

:9
start /wait Java7Update51-i586.exe /s

:8
start /wait Java7Update51-x64.exe /s

:7
start /wait K-Lite_Codec_Pack_1035_Mega.exe /VERYSILENT

:6
start /wait “” “Speccy 1.25.674” /S

:5
start /wait Malwarebytes1.75.0.1300.exe /VERYSILENT

:4
start /wait MSE4.4.304-x64.exe /s /runwgacheck /o

:3
start /wait Silverlight5.1.20913.exe /q /doNotRequireDRMPrompt /ignorewarnings

:2
start /wait SuperAntiSpyware5.7.1018.exe /SILENT

:1
start /wait WinRAR5.01(64-bit).exe /S

:0

:DELAY
set PATH=%SystemRoot%\system32;%SystemRoot%
ping 1.1.1.1 -n 1 -w 6000 >NUL
set /A x = %x% -1
if (%x%)==(0) goto END
:RESETPATH

:END
exit


I got past the msiexec “command not recognized” by making the directory “syswow64” but can not get the msi to complete stil

any help or edit of that bat is appreciated.

I used “LibreOffice_4.1.5_Win_x86.msi” on 32bit Vista.

I removed the double quotes after the switch /i and also gm_o_jf_Palm, gm_o_jf_Pocketpc, gm_r_ex_Dictionary_Rs.


:15 msiexec /qn /i “F:\sws\Programs.New Setups\LibreOffice 4.2.0.msi” /l* “F:\sws\Programs.New Setups\LibO_install_log.txt” SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 REGISTER_ALL_MSO_TYPES=1 UI_LANGS=en_US RebootYesNo=No ISCHECKFORPRODUCTUPDATES=1 QUICKSTART=1 VC_REDIST=1 ADDLOCAL=ALL REMOVE=gm_r_ex_Dictionary_Af,gm_r_ex_Dictionary_An,gm_r_ex_Dictionary_Ar,gm_r_ex_Dictionary_Be,gm_r_ex_Dictionary_Bg,gm_r_ex_Dictionary_Bn,gm_r_ex_Dictionary_Br,gm_r_ex_Dictionary_Pt_Br,gm_r_ex_Dictionary_Pt_Pt,gm_r_ex_Dictionary_Ca,gm_r_ex_Dictionary_Cs,gm_r_ex_Dictionary_Da,gm_r_ex_Dictionary_Nl,gm_r_ex_Dictionary_Et,gm_r_ex_Dictionary_Gd,gm_r_ex_Dictionary_Gl,gm_r_ex_Dictionary_Gu,gm_r_ex_Dictionary_De,gm_r_ex_Dictionary_He,gm_r_ex_Dictionary_Hi,gm_r_ex_Dictionary_Hu,gm_r_ex_Dictionary_It,gm_r_ex_Dictionary_Ku_Tr,gm_r_ex_Dictionary_Lt,gm_r_ex_Dictionary_Lv,gm_r_ex_Dictionary_Ne,gm_r_ex_Dictionary_No,gm_r_ex_Dictionary_Oc,gm_r_ex_Dictionary_Pl,gm_r_ex_Dictionary_Ro,gm_r_ex_Dictionary_Ru,gm_r_ex_Dictionary_Si,gm_r_ex_Dictionary_Sk,gm_r_ex_Dictionary_Sl,gm_r_ex_Dictionary_El,gm_r_ex_Dictionary_Es,gm_r_ex_Dictionary_Sv,gm_r_ex_Dictionary_Te,gm_r_ex_Dictionary_Th,gm_r_ex_Dictionary_Uk,gm_r_ex_Dictionary_Vi,gm_r_ex_Dictionary_Zu,gm_r_ex_Dictionary_Fr,gm_r_ex_Dictionary_Hr


Tips

  • Use the switch /qf to see what options are removed with REMOVE=
  • Info about command line install - Deployment_and_Migration
  • DO NOT warn if not in ODF format may need to be done post install. See the section Some tricks for post installation configuration which is at the bottom of the page in the link above.