Unable to create a customer deployment package with "Exewrap returned error code 139"

  • 7003518
  • 11-Jun-2009
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2 Deployment

Situation

Unable to create a custom deployment package.

ZCC.log ERROR:

Exception occured
com.novell.zenworks.deployment.ExtractorPacksException: Exewrap returned error code: 139
    at com.novell.zenworks.deployment.CreateExtractorPacksUtil.interrogateExtractorPack(CreateExtractorPacksUtil.java:1745)
    at com.novell.zenworks.admin.pages.deployment.wizards.editpackage.Controller.getInterrogatedValue(Controller.java:477)
    at com.novell.zenworks.admin.pages.deployment.wizards.editpackage.Controller.getInterrogatedStringValue(Controller.java:464)
    at com.novell.zenworks.admin.pages.deployment.wizards.editpackage.Controller.getSelectedServerString(Controller.java:146)
    at com.novell.zenworks.admin.pages.deployment.wizards.editpackage.ServerPage.loadData(ServerPage.java:52)
    at com.novell.zenworks.fw.web.internal.layout.Wizard.loadNextPage(Wizard.java:383)
    at com.novell.zenworks.fw.web.internal.layout.Wizard.nextButton_Click(Wizard.java:345)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Resolution

Make sure that the following files have not been moved from the default directories.

Files:
PreAgentPkg_Agent.exe
PreAgentPkg_agentComplete.exe
SatelliteServer.bin


Windows:

%ZENWORKS_INSTALL%\program files\novell\zenworks\install\downloads\setup\_all
%ZENWORKS_INSTALL%\program files\novell\zenworks\install\downloads\setup\x86
%ZENWORKS_INSTALL%\program files\novell\zenworks\install\downloads\setup\x86_64


Linux:

opt/novell/zenworks/install/downloads/setup/_all
opt/novell/zenworks/install/downloads/setup/x86
opt/novell/zenworks/install/downloads/setup/x86_64

These default packages are needed to create the custom packages.