calling a C# custom action from InstallShield getting error can't find InstallShield.Interop.Msi

333 Views Asked by At

I've an extremely simple installer set up that tries to call a custom action (Call a public method in a managed assembly) and yet when I call it I get the error:

Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'InstallShield.Interop.Msi.

This file is in the same folder as the .dll, so how do I get it included in my project so that it can resolve during execution. I've called methods before this way and never gotten this error, so I really don't understand why I'm getting it now.

0

There are 0 best solutions below