Creation of a self-contained client installation package fails with the following error in the log file:
FCIAddFile() failed(your_agent_configuration_name): code 1 [Failure opening file to be stored in cabinet]
Add File [your_agent_configuration_name] failed!
Make sure that there are no forbidden characters in the agent configuration name: <agent cofiguration name>.msi. Windows Installer does not allow the following characters in file names:
[ ] (square brackets)
an embedded space
For further information please see this Microsoft KB article: http://support.microsoft.com/kb/306437