I am using .net Primary Interoperability Assembly for Excel in my code.
But, the application can be run on machine which doesn\'t have .net PIA for Excel installed.
I want to gi
You shouldn't make static reference to Excel.Interop library. Instead of this, you should look for it in GAC, and load it in runtime. It's rather complicated, and there are no managed API to do this (by default).