What exactly does \"Install Assembly\" do?
Posted: Wed Oct 25, 2006 10:34 am
I've read what the help file says about "Install Assembly" and "Register Assembly", and I'm still not confident I get it. Here's what I think I understand:
"Install Assembly" is an MSI command that will optionally install the assembly into the GAC, and it will "regasm" the assembly for you to make it available for COM interop. Because it's MSI, it will automatically unregister the assembly when you unintall.
"Register Assembly" is just a wrapper around "regasm". It's not MSI, so it executes immediately. You are responsible to unregister your assembly during uninstall.
Does this sound right?
--Troy
"Install Assembly" is an MSI command that will optionally install the assembly into the GAC, and it will "regasm" the assembly for you to make it available for COM interop. Because it's MSI, it will automatically unregister the assembly when you unintall.
"Register Assembly" is just a wrapper around "regasm". It's not MSI, so it executes immediately. You are responsible to unregister your assembly during uninstall.
Does this sound right?
--Troy