[RESOLVED] Error During Installation
I am currently using VB6 SP6. I have created an Access DB program front end for an Access 97 database. This is an inventory control and tracking program. The program works well without any obvious or major error causing bugs. I use the Packaging & Deployment Wizard to create the install program. This all goes well without error. When I go to any computer to install the program usiing this Setup Wizard, even on my development machine, it finishes copying the files 100% but then it begins the setup process then after 5 seconds or so I get a message box that pops up with the message "The file c:\Document And Settings\UserName\Local Settings\Temp\TempDir\$(DLLSELFREGISTEREX) could not be registered because it was not found. I click ok and then it uninstalls the program. I have verified that all the required OCX and DLL files are included in the setup. I have checked the SETUP.LST. Now I am not sure what to do or where to begin checking next to try and resolve this problem. Does anyone have any suggestions regarding this?
The UserName is the user on the given computer that I am attempting to install the program on. The TempDir is the name of the temporary directory into which certain files will be placed during the installation process.
My assumption is that $(DLLSELFREGISTEREX) is a generic reference to a DLL or OCX file this is similar to the ,$(WinSysPathSysFile) which is putting a file into the Windows\System path. But I cannot figure out which OCX or DLL is not being correctly called. Is this assumption correct or am I on the wrong path?
Thank you in advance for your time & effort in this matter. :wave:
Re: Error During Installation
Moved to Applications Deployment
Re: Error During Installation
PDW is famous for strange errors that make no sense. Please read Installer Problems
Post your Setup.lst file...
Re: Error During Installation
You should be careful with the access 97 db as most users will have access 2000+. Not sure if its being used as a strictly backend db or if you are doing anyhting with it visually but only 97 can edit a 97 db.
Re: Error During Installation
Here is the current SETUP.LST file created by the PDW
HTML Code:
[Bootstrap]
SetupTitle=Install
SetupText=Copying Files, please stand by.
CabFile=EGSI_DB.CAB
Spawn=Setup1.exe
Uninstal=st6unst.exe
TmpDir=msftqws.pdw
Cabs=1
[Bootstrap Files]
[email protected],$(WinSysPathSysFile),,,6/1/99 12:00:00 AM,101888,6.0.84.50
[email protected],$(WinSysPathSysFile),,,3/8/99 12:00:00 AM,147728,2.40.4275.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,4/12/00 12:00:00 AM,598288,2.40.4275.1
[email protected],$(WinSysPathSysFile),$(TLBRegister),,6/3/99 12:00:00 AM,17920,2.40.4275.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,3/8/99 12:00:00 AM,164112,5.0.4275.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,2/23/04 1:00:00 AM,1386496,6.0.97.82
[Setup]
Title=EGSI_DB
DefaultDir=$(ProgramFiles)\EGSI_DB
AppExe=EGSI_DB.EXE
AppToUninstall=EGSI_DB.EXE
[Setup1 Files]
File1=@ESGI_DB.MDB,$(AppPath),,,5/25/07 3:48:38 PM,79872,0.0.0.0
File2=@MDAC_TYP.EXE,$(AppPath),,,1/20/00 12:00:00 AM,7856352,25.0.4403.12
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,9/7/04 9:09:52 AM,258048,8.0.20044.9
[email protected],$(WinSysPathSysFile),,,9/7/04 9:08:02 AM,548864,8.0.20044.9
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,9/7/04 9:09:56 AM,131072,8.0.20044.9
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),9/7/04 9:10:12 AM,479232,8.0.20044.9
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),7/26/04 4:01:58 PM,417792,8.0.20044.114
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 1:00:00 AM,224016,6.1.97.82
[email protected],$(WinSysPath),$(DLLSelfRegisterEx),$(Shared),1/14/00 10:07:10 PM,111544,9.0.0.3620
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),3/21/01 3:34:02 PM,244232,6.0.84.18
[email protected],$(WinSysPathSysFile),,,2/17/04 1:00:00 AM,278581,6.0.9782.0
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,8/4/04 7:00:00 AM,1028096,6.2.4131.0
[email protected],$(WinSysPath),,$(Shared),9/25/97 10:15:28 AM,121856,5.0.0.0
[email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),1/27/98 11:06:32 AM,180736,5.0.0.0
File15=@EGSI_DB.EXE,$(AppPath),,,10/29/07 8:51:04 AM,258048,1.0.0.3
Re: Error During Installation
Did you read the link that I posted? You are deploying at least one file that you should not be and your VB runtime files are probably not the correct versions that are supposed to be deployed. You are not deploying the JET engines and who knows what MDAC you are deploying.
You have many issues. Deploying Access 97 is ok as long as you deploy all that it needs.
Re: Error During Installation
I did some research and discovered that the problem was with the MSCAL.OCX.
The line was originally.
Code:
@MSCAL.OCX,$(WinSysPath),$(DLLSelfRegisterEx),$(Shared),1/14/00 10:07:10 PM,111544,9.0.0.3620
It should of been
Code:
@MSCAL.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),1/14/00 10:07:10 PM,111544,9.0.0.3620
I discoverd this on the following webpage..
http://visualbasic.ittoolbox.com/gro...ftqwspdw-44267
Hopefully this helps anyone with this error in the future when they are deploying the MSCAL.OCX. Though as pointed out the PDW has lots of issues.
Thanks to all for their help.
Re: Error During Installation
Thanks for the link and update. :)
Ps, dont forget to Resolve your thread from the Thread Tools menu so others know your question has been solved. ;)