PDA

View Full Version : Problems registering shared dlls



UserMI
10-31-2003, 01:43 PM
I seem to be having a problem registering com objects under certain circumstances. My installer has multiple features. Many of the features require the same dlls, so I created a "shared" subfeature for each feature and placed the shared files there. When all the features are installed, all the shared files are installed and registered properly. However, if only one feature is installed the dll does not always get registered. Specifically:

Install all features - dll installed and registered
Install feature A only - dll install and registered
Install feature B only, dll installed but not registered

I then tried removing the component from feature B and re-adding it. Then the file would be registered when feature b was installed only, but not when feature A was installed only.

I am considering self-register, but that isn't recommended. Any insight would be appreciated.

Many thanks