Results 1 to 8 of 8

Thread: [RESOLVED] Error During Installation

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2005
    Posts
    32

    Resolved [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.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Error During Installation

    Moved to Applications Deployment

  3. #3
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Error During Installation

    PDW is famous for strange errors that make no sense. Please read Installer Problems

    Post your Setup.lst file...

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Member
    Join Date
    Aug 2005
    Posts
    32

    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

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    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.

  7. #7

    Thread Starter
    Member
    Join Date
    Aug 2005
    Posts
    32

    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.

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width