Currently i am making an program that exports data to excel.
My computer is runing windows 7 and office 2013, but the 
program should be able to run on older pcs whit windows XP
and office 2010. When i run the app on xp it returns an error
that . 

I found out that i should compile for an older version of 
office. I tried to dowload o2010pia installer but after trying
to install the program it closes after the load bar movin 10% or so.

this is my refference 

```
using Excel = Microsoft.Office.Interop.Excel;

Excel.Workbook xlWorkBook;
            Excel.Worksheet xlWorkSheet;
            object misValue = System.Reflection.Missing.Value;

            xlWorkBook = xlApp.Workbooks.Add(misValue);
            xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);

            string rangeborder = (4 + student.GetLength(0)).ToString();

            xlWorkSheet.get_Range("B4", "E" + rangeborder).Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
            xlWorkSheet.get_Range("B4", "E" + rangeborder).Borders.Color = ColorTranslator.ToOle(Color.Black);
            xlWorkSheet.get_Range("B4", "E" + rangeborder).Borders.Weight = 3d;
            xlWorkSheet.get_Range("B4", "E" + rangeborder).Borders.LineStyle = Excel.XlLineStyle.xlContinuous;

            Excel.Range er = xlWorkSheet.get_Range("C:D", System.Type.Missing);

            er.EntireColumn.ColumnWidth = 25;

            xlWorkSheet.Range[xlWorkSheet.Cells[2, 2], xlWorkSheet.Cells[2, 6]].Merge();

            xlWorkSheet.Cells[4, 2] = " ";
            xlWorkSheet.Cells[4, 3] = "a";
            xlWorkSheet.Cells[4, 4] = "b";
            xlWorkSheet.Cells[4, 5] = "c";

            for (int x = 0; x < student.GetLength(0); x++)
            {
                xlWorkSheet.Cells[x + 5, 2] = x;

            }

            xlWorkBook.SaveAs(path + "abc" + printDatum() + "_"+ ".xls", Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue, Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
            xlWorkBook.Close(true, misValue, misValue);
            xlApp.Quit();

            releaseObject(xlWorkSheet);
            releaseObject(xlWorkBook);
            releaseObject(xlApp);

```