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.
-
Rebuild the project.
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":
1.1. Select the "Components" view.
1.2. Click a component in the center panel
1.3. .In the property sheet at right, make sure the "64-Bit Component" property is set to "Yes"
1.4. .Repeat steps 1.2 through 1.3 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:
2.1. Select the "General Information" view.
2.2. Go to the "Summary Information Stream" section.
2.3. In the "Template Summary" property, set the platform to Intel64 or x64.
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.
-
Do not mix 32-bit and 64-bit files within components. Separate them into unique components. For example, add file 32bit.exe to one component called 32-bit, and add file 64bit.exe to 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:
3.1. Select the Features view.
3.2. Click the first feature in the list in the center panel.
3.3. In the property sheet at right, note the Release Flags Setting:
3.3.1. If feature has 32-bit components associated with it, provide a unique value, such as 32-bit.
3.3.2. If feature has 64-bit components associated with it, provide a unique value, such as 64-bit.
3.4. Repeat step 3.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 64bit.
3.5. 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.