Login to participate
Endpoint Management & Virtualization BlogsRSS

MSI Error 339

Deepanshu's picture

Runtime Error 339: Component or its dependencies not properly registered.

Check if the package is working fine when logged in into the same system using admin ID and password. If it works that means it's a permission issue which you need to resolve using filemon and regmon.

You can try to register that dll also using regsvr32... sometimes this also resolve the issue.

Cheers
Deepu

R-Vijay's picture

WiseComCapture

This usually happens when your MSI package contains Selfreg entries. The dlls try to register as a standard user and hence fail.

In this case, Remove the entries from Selfreg table and use Wise comcapture to register the dlls and add it to the application MSI /WSI.

This would solve the problem.

Cheers'
Vijay

Microsoft MVP [Setup-Deploy]
Weblog: www.msigeek.com

EdT's picture

One further scenario occurs

One further scenario occurs if you install "Per user" - eg with ALLUSERS undefined. The file registration takes place to HKCU/Software/Classes instead of HKLM/Software/Classes, so will only work for the installing user account, unless self healing is correctly implemented to get around any user permission issues.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.