Summary
Error -5008: Intel64 or AMD64 must be specified in the template of the Summary Stream.
Symptoms
When building an InstallShield project, the following error may occur:
Error -5008: Intel64 or AMD6 must be specified in the template of the Summary Stream.
Cause
This message occurs when at least one component in the project has been marked as a 64-bit component. If a component is marked as 64-bit, the template of the Summary Stream must be set with a platform of Intel64 or x64, so the setup will fully support 64-bit architecture.
This error commonly occurs in hybrid setups, that is, setups that support both 32-bit and 64-bit systems.
Resolution
When at least one component has been marked as a 64-bit component, use one of the following resolutions.
32-Bit Setups
If you do not wish to support 64-bit systems and have no 64-bit files in your project, follow these steps to ensure all components are not marked as 64-bit:
- Select the Components view.
- Click a component in the center panel.
- In the property sheet at right, make sure the 64-Bit Component property is set to No.
- Repeat steps 2 through 3 for each component listed in the Components view. This will ensure that the project does not contain any 64-bit components.
- Navigate to the Redistributables view and ensure that no 64-bit merge modules are being included in your build.
- Rebuild the project.
64-Bit Setups
An application that only targets 64-bit operating systems requires the following:
- Make sure the components that contain 64-bit files have the 64-Bit Component property set to Yes:
- Select the Components view.
- Click a component in the center panel
- In the property sheet at right, make sure the 64-Bit Component property is set to Yes.
- Repeat steps a through c for each component that contains 64-bit files
- Make sure the template of the Summary Stream contains a value of Intel64 or x64. To verify this, follow these steps:
- Select the General Information view.
- Go to the Summary Information Stream section.
- In the Template Summary property, set the platform to Intel64 or x64. For example, if the value was originally set to:
Intel;1033
the value should be changed to:
x64;1033
NOTE: In general, use Intel64 for 64-bit Intel systems and x64 for all other 64-bit systems. For additional information on setting the proper value for this property, see the InstallShield Help Library topic Using the Template Summary Property
Hybrid Setups
If you wish to create a hybrid setup, one that supports both 32-bit and 64-bit architecture machines, follow these guidelines to ensure a working setup:
- Do not mix 32-bit and 64-bit files within components. Separate them into unique components. For example, add file
32bit.exeto one component called 32-bit, and add file64bit.exeto a different component called 64-bit. - All features should have the appropriate 32-bit or 64-bit components associated with them. For example, feature 64-bit should have the component 64-bit associated with it, while feature 32-bit should have the component 32-bit associated with it. In no instance should feature 32-bit have any 64-bit components associated with it.
- As you will not be able to mix 32-bit files with 64-bit files in the same build, use release flags to build the two into separate releases. Follow these steps to accomplish this:
- Select the Features view.
- Click the first feature in the list in the center panel.
- In the property sheet at right, note the Release Flags Setting:
- If feature has 32-bit components associated with it, provide a unique value, such as 32-bit.
- If feature has 64-bit components associated with it, provide a unique value, such as 64-bit.
- Repeat Step 3 for each feature in the project, until all features containing 32-bit components have a release flag of 32-bit and all features containing 64-bit components have a release flag of 64-bit.
- In the Release Wizard or Releases View, specify 32-bit or 64-bit in the Release Flags field. This ensures that only features containing that particular release flag are included in the build. This will resolve the 5008 build error, as 32-bit and 64-bit files are not be mixed.
Additional Information
- For more information about troubleshooting and resolving build errors and warnings, see Resolving Build Errors and Warnings.
- For more information about the different build errors and warnings, see Build Errors and Warnings.
- For more information on the template summary, see the Microsoft article Template Summary property
Related Articles
Build Error -4075 6Number of Views Build Error -1014 10Number of Views Build Error 1001 12Number of Views InstallShield Build Error 1501 8Number of Views Build Error 6238 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. | |
Case id: 00001065
Activity: Status change: 2 hours ago