Results 1 to 6 of 6

Thread: [RESOLVED] Installation Problem

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,513

    Resolved [RESOLVED] Installation Problem

    I've created an installation package for my VB6 app, using the Package and Deployment wizard. I've done this many times in the past and always had successful installations. My development computer OS is Vista. I'm trying to install the updated app on XP machines. These machines are currently running the old version of this app.

    I'm getting an error during the install, see attachment.

    I select OK so it will update the files, I then restart the computer.
    I still get the same error when I try to install.

    Is there a problem with creating an app in Vista and installing it on XP?

    I would appricate and information, I'm stuck

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Installation Problem

    You are almost certainly trying to deploy libraries that are OS-dependent and part of the base OS. Knowing what you are including will help identify the culprits.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,513

    Re: Installation Problem

    dilettante,

    Thanks for the reply, I going to try and move all my app files to my old XP machine and create the Installation Package there, hopefully that will solve the problem.

    My XP laptop has just crashed and won't boot, so I'll have to solve this disaster first!

    Why couldn't I have been a bus driver?

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

    Re: Installation Problem

    Thread moved
    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
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Installation Problem

    Building the package on XP without changing anything else will probably result in a new package that breaks on non-XP systems. The breakage can even occur when different OS Service Pack or hotfix levels are involved.

    The ultimate solution might be an updated VB6DEP.INI for the PDW, with a longer list in its [Do Not Redistribute] section. Sadly no single file would work because the issues are different on different OSs, especially downlevel to Win2K or Win9x. So in the meantime we have to rely on experience and numerous MS KB articles telling what is or isn't safe to reditribute where.

    This is exactly why Visual Studio Installer (VSI, a packager like PDW) and Windows Installer (replaces Setup.exe and Setup1.exe) were introduced (in 1998). By the time NT 4.0 and Win98 were out, with Win2K on the horizon, there was already quite a stew of different OSs to deal with. VSI can create "smarter" OS-sensitive installers than PDW does and Microsoft's dependency merge modules contain a lot of such smarts so you don't have to specify the details.


    In the meantime the PDW is still very useful, but you have to be cautious about what you package and deploy.

    http://support.microsoft.com/kb/831491

  6. #6

    Thread Starter
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,513

    Re: Installation Problem

    dilettante,

    Thanks again for the very relavent and helpful information. I will give VSI a try, I just downloaded it.

    I don't want to be a pest but could you take a look at this post, maybe you could point me in the right direction, no one else has responed.

    http://www.vbforums.com/showthread.php?t=554397

    Thanks, Your help is greatly appriciated.

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