Ask Your Question

Revision history [back]

Use installer's REMOVE property:

msiexec /i <path\to\LibreOffice_ver_Win_arch.msi or GUID> REMOVE=gm_o_Pyuno_LibreLogo

You may obtain the GUID of your used version searching for "LibreOffice" under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall (the GUID is the name of the regisrty key, and also in its ModifyPath and UninstallString values).

Use installer's REMOVE property:

msiexec /i <path\to\LibreOffice_ver_Win_arch.msi or GUID> REMOVE=gm_o_Pyuno_LibreLogo

You may obtain the GUID of your used version searching for "LibreOffice" under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall (the GUID is the name of the regisrty key, and also in its ModifyPath and UninstallString values).

For several versions, you would need several such commands using GUIDs, each suitable for corresponding version. All commands with GUIDs for not installed versions would fail (the check is fast); so just creating a batch with a series of the commands and running them on all machines would be enough. Of course, you would need to add a silent installation command-line switch (e.g., /qn).

Use installer's REMOVE property:

msiexec /i <path\to\LibreOffice_ver_Win_arch.msi or GUID> REMOVE=gm_o_Pyuno_LibreLogo

You may obtain the GUID of your used version searching for "LibreOffice" under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall (the GUID is the name of the regisrty key, and also in its ModifyPath and UninstallString values).

For several versions, you would need several such commands using GUIDs, each suitable for corresponding version. All commands with GUIDs for not installed versions would fail (the check is fast); so just creating a batch with a series of the commands and running them on all machines would be enough. enough.

Of course, you would need to add a silent installation command-line switch (e.g., /qn).); also, in the batch file, you likely would need to prepend the commands with start "" /WAIT to serialize their execution.