Troubleshooting: Fix pack installation or uninstallation fails due to a "mkdirs failed for" error

When you attempt to install or uninstall a fix pack, you receive a message that states that the operation has failed due to a mkdirs failed for: file:/filename error.

Problem

When the fix pack installation fails, you receive a message similar to the following:
(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance, err, mkdirs failed for: file:/C:/IBM/WCDE_ENT70/migration/xml/features/BASE/app/561
(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance, err, The file migration/xml/features/BASE/app/561/build.xml could not be replaced.
(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance, err, com.ibm.ws.install.ni.framework.fileactions.NIFFileActionIOException: The file migration/xml/features/BASE/app/561/build.xml could not be replaced.
	at com.ibm.ws.install.ni.ismp.utils.ISMPLogUtils.logException(ISMPLogUtils.java:46)
	at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.execute(InstallNIFMaintenance.java:102)
	at com.installshield.wizard.RunnableWizardBeanContext.run(RunnableWizardBeanContext.java:20)

(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance, err, mkdirs failed for: file:/C:/IBM/WCDE_ENT70/migration/xml/features/BASE/app/561
(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance, err, The file migration/xml/features/BASE/app/561/build.xml could not be replaced.
(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance, err, com.ibm.ws.install.ni.framework.NIFException: The file migration/xml/features/BASE/app/561/build.xml could not be replaced.
	at com.ibm.ws.install.ni.ismp.utils.ISMPLogUtils.logException(ISMPLogUtils.java:46)
	at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.execute(InstallNIFMaintenance.java:105)
	at com.installshield.wizard.RunnableWizardBeanContext.run(RunnableWizardBeanContext.java:20)
Caused by: com.ibm.ws.install.ni.framework.fileactions.NIFFileActionIOException: The file migration/xml/features/BASE/app/561/build.xml could not be replaced.
	at com.ibm.ws.install.ni.ismp.utils.ISMPLogUtils.logException(ISMPLogUtils.java:46)
	at com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance.execute(InstallNIFMaintenance.java:102)
	... 1 more

(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process failed.
(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=1
(May 10, 2011 1:33:31 PM), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, For more information on installing components, see the following trace file:
C:/IBM/WCDE_ENT70\logs\update\7.0.0-WS-WCDeveloperEnterprise-FP003.install\updatetrace.log.gz 
(May 10, 2011 1:33:32 PM), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, For more information on running configuration commands, see the following trace file:
C:/IBM/WCDE_ENT70\logs\update\7.0.0-WS-WCDeveloperEnterprise-FP003.install\updateconfig.log.gz
(May 10, 2011 1:33:32 PM), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFFAILED

Solution

For more information, see technote 1457152.