I've created a setup project for my C# application that installs my software. I understand i can add an assembly reference and add my DLL to the installer this way (outlined here).
What i want to know, is how do i bundle in both a 32 bit dll, and a 64 bit dll and at install time, determine what assembly the machine is running, and then register the relative DLL.
All help would be greatly appreciated!
EDIT
The dll is not actually called from within the app - It is actually a shell extension used to call the app, therefore i cannot simply add code into my main app that calls certain DLL files, and they must be registered at install time.
I would also very much like to try and do this natively in Visual Studio if at all possible