When creating an application from 3rd party MSI file creation never completes.

  • 10082151
  • NOVL88518
  • 15-Apr-2003
  • 02-Sep-2005

Archived Content: This information is no longer maintained and is provided 'as is' for your convenience.

Fact

Novell ZENworks for Desktops 4

Symptom

When creating an application from 3rd party MSI file creation never completes.

When attempting to create an application from an MSI, after pointing to the MSI file, entering in the preliminary information, when "Finish" is selected the creation never completes.

Fact

     If cancel is selected the snapin will abort creation immediately.

Symptom

A debug output from ConsoleOne during creation attempt returns the following:

com.novell.application.zenworks.nal.common.lib.exceptions.ZenAppPackageException:
 at com.novell.application.zenworks.nal.common.lib.msi.ZenMsiLib.MsiGetProductLanguage(Native Method)
 at com.novell.application.zenworks.nal.common.lib.msi.ZenMsiLib.msiGetProductLanguage(ZenMsiLib.java:161)
 at com.novell.application.zenworks.nal.common.lib.zenapppackage.MsiZenAppPackage.readConfigFromPackage(MsiZenAppPackage.java:159)
 at com.novell.application.zenworks.nal.common.lib.zenapppackage.MsiZenAppPackage.readConfigFromPackage(MsiZenAppPackage.java:195)
 at com.novell.application.zenworks.nal.common.lib.zenapppackage.MsiZenAppPackage.<init>(MsiZenAppPackage.java:49)
 at com.novell.application.zenworks.nal.common.lib.zenapppackage.ZenAppPackage.getZenAppPackage(ZenAppPackage.java:56)
 at com.novell.application.zenworks.nal.snapins.application.CreateAppObjPageSummary.finish(CreateAppObjPageSummary.java:551)
 at com.novell.application.console.widgets.NWizard.actionPerformed(NWizard.java)
 at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
 at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
 at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
 at java.awt.Component.processMouseEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Window.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.Dialog.show(Unknown Source)
 at com.novell.application.console.widgets.NDialog.show(NDialog.java)
 at com.novell.application.console.widgets.NWizard.show(NWizard.java)
 at com.novell.application.zenworks.nal.snapins.application.ExternalAppObjCreatorSnapin.checkObjects(ExternalAppObjCreatorSnapin.java:196)
 at com.novell.application.zenworks.nal.snapins.application.ExternalAppObjCreatorSnapin.execute(ExternalAppObjCreatorSnapin.java:259)
 at com.novell.admin.snapins.creator.CreatorEngine.launchCreatorDlg(CreatorEngine.java)
 at com.novell.admin.snapins.creator.CreatorEngine.createImpl(CreatorEngine.java)
 at com.novell.admin.snapins.creator.CreatorEngine.create(CreatorEngine.java)
 at com.novell.admin.snapins.creator.SnapinToolbarObject.actionPerformed(SnapinToolbarObject.java)
 at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
 at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
 at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
 at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
 at java.awt.Component.processMouseEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Window.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source).

Cause

MSI incompatibility with the Application Creation Snapin

Fix

There was a bug in the MSI package. ProductLanguage is a REQUIRED property. According to MSDN:

ProductLanguage Property

The ProductLanguage property specifies the language the installer should use for any strings in the user interface that are not authored into the database. This property must be a numeric language identifier (LANGID). If a transform changes the language of the user interface in the database, then it should also change the value of this property to reflect the new language.

This property is REQUIRED.

To fix the issue, edit the MSI and include the ProductLanguage property in the MSI package, using something like Microsoft's ORCA. Add an entry to the "Property" table, the property to be added is "ProductLanguage", the value for English is 1033, and the values for other languages can be found by searching the Microsoft web site for "Language Codes"

There is an enhancement to the snapin so that if this is set to nothing, it will default to English.  This is in ZENworks for Desktops 6.5 Support Pack 1 or later at Novell Support.