Summary
Information on how to further troubleshoot a 5006 error
Symptoms
The -5006 error can occur during the build of an InstallShield Express project, with a sample build error...
- Error -5006: Could not save "[1]".
[1] is the name of the file that InstallShield Express could not save.
The -5006 error can also occur during the run time of an InstallShield Premier/Professional InstallScript project release. When running a setup, one of the following messages may occur...
- Dongle -5006 Error Driver Install Failure
- Error (-5006 : 0x80004005)
- Error (-5006 : 0x80070002)
- Error (-5006 : 0x80070003)
- Error (-5006 : 0x80070005)
- Error (-5006 : 0x80070020)
NOTE: The line number for SetupDLL.cpp may vary for different versions of the InstallScript engine.
Cause
Please see below for possible causes and solutions.
Resolution
For InstallShield Express Build Error -5006:
- A missing setup.inx file in the built media files. To recreate the setup.inx file, compile the setup script or rebuild the existing release\media.
- The file specified in the error message is not in the location that the project expects it to be. This can occur if you are moving a project from one machine to another but you have not copied all of the files, or if the file was moved or deleted. If you have moved your project from one machine to another, make sure that the file exists where the project expects it to be.
- You do not have sufficient permissions to access the location where this file resides. If you do not have sufficient permissions to access the location where this file resides, contact your system administrator regarding acquiring greater privileges.
- The size of the built release exceeds the free space available on the source machine. For a project to build successfully, sufficient free space is required in the Temp folder. For specific steps on how to clean the temporary directory, see the InstallShield Consumer Central article Clean the Temp Directory.
- Reboot needed to free resources/files. If the error still occurs after you have performed the above steps, reboot the machine. In rare instances, services or other processes could be locking the file that cannot be manually shut down. Rebooting the machine frees up these resources and allows the build process to complete successfully.
For both Build and Runtime errors, the file may be locked by another application. The following steps may help:
- Close down all Windows Explorer windows and rebuild the installation. If the folder where the file is stored is currently open within an Explorer window, that folder is locked by Windows and cannot be accessed by InstallShield.
- Close all other running applications and utilities, including virus scanners. If any of these processes are accessing the file specified in the error message, this error occurs. For example, if Norton VirusScan is currently running and scanning that particular file, this error can occur during the build process.
- Rebuild the installation after closing these processes.
- Make sure that only one instance of your InstallShield project is currently open. If multiple copies are open, close all other copies so that only one instance of the project is open. After doing this, rebuild the installation.
For InstallShield InstallScript Runtime Error -5006:
- Dongle -5006 Error Driver Install Failure
Please attempt the following installs of the GUI version of the HASp4 or HASP SRm drivers.
http://www.aladdin.com/support/hasp/hasp4/enduser.aspx#latestDD
http://www.aladdin.com/support/hasp-srm/enduser.aspx#Runtime - Error (-5006 : 0x80004005 )
This is a general failure, which may be due to the OS environment or a bug in the InstallScript engine. More debug information will be needed. - Error (-5006 : 0x80070002 )
Typically linked to the error codeERROR_FILE_NOT_FOUND. For example, an anti-virus program running on the system may be cleaning up needed setup files that were extracted to the TEMP location. - Error (-5006 : 0x80070003 )
Typically linked to the error codeERROR_PATH_NOT_FOUND. For example, a path which is over 255 characters may trigger this crash. - Error (-5006 : 0x80070005 )
Typically linked to the error codeERROR_ACCESS_DENIED. For example, there may be an OS security restriction put in place on the user running the setup.
Related Articles
Offline activation failed with error 51306, 51309 (FLX_ACT_TRAN_ERR_RSP_SIGNATURE_*) 52Number of Views FlexNet Operations On-Premises error: getHibernateSession(): failed to get hibernate session :org.hibernate.exception.Gene… 24Number of Views Secure communication failed with error Ecomms: Startup failed, res=-279 17Number of Views ISEXP: fatal error -7219: Failed to verify digital signature Error -2147467259: 23Number of Views Checkout Failed With Error: -7, 10015, No Socket Connection to License Server Manager 44Number 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