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 Forum
- :
- Re: Cannot create directory error -5047
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 27, 2012
10:41 AM
Cannot create directory error -5047
Does anyone else have this error pop up at the end of a build? This is extremely frustrating!! I have to reboot, and not start up any other apps, then cross my fingers and hope that I can get a build to go through. I have an Installscript MSI project making a Compressed release. At the very end of the build, it tries to create a temporary folder and fails.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2012
08:03 AM
KB article Q108431 discusses this build error and provides some possible resolutions.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2012
08:30 AM
Without changing the project properties in any manner, sometimes that error pops up and sometimes it doesn't. Most of the time I can fix it by closing out InstallShield and then opening it up again. I am thinking Windows might just randomly fail on the call to create a temporary directory.
Thanks
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2012
04:37 PM
It seems to happen less often if I change the release properties for the Compression -> Cab Optimization Type to 'None'.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2013
02:03 PM
I get this randomly too. Usually when trying to build multiple similar builds. The solution is to delete .tmp and other files from the Windows Temp folder. In most but not all cases where this fails there are leftover .TMP folders in the TEMP folder that were created by InstallShield either building the install or running an install. Cleaning the temp folder makes it work the next time almost 90+ % of the time but I still can't find an exact cause or correlation.
kkppmm wrote:
Does anyone else have this error pop up at the end of a build? This is extremely frustrating!! I have to reboot, and not start up any other apps, then cross my fingers and hope that I can get a build to go through. I have an Installscript MSI project making a Compressed release. At the very end of the build, it tries to create a temporary folder and fails.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2013
02:06 PM
Thanks. I also randomly get an error extracting an icon for a shortcut during a build. I just rebuild again and eventually get no errors!
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)