DLL registration
Hi guys.
I'm sorry, this is really a noob question. I want to repackage a software with a lot of dlls. And the program requires the dlls to be registered for it to work properly. Will the MSI register the dlls in the package automatically? Or do I have to add a custom action to register them? How about during the uninstallation? Will it automatically unregister all of them?
Thanks.
I'm sorry, this is really a noob question. I want to repackage a software with a lot of dlls. And the program requires the dlls to be registered for it to work properly. Will the MSI register the dlls in the package automatically? Or do I have to add a custom action to register them? How about during the uninstallation? Will it automatically unregister all of them?
Thanks.
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
VikingLoki
19 years ago
MSI's will auto-register the DLLs. You can also assign a registration order, or you can tell the MSI not to register them and take care of it with a custom action, if you need to do something rather unusual. If you're using Wise or InstallShield, start out by ignoring DLL registration and see if they figure it out on their own. If that doesn't work out, then dive deeper into the DLL properties and look at the registration settings. The final option is to create a custom action that will execute the DLL registration commands.
Posted by:
totoymola
19 years ago
Thanks for the tip. I'm using InstallShield. So if the msi registers the dlls automatically, then it will also unregister them during uninstall, is that correct? I think the original installer of the software that I'm trying to repackage uses an INF to register it's dlls. So I guess I'm one step ahead.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.