[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2010-11-09
5
Medium Priority
?
799 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:Ithizar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:r3nder
ID: 34099296
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


0
 

Author Comment

by:Ithizar
ID: 34099361
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.
0
 
LVL 6

Accepted Solution

by:
r3nder earned 2000 total points
ID: 34102390
how are you calling the exe? If you are not create an exe in C# then an install set in the same program below is how to call the exe from an exe
Then when you build it it will be an MSI

Put this in the page load section of the code
Change this to use your path info and exe info
public frmMain()
        {
            InitializeComponent();
            string DriveLetter = Path.GetPathRoot(Environment.GetFolderPath(Environment.SpecialFolder.System));
            string curFile = DriveLetter + "Program Files/Liveperson/hc.exe";
            MessageBox.Show((File.Exists(curFile) ? "Installed Already." : "File does not exist..Installing."));
            btnLP.Enabled = false;

            if (!File.Exists(curFile))
            {
                
                var proc = new Process();
                proc.StartInfo.FileName = "lpsetup_8.4_1032.exe";
                proc.EnableRaisingEvents = true;
                //proc.Exited += new EventHandler(proc_Exited);
                proc.Start();
                
                         
            }     
        }

Open in new window

0
 

Author Comment

by:Ithizar
ID: 34232997
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.
0
 
LVL 6

Assisted Solution

by:r3nder
r3nder earned 2000 total points
ID: 34233101
and to create an .msi you need to create an app to push out using AD - change the exe to the one you want to push - put it in load page and compile it - push this to the floor after you build the release (change debug to release) and in the bin folder you will find the msi
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question