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
- :
- Installing shared assemblies to the GAC
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
Jul 06, 2011
08:09 AM
Installing shared assemblies to the GAC
Hi,
I am working on a Basic MSI project and I am currently playing around with the GAC.
Here are my questions:
Thanks in advance for your help!
Regards
I am working on a Basic MSI project and I am currently playing around with the GAC.
- I have 1 InstallShield project that produces 2 releases (ReleaseA and ReleaseB) for 2 different product (ProductA and ProductB).
- I have split 2 release specific features, and one common feature
- FeatureA (ReleaseFlag: ReleaseA)
- FeatureB (ReleaseFlag: ReleaseB)
- FeatureCommon (No ReleaseFlag)
- FeatureA (ReleaseFlag: ReleaseA)
- I have one .NET assembly that is shared by the 2 products.
Here are my questions:
- Shall I make only 1 component, and include it in FeatureCommon? Or shall I make 2 components (ComponentA and ComponentB), and assign them to FeatureA and FeatureB respectively?
- If I make 2 components, shall they have the same Component Code?
- Shall I set the component as "Shared", or will the GAC handle the reference counting by itself?
Thanks in advance for your help!
Regards
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 06, 2011
11:36 AM
Please make sure your assemblies are strongly named. That is the essential part.
Because the products share the assembly, I would have included it in the FeatureCommon.
Yes.
You do not have to mark it as shared. GAC handles the sharing part.
•Shall I make only 1 component, and include it in FeatureCommon? Or shall I make 2 components (ComponentA and ComponentB), and assign them to FeatureA and FeatureB respectively?
Because the products share the assembly, I would have included it in the FeatureCommon.
•If I make 2 components, shall they have the same Component Code?
Yes.
•Shall I set the component as "Shared", or will the GAC handle the reference counting by itself?
You do not have to mark it as shared. GAC handles the sharing part.