Prepare LibreOffice MSI to deploy with GPO

The problem is that LibreOffice supports multiple languages when installing. So in order to deploy the MSI through GPO you need to set only one language:

  1. Download MSI package from www.libreoffice.org
  2. Download and install InstEd
  3. Open InstEd and then open the libreoffice msi
  4. Select Tables -> Summary Info
  5. Change the language field to 1033 (1033 is for english, adjust for other languages)
  6. Save the file and install it through GPO

 

PyInstaller with Python 3.6 and PySide2 fails on Windows 10

Pyinstaller spits out warnings lthat it could not find libraries like api-ms-win-core-* and api-ms-win-crt-*. This leads to an executable working on windows 10, even on a new machine, but not on earlier versions as pyinstaller fails to bundle the needed files.

The fix is quite simple:

  1. Download Visual Studio 2017 community from microsoft website
  2. Install following components:
    Windows Universal CRT SDK
    Windows 8.1 SDK
    VC++ 2015.3 v140 toolset for desktop
    Windows Universal C Runtime
  3. When invoking pyinstaller use
    –path "C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86"

Done 🙂

well the path is for the 32bit libraries, guess what, replace DLLs\x86 with DLLs\x64 when using python 64bit

OR install Visual C++ 2017 Redist package on the destination machine.

If the packaged application still does not run please install the mentioned redist package