This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Question...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2011
02:58 PM
Question...
I was wondering IF anyone had the reason why Installshield Defaults Components to Shared when you create new components?:confused:
Does it have to do with enforcing best practices?
--Thanks
--Mike
Does it have to do with enforcing best practices?
--Thanks
--Mike
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2011
05:25 PM
If yo look at Attributes column of Component Table, If this bit (msidbComponentAttributesSharedDllRefCount) is set, the installer increments the reference count in the shared DLL registry of the component's key file. If this bit is not set, the installer increments the reference count only if the reference count already exists. To ensure proper reference count, it is set to Yes by default.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 06, 2011
06:23 AM
Tsung,
Thanks for the reply, that is sort of inline with what I was thinking. Do you know if there is anyway to set this to "Not Shared" as the default action?
Thanks for the reply, that is sort of inline with what I was thinking. Do you know if there is anyway to set this to "Not Shared" as the default action?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 07, 2011
02:24 PM
Unfortunately, I don't. I remember seeing others asking for the same thing on the forums, but I don't remember seeing a solution. Someone did recommend having a script to automate the process of changing it from Yes to No on all components. It may be something to consider if you have more than a handful of components.