I need to create and populate excel file in c#. With Microsoft.Office.Interop.Excel , it can be created easily but it need to install Office on server. I am looking for solution without Office installation and without any third party components.
It depends, if you just need to create an export that your user need to be able to open with Excel, then you might think of creating a CSV export.
Otherwise you may consider NPOI. I know it's a third-party lib, but it's open source :)