Summary
This article discusses how shared files are handled in MSI installations.Synopsis
This article discusses how shared files are handled in MSI installations.
Discussion
Shared files will be installed somewhat differently in MSI-based InstallShield projects than in Installscript setups. These projects are based on Microsoft?s Windows Installer Service and inherits the Installer?s features, while installing shared files. Following is a list of issues to keep in mind while installing a shared file in MSI setups:
- To install a file as shared, the component containing the shared file should be marked as shared.
- Only the key file in this component is installed as shared. Thus, you have to make sure that the shared file is marked as the key file.
- If you have more than one file that needs to be installed as shared, you have to include these in separate components.
- If the component contains any files or folders that are dynamically linked, then marking the component as shared will not install the files as shared. To install a file as shared, the file has to be statically inserted in the project.
- There is no guarantee that the files will be installed in the order that you specify them, as the file transfer is taken care of by the Windows Installer Service, which does not guarantee this by design.
Additional Information
For more information on shared files, see the InstallShield Help Library topic Managing Reference Counts for Shared Files.
Related Articles
Logging An InstallScript MSI Project 398Number of Views How to Chain Multiple MSI Installations 3Number of Views Details of some *.exe files may not be imported from inventory, resulting in some application installations failing to be … 6Number of Views Logging an MSI Installation 109Number of Views Working with Shared Files and Core Components 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago