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 Knowledge Base
- :
- Build Error -152
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Build Error -152
Build Error -152
Summary
Build Error -152 The limit of the Virtual Media Memory used was exceeded in CAB library.Symptoms
When building an InstallShield project, one may encounter the following build error:Error: The limit of the Virtual Media Memory used was exceeded in CAB library.
Cause
This build error may be caused by exceeding the internal limit of the Virtual Media Memory defined in InstallShield.Resolution
Caution: The following instructions require that you modify the Settings.xml file that is installed with InstallShield. This file contains critical data; if it is edited incorrectly, it can cause InstallShield to fail to work. Use extreme care when editing this file.The step-by-step instructions are given below:
- Close InstallShield.
- Find the Settings.xml file that is installed with InstallShield. Settings.xml is installed in one of the following locations, depending on which language version of InstallShield you are using:
? English?InstallShield Program Files Folder\Support\0409
? Japanese?InstallShield Program Files Folder\Support\0411 - Create a back-up copy of the Settings.xml file, in case you later need to revert to the original version.
- Use a text editor or XML file editor to open the Settings.xml file.
- Search for the VirtualMediaMemoryMaxSize element. It looks something like this:
<VirtualMediaMemoryMaxSize default="10"/> - To change the maximum size of Virtual Media Memory to a different value, set the value of the default attribute to the appropriate limit.
? Valid values for Virtual Media Memory:
o Minimum ? 5 MB
o Maximum ? 256 MB - Save the Settings.xml file and rebuild the project.
- Ensure that your XML code is well formed; if it is not well formed, you may have problems using InstallShield. In most cases, you can identify improperly formed XML code by opening the Settings.xml file in Internet Explorer. You should be able to expand and contract the major elements of the file; if you cannot, check the code for errors.
No ratings