Link to home
Create AccountLog in
Avatar of Ithizar
IthizarFlag for United States of America

asked on

"Could Not Register Type Library" Error with WinINSTALL MSI Package

Hi folks!

I'm trying to use WinINSTALL LE to create an MSI package for WordPerfect Office 12 to use in deploying that application to our Windows XP workstations via group policy in Active Directory.

I successfully installed WinINSTALL on a clean machine, ran a discovery, installed WP Office, and ran a new discovery. It said it successfully created the package. However, when I go to another machine and attempt to use the resultant package to install, I receive several errors that say "Could not register type library for file" and then list a file name. The files it references are:

C:\Program Files\WordPerfect Office 12\Programs\CdrPDFUI112.dll
C:\Program Files\WordPerfect Office 12\Programs\CRLFRMWK112.dll
C:\Program Files\WordPerfect Office 12\Programs\cdrpdf112.dll

The only way I can proceed is to tell the installer to ignore the error, but if I do so, when it completes, the Start Menu shortcuts to the programs are not valid. I could create a shortcut directly to the executable file for WordPerfect, which seems to have been properly created, but I'm afriad that with those errors there will be problems.

Any suggestions on what is causing this problem would be most appreciated.

Thanks,
Ithizar
Avatar of r3nder
r3nder
Flag of United States of America image

This is a basic way to register a .dll with the help of batch file. Type this in a text file and save it as updatebatchfiles.bat

Regsvr32.exe C:\Program Files\WordPerfect Office 12\Programs\CdrPDFUI112.dll
Regsvr32.exe C:\Program Files\WordPerfect Office 12\Programs\CRLFRMWK112.dll
Regsvr32.exe C:\Program Files\WordPerfect Office 12\Programs\cdrpdf112.dll

Thanks
R3nder


Avatar of Ithizar

ASKER

Thanks. How do I get rid of the errors during the install, though? When I build the MSI package, it is supposed to be completely unattended, which is what I need since I intend to deploy via group policy, but when it hits those errors, it's stopping and asking for a user response.
ASKER CERTIFIED SOLUTION
Avatar of r3nder
r3nder
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Ithizar

ASKER

This is not a program I am writing. This is a commercial piece of software that I am trying to wrap up in an MSI package for easy deployment through Active Directory.
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.