Solved

Problem with Vbscript.dll while using Package & Deployment Wizard

Posted on 2004-09-03
6
334 Views
Last Modified: 2010-05-18
Hi
  I created a Standard EXE Prject in VB 6.0. i used Vbscript.dll (reference: Microsoft Vbscript Regular Expressions 5.5)  in my project. When i tried to make package using Package &  Deployment Wizard , i got stuck with a file called "c:\winnt\System32\Vbscript\3"
I then tried Install Shield to create package , and got the same problem. i dont understand what is wrong with this dll. Please Help...
 Regards
 Shiju
0
Comment
Question by:Shiju Sasidharan
  • 2
6 Comments
 
LVL 18

Expert Comment

by:JR2003
ID: 11978925
Do a search on your hard drive for this file (Vbscript.dll), you should donly have one copy on windows\system32.
If you have more than 1 unregister the others by typing:
regsvr32 /u Vbscript.dll
by typing at the command prompt in the same directory.

Then unregister and re-register Vbscript.dll in the system32 directory.
regsvr32 Vbscript.dll

If it still doesn't work it could be that the file is corrupt. In which case you will have to restore a good version of the file and register it.
0
 
LVL 14

Author Comment

by:Shiju Sasidharan
ID: 11979603
Hi JR 2003
   thank u for ur comment
   the file Vbscript.dll is in the directory c:\winnt\System32 and the project is working smoothly. Problem i get is while creating the package.
i noticed one thing, In the VB Project, when i select the reference "Microsoft Vbscript Regualr Expressions 5.5", its location is displayed as
 
   Location : C:\Winnt\System32\Vbscript.dll\3

Hoping for a solution
Thanks
 Shiju
0
 
LVL 18

Expert Comment

by:JR2003
ID: 11979632
Shiju,
Instead of just selecting it from the list of avaialable references in the references option you could try using the "Browse..." option to select the dll.
JR
0
 
LVL 53

Accepted Solution

by:
Julian Hansen earned 125 total points
ID: 11980804
You should be able to ignore the message and include the file in the add files section of the setup package. However bear in mind that VBScript has different installations for different platforms. The best way to script any package is to put into the package only the components you created. You should then distribute any other required files using the packages they were originally distributed with or direct your users to get hold of the latest updates.

For example - don't distributed MDAC files as part of your app - rather get users to install (or include in your package) the latest MDAC package from Microsoft. The same goes for any other component.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now