Results 1 to 3 of 3

Thread: New install doesn't overwrite old program name

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    39

    New install doesn't overwrite old program name

    Hi,
    I use VB6 built-in package and deploy tools to create my setup files. It works ok but one annoying issue is every time I reinstall my software, it creates a new entry in the windows Add/Remove program list. Well, it does overwrite the one in programs group and my program works well. But If I install my software multipal times it will create lots of entries in the Add/Remove list. Could someone give me some suggestions? Thanks.

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

    Re: New install doesn't overwrite old program name

    You need to uninstall the previous installation before attempting to install a new build.
    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

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: New install doesn't overwrite old program name

    PDW has lots of things about it that make it a pain to use...

    well anyway instead of uninstalling each time, you can simply delete the registry entires that make it show up in the add/remove programs screen

    this is the key where those entries are.. just find the one that goes to your app and delete it (you could even write a tiny VB app to do this for you...)

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

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