?
Solved

Setup of a vb6 project on windows xp home

Posted on 2003-11-17
4
Medium Priority
?
903 Views
Last Modified: 2013-12-25
got a project (quite big), and i'm using the standard 'setup wizard' of vb6. When i install the package on some xp machine it keeps on saying "some system files needs to be updated, system needs to be restarted before setup can continue"
I already found out that it got something to do with (some of?) this files:
[Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,7/15/00 12:00:00
File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98
File3=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,5/20/03 10:39:06
File4=@ASYCFILT.DLL,$(WinSysPathSysFile),,,5/20/03 10:39:06
File5=@OLEPRO32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/20/03
File6=@OLEAUT32.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/20/03
File7=@MSVBVM60.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,8/21/00

(from the setup.lst file)
When i remove the files from the file it works fine, but that's not really what i want....
0
Comment
Question by:m_wendy
4 Comments
 
LVL 7

Expert Comment

by:wsteegmans
ID: 9766657
I had the same problem ... and I also deleted some files ... Because some files are really Windows System Files and you don't want to update them with a VB Setup-Package.

For these files, it seems also the update doesn't work, because after rebooting, the same question is asked ... "Some system files needs ..."

The most files in your list are of the Visual Basic 6 Runtime Package. Maybe you can distribute it saperately. Additional info do you find here: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q192/4/61.ASP&NoWebContent=1

But, if I compare all files with these of the Runtime Package, only the first is not in the Runtime Package ... So, try to remove the first line ... ?
File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,7/15/00 12:00:00
0
 
LVL 8

Accepted Solution

by:
MYLim earned 1000 total points
ID: 9768141
The link you want:
http://support.microsoft.com/default.aspx?scid=kb;en-us;279764
http://support.microsoft.com/default.aspx?scid=kb;EN-US;174135
http://support.microsoft.com/default.aspx?scid=kb;EN-US;191096


The file that causes this problem is Oleaut32.dll.
RESOLUTION
There are two ways to resolve this problem:
Use a Windows 2000 Service Pack to update the version of Oleaut32.dll on the target computer to one that is equal to or later than the version of the Oleaut32.dll file in the package.
Include a version of Oleaut32.dll in the package that is equal to or earlier than the version that shipped with Windows 2000. One way to accomplish this is to install Visual Studio 6.0 Service Pack 4 (SP4) or later. Visual Studio 6.0 SP4 installs three files (Olepro32.dll, Oleaut32.dll, and Stdole2.tlb) in the Redist folder. The file versions that SP4 installs are earlier than the versions that shipped with Windows 2000. The Package and Deployment Wizard then distributes the Oleaut32.dll from the Redist folder instead of the System folder.

or
you should try inno setup...
good program to distribute your product without problem.
http://www.jrsoftware.org/

0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 9768214
I am doing hundreds of installation these days and I got this problem on few PCs. The fastest way to fix the problem is to delete/rename MSVBVM60.DLL from the Windows\System32 folder and run VBRUN60SP5.EXE
0
 
LVL 1

Expert Comment

by:eScapePro
ID: 9788501
Guy's use Inno Setup - it's free, it's fast and even Microsoft use it for small projects. It looks like InstallShield. I use nothing else. Go here http://www.jrsoftware.org/isinfo.php and please donate if you use it so that we can get the guys to step development up again.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

609 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