Solved

Problem with Vbscript.dll while using Package & Deployment Wizard

Posted on 2004-09-03
6
366 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 56

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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
I'm trying to understand this simple vb code! 2 37
troubleshoot a python script 8 74
SBS secondary domain installation 9 35
CSV file copy field 1 to field 2 2 38
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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 …

756 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