Mailbag: Error codes for Document Explorer and J# redistributable package setups

Question:

I am running into a problem while trying to install Document Explorer 2005 as part of my setup package. In some cases, it fails with error code 4121 and rolls back. I cannot find any information about this error code for Document Explorer setup. What does it mean?

Answer:

The .NET Framework 2.0 setup uses an external UI handler, and that same UI handler is used by other setup packages that were shipped as a part of the Visual Studio 2005 family of products. All setup packages that use this external UI handler will accept the same command line parameters and return the same return codes as the .NET Framework 2.0.

The products that use this external UI handler and share the same command line parameters and return codes includes the following:

  • .NET Framework 2.0
  • .NET Framework 2.0 language packs
  • Document Explorer 2005
  • J# redistributable package
  • J# redistributable package language packs
  • Visual Studio Tools for Office runtime components