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
Microsoft Windows 7 Security Update May Cause Performance Change For MSI Installations 3Number of Views Adding Prerequisite Files That Contains Subfolders 3Number of Views Please Insert Disk 1 That Contains the File layout.bin 12Number of Views How to Chain Multiple MSI Installations 3Number of Views InstallShield Setup.exe Command Line Parameters 27Number 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. | |
Case id: 00001065
Activity: Status change: 2 hours ago