PDA

Click to See Complete Forum and Search --> : Inno setup


lemmyz
Dec 13th, 2005, 06:20 AM
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.

Hack
Dec 13th, 2005, 06:31 AM
Moved to Application Deployment.

FunkyDexter
Dec 13th, 2005, 07:25 AM
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.

lemmyz
Dec 13th, 2005, 06:55 PM
thanks mate, i'll look into it

randem
Dec 13th, 2005, 06:58 PM
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.