This website uses cookies. By clicking OK, 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 Forum
- :
- Re: ISDEV : fatal error -5047: Cannot create direc...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
tdhintz
Active participant
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 07, 2019
07:53 AM
SAB builds commonly fail with DIR<num>.tmp creation failures. This happens with all versions including 2019. How can this failure be prevented? From the build output:
Resolving strings... Language English (United States) built Started signing ISSetup.dll ... Building .cab files... ISDEV : fatal error -5047: Cannot create directory C:\Users\TFSSER~1\AppData\Local\Temp\DIR708F.tmp
1 Solution
Accepted Solutions
tdhintz
Active participant
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 22, 2019
07:15 AM
Build machines were updated to Windows 10 1809 and a new McAffee version was applied that I'm told has Windows 10 compatibility fixes. We haven't seen the symptom since those updates.
4 Replies

Flexera
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 07, 2019
08:55 AM
Re: ISDEV : fatal error -5047: Cannot create directory C:\Users\TFSSER~1\AppData\Local\Temp\DIR708F.
Hello tdhintz,
Please refer for the possible scenarios where this error has been known to occur and how to avoid it:
https://community.flexera.com/t5/InstallShield-Knowledge/Build-Error-5047/ta-p/3576
If it doesn't help, please explain the scenario for which it is failing.
Thanks,
Bikram
tdhintz
Active participant
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 08, 2019
06:59 AM
Re: ISDEV : fatal error -5047: Cannot create directory C:\Users\TFSSER~1\AppData\Local\Temp\DIR708F.
Thank you for your reply. Here is my feedback on that article.
- ... install InstallShield Express to a shallow path. ... The resolution says change the InstallShield product install location, but it also mentions the build location. InstallShield is installed at the default location which is C:\Program Files (x86)\InstallShield\2019 SAB. Is this path excessive? The location of the source has also been moved several times without positive impact.
- If building to a network location ... This build is not using a network share. The build works about 4 out of 5 times. That it succeeds suggests permission is not an issue.
- When the build folder is currently open in Windows Explorer ... The machine is an automated build environment. No one is on the machine. There is a virus scanner that monitors ...\Local\Temp. Can the temp folder be moved to ensure virus scanning isn't impacting the build?
- If the release has been corrupted ... Instructions suggest cleaning the release folder. Every automated build in our environment starts with a clean release folder.

Flexera
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 21, 2019
06:40 AM
Re: ISDEV : fatal error -5047: Cannot create directory C:\Users\TFSSER~1\AppData\Local\Temp\DIR708F.
Hello tdhintz,
I guess the virus scanner that monitors ...\Local\Temp is locking some file in Temp folder which leads to fatal error -5047, just to confirm if this is the reason, can you disable once the virus scan during build time and see if the issue still persist. If the issue is not reproducible after disabling the scan then check there would be a setting in the antivirus to disable scan for file creation which will help you to run the virus scanner and build at the same time.
Thanks,
Bikram
tdhintz
Active participant
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 22, 2019
07:15 AM
Build machines were updated to Windows 10 1809 and a new McAffee version was applied that I'm told has Windows 10 compatibility fixes. We haven't seen the symptom since those updates.