Rui,
You can get the current assembly instance and then recursively call the
GetReferencedAssemblies method.
Just curious, why not use a third-party package. MSI tables are no
small feat to generate, and it is something I would say is better left to a
company that specializes in those things.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Rui" <Ru*@discussions.microsoft.comwrote in message
news:04**********************************@microsof t.com...
>
I need to write an MSI generator and need to detect dependencies. Does
anyone know how to detect the dependencies of a dll or exe like the visual
studio installer?