I am new to .net and have this problem: I want to make installer for application that uses avi wrapper described here. That library depends on avifil32.dll as I've found out in the source which contains
[DllImport("avifil32.dll", PreserveSig=true)]
.
I've made setup project in visual studio 2008 and installer is working fine on some machines. But, there is one machine that doesn't work and it breaks exactly at the part related to .avi exporting so I assumed the reason has something with this external dependency. How should I make installer to include this (or in general any) external dll if it is missing on a target machine?