Summary
Running an InstallScript installation media may result in a 5006 setup initialization error.Symptoms
Running an InstallScript installation media may result in a 5006 setup initialization error.
Cause
This error typically occurs on machines that have Terminal Services enabled, where you are running a compressed setup that is not named setup.exe. The error occurs because the operating system fails to return the correct Fonts system folder, which causes setup.exe to throw an exception during initialization.
Investigation has shown that this is due to the fact that on these systems the operating system does not use the "real" Windows folder, instead it uses C:\Documents and Settings\<CurrentUser>\Windows.
Resolution
The setup.exe engine for InstallScript projects has been updated to handle this failure starting in the InstallShield 11 release.
Workaround
For InstallShield 10.5 users, you can download and install the following hot fix and install it on their InstallShield 10.5 build system. Once the hot fix is installed, you should delete and rebuild your installation media.
The updated One-Click Install (OCI) Player can be downloaded by following these steps:
- Open the InstallShield IDE.
- Select Tools > Check for Updates.
- Download the updated One-Click Install (OCI) Player.
- Rebuild the setup to include the updated player.
This updated player can also be downloaded directly by following these steps:
- Close the InstallShield IDE.
- Download the updated One-Click Install (OCI) Player.
- Run the installation to update the player.
- Re-open the InstallShield IDE and rebuild the setup to include the updated player.
For customers who are using older versions of InstallShield, the following troubleshooting steps have been known to solve this issue.
-
Rename the compressed single exe to setup.exe and run the installation again.
-
Disable Terminal Services on the machine and re-run the installation.
-
Replace the compressed single exe with a full CD-ROM release.
-
Run the install from Add/Remove Programs, rather then launching the installation directly.
- You can also create the Fonts folder where the setup is looking for it. This resolves correctly and allows your install to continue. Therefore, adding a folder at Documents and Settings\<CurrentUser>\Windows\Fonts (where CurrentUser is the User Name of the logged in User) allows the setup to initialize successfully.
Additional Information
Related Articles
CVE-2026-4869: Potential Privilege Escalation in InstallShield 2025 R2 running Setup Prerequisites from an insecure directory 15Number of Views Issue Running Setup.exe From Root Drive 7Number of Views How to Use PowerShell to Create a Self-Signed Digital Certificate to Test Digital Signing with InstallShield 47Number of Views Error -5006 6Number of Views Creating a Custom ICE with InstallShield 11Number 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