Anybody know how to register DLL/OCX's and type libraries in innosetup?
Wise and install shield find those dependencies automatically but inno don't. I wolud like to know how can i do that. Anyone knowing please give a hand.
Printable View
Anybody know how to register DLL/OCX's and type libraries in innosetup?
Wise and install shield find those dependencies automatically but inno don't. I wolud like to know how can i do that. Anyone knowing please give a hand.
Moved to Application Deployment.
If you're looking to do it manually in the scripting window you just add them to the files section and add the 'regserver' flag.
Even, better, Randem once supplied me with a link to this site http://www.***********/**********.html and his ********** tool. I heartily recommend it because it'll find all those dependencies for you without you needing to worry about it.
thanks mate, i'll look into it
lemmyz,
Use the regtypelib flag in the files section.
From Inno Setup Help:
regtypelib
Register the type library (.tlb). The uninstaller will unregister the type library (unless the flag uninsneveruninstall is specified). As with the regserver flag, when used in combination with sharedfile, the file will only be unregistered by the uninstaller when the reference count reaches zero.
See the Remarks at the bottom of this topic for more information.