Error code 126 occurs under some Windows XP systems when trying to install a printer using either Install.exe or PDFDriverInit.
This error occurs because the windows printer installer looks for the file framedyn.dll in the system path and does not find it. This DLL is supposed to be located under the wbem directory under system32 and the system path is supposed to point to that directory.
We have found that under some installations, the system path contains a space character after the wbem directory, which prevents Windows XP from finding this DLL. The space characters in the path will also break the installation if it comes before the wbem directory.
To check if this is the problem, type PATH in a command line window and check for something like:
path=c:\windows;c:\windows\system32;c:\windows\system32\wbem ;
If this is the case, you will need to manually remove the space from the system path, or copy the framedyn.dll file to your application or system32 directories.
If you find something like "c:\Program Files\Palm", you should also remove that part or move it till the end of the Path setting.
We are currently looking for ways to modify our installer and the PDFDriverInit functions to work around this bug in the Windows XP installation.
Sincerely,
Amyuni Technologies Inc.
http://www.amyuni.com