Uninstall all Office 2010 language packs silently

I have this environment where the office 2010 versions have been installed and so as language packs. Some computers have even multiple language packs installed.
Another story is that I am kind of addicted now with directory-based scripts.

This is my next directory based script.

Base structure I work with:
\msoffice-maintence\uninstall-all-office-2010-language-packs.cmd
\msoffice-maintence\x86\Office14.OMUI.lv-lv\setup.exe
\msoffice-maintence\x86\Office14.OMUI.lv-lv\setup.xml
\msoffice-maintence\x64\Office14.OMUI.lv-lv\setup.exe
\msoffice-maintence\x64\Office14.OMUI.lv-lv\setup.xml
directory name Office14.OMUI.lv-lv will be used to indicate the programs existence under HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
or HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

The content of setup.xml is:
Main program:
For example if I want to add another language then i create directory:
Office14.OMUI.ru-ru
The usage of xml would be:
No need to change any content to the main script :)

Optional files:

No comments: