x2012x-hw
Pilgrim

Execute.zip generated with invalid MANIFEST.MF

I'm running into an issue in which the Execute.zip file generated by InstallAnywhere (8.0.1 Enterprise) contains an invalid manifest file. Because entries are missing that IA expects (e.g. IA-Digest) the installer crashes after the self-extraction process, reporting the following error to debug output.

Error: Expected digest is undefined.

I've listed some examples below that show what a working installer's manifest file looks like compared to the broken one. Interestingly enough, the broken one's manifest mirrors the manifest within our custom code's jar file.

Working

Manifest-Version: 1.0
Main-Class: install
Created-By: 8.0 (Macrovision Corporation)
IA-Digest: 10DC85841A2FD5EAC155EFC4BDD8BB05987C06D7

Broken

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 25.202-b08 (Oracle Corporation)
Main-Class: com.acme.installer.CustomCode
Class-Path: log4j-1.2.13.jar dbunit-2.1.patched.jar IAClasses.zip juni
t-3.8.1.jar sqljdbc4.jar ojdbc14.jar postgresql-8.0-311.jdbc3.jar mys
ql-5.1.7.jar hsqldb-2.0.0-rc9.jar

I don't believe this is a problem with my IA install as I'm able to successfully generate installers using the sample projects provided with IA. I'm guessing that this problem relates to my company's project setup but we have not had any luck identifying the root cause.

Has anyone on this forum encountered this behavior or have ideas as to what we should investigate?

0 Kudos
0 Replies