Archive: Shared DLLs and multiple sections


Shared DLLs and multiple sections
Hi there,

I'm using the AddSharedDLL function to install some dlls in my app. This works perfectly but I have to install the DLLs in multiple sections (for various optional install components).
I.e. the SharedDLL value might be incremented multiple of times in the same installer which is not desired.
Is there a way to install the DLLs only once though they are being used by multiple optional install components?

Thanks!

Stephan


Could you just set a variable to 1 after you install a DLL and then check it before you install that DLL again? If it's already 1 then just skip to the next DLL. This would require you to set up a variable for each DLL so if you have a lot of them you might just use an INI file to keep track of things.