Bugzilla – Attachment 158443 Details for
Bug 131181
Associations with MS Office lost after update libreoffice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Install_LibreOffice.bat
Install_LibreOffice.bat (text/plain), 4.56 KB, created by
Sergey
on 2020-03-06 10:40:02 UTC
(
hide
)
Description:
Install_LibreOffice.bat
Filename:
MIME Type:
Creator:
Sergey
Created:
2020-03-06 10:40:02 UTC
Size:
4.56 KB
patch
obsolete
>@echo off >REM Set variables >Set src=%~dp0 >Set NameProgram=LibreOffice_6.4.1 >Set logfile=c:\windows\temp\LibreOffice.log >REM Start script >echo. > %logfile% >echo %date% %time%: The %0 script is running >> %logfile% >REM Start install >cd %src% >taskkill /IM soffice.exe /F /T >IF EXIST "C:\Program Files (x86)\Microsoft Office\Office11\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files (x86)\Microsoft Office\Office12\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files (x86)\Microsoft Office\Office13\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files (x86)\Microsoft Office\Office15\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files (x86)\Microsoft Office\Office16\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files\Microsoft Office\Office11\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files\Microsoft Office\Office13\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files\Microsoft Office\Office14\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files\Microsoft Office\Office15\WINWORD.EXE" GOTO V1 >IF EXIST "C:\Program Files\Microsoft Office\Office16\WINWORD.EXE" GOTO V1 >GOTO V2 > >:V1 >echo %date% %time%: Install %NameProgram% with MSOffice Started >> %logfile% >c:\windows\system32\msiexec.exe /qb /i "LibreOffice_6.4.1_Win_x86.msi" /l* C:\Windows\Temp\LibreOfficeLog.txt REGISTER_NO_MSO_TYPES=1 UI_LANGS=ru ISCHECKFORPRODUCTUPDATES=0 REBOOTYESNO=No QUICKSTART=1 ADDLOCAL=ALL VC_REDIST=0 REMOVE=gm_o_Onlineupdate,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_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_Vi,gm_r_ex_Dictionary_Zu >set result=%ERRORLEVEL% >IF %result% EQU 0 ( > echo %date% %time%: Install %NameProgram% with MSOffice Complete with code %result% >> %logfile% >) else ( > echo %date% %time%: Install %NameProgram% with MSOffice Error with code %result% >> %logfile% >) >echo %date% %time%: Install Helppack_rus Started >> %logfile% >"LibreOffice_6.4.1_Win_x86_helppack_ru.msi" /quiet /norestart >echo %date% %time%: Install Helppack_rus Finished >> %logfile% >GOTO V12 > >:V2 >echo %date% %time%: Install %NameProgram% without MSOffice Started >> %logfile% >c:\windows\system32\msiexec.exe /qb /i "LibreOffice_6.4.1_Win_x86.msi" /l* C:\Windows\Temp\LibreOfficeLog.txt REGISTER_ALL_MSO_TYPES=1 UI_LANGS=ru ISCHECKFORPRODUCTUPDATES=0 REBOOTYESNO=No QUICKSTART=1 ADDLOCAL=ALL VC_REDIST=0 REMOVE=gm_o_Onlineupdate,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_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_Vi,gm_r_ex_Dictionary_Zu >set result=%ERRORLEVEL% >IF %result% EQU 0 ( > echo %date% %time%: Install %NameProgram% without MSOffice Complete with code %result% >> %logfile% >) else ( > echo %date% %time%: Install %NameProgram% without MSOffice Error with code %result% >> %logfile% >) >echo %date% %time%: Install Helppack_rus Started >> %logfile% >"LibreOffice_6.4.1_Win_x86_helppack_ru.msi" /quiet /norestart >echo %date% %time%: Install Helppack_rus Finished >> %logfile% >GOTO V12 > >:V12 >echo %date% %time%: the %0 script has completed successfully >> %logfile%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 131181
:
158441
|
158442
| 158443 |
158448