Libre office taking over microsoft office file type associations

How do I stop libre office from taking over microsoft office file type associations?

That happened in the end of installation, the program would have asked you if you want to do so, I think. Because WPS OFFICE do that.

BTW, I don’t had that chance because LibreOffice are probably the first Office I install.

Yes, as @jiero mentions, there should be an option towards the end of the installation process where you are given the opportunity to associate certain filetypes with LibreOffice. You’ll want to uncheck/deselect all filetypes that you do not want to be opened with LibreOffice by default.

See → Installation of LibreOffice on Windows · Dialog Box #5: Choice for File Type Associations:

“Another dialog box opens, inviting you to choose whether to open Microsoft Office documents with LibreOffice. By default, this feature is not enabled. If you want use LibreOffice to open Microsoft Office documents in future, put a checkmark in all three checkboxes.”

A short remark to above answer and comment

Associating file types with LibO cannot only be done towards the end of the installation process but also in

Tools / Options / Load/Save / Microsoft Office.

While migrating from MSO to LibO I used this possibility several times.
Now I have fully migrated to LibO.

That’s only for importing and exporting Microsoft Office OLE objects.

See:

Wiki Help · Load/Save options

Wiki Help · Microsoft Office