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: Avoid Removing Shared Files
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
Feb 06, 2010
09:54 AM
Avoid Removing Shared Files
I have two MSI projects for two different product. There are three DLLs file need to be shared among these two projects and must be installed into same location. For example, Product A will install the files in C:\Program Files\CompanyName\ProductName\Shared. When user installs Product B, the files will be installed into same folder.
Now I have problem where when one of the product is being removed, the shared files are being removed too. Isn't InstallShield will check if the files are sharing by another product, then it will not remove those files?
Please help me if someone could share some idea on this case.
Thanks in advance. 🙂
Now I have problem where when one of the product is being removed, the shared files are being removed too. Isn't InstallShield will check if the files are sharing by another product, then it will not remove those files?
Please help me if someone could share some idea on this case.
Thanks in advance. 🙂
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 06, 2010
02:41 PM
Hi,
The better approach would be to create a merge module for the 3 common dll files. And then include the merge module in the MSI projects. Also make sure that the component's shared attribute is set to yes.
Thanks,
Alpesh
The better approach would be to create a merge module for the 3 common dll files. And then include the merge module in the MSI projects. Also make sure that the component's shared attribute is set to yes.
Thanks,
Alpesh