Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regsvr32.exe not working properly!

Status
Not open for further replies.

ptj

Programmer
Oct 5, 2001
46
GB
I really don't know what's going on, but I have a clean installation of win98 & I can't register dll's with regsvr32. By chance I ran another set-up program for a vbproject & then after that regsvr32 suddenly worked again!!

Any ideas? I'm trying to distribute an access application & I need to register two dll's manually!!

Thanks

Phil.
 
Do you have a specific dll that's giving you problems? msxml.dll or some variant?
 
I think it may be that the dlls I'm trying to install rely on other dll's that are distributed with visual basic apps, that's why it will install after a VB program has been installed. The dll is a programming tool 'The Essential Toolkit'. I tried just installing vb runtime files but that wasn't enough to sort the issue.

Phil
 
Have you tried running Dependancy Walker on the dll (on the machine where you're trying to install the file) to see whether you have all the necessary dependancies?
 
No - never heard of it! Is it the shortcut marked 'Depends' in the visual studio tools folder? I haven't really played with any of the tools except the p & deploy wizard and the api viewer. I am pretty sure it's a problem with dependencies though.
 
Which is your windows directory. If root directory is not
c set the path for windows\system dir in autoexec.bat ..

Thanks and Regrs,
Sweth
 
Yes, it is Depends. If the app you're trying to install is having trouble on the client machine, install Dependancy walker there. Use Depends to open the offending dll; it should tell you what is missing from its dependancies.

Or, before installing Dependancy on a client pc, open the dll on your own. Make sure that all the listed dependant files are present in your installation package (or just check whether they exist on the client and manually copy and register those dependant files).

You said you have Visual Studio. Part of Visual Interdev in the Visual Installer. It's quite a bit easier/better than the Package/Deployment Wizard and does a better job of automatically loading dependant files with your installation application (doesn't always get ALL dependancies though so knowing how to find out what's missing is important).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top