Results 1 to 9 of 9

Thread: Installing VB-6 programs on Vista .. Creating the desktop icon

  1. #1

    Thread Starter
    Member
    Join Date
    May 2006
    Location
    Springfield, Mo.
    Posts
    45

    Question Installing VB-6 programs on Vista .. Creating the desktop icon

    when i try to install one of my vb-6 sp-6 programs on a (vista) machine .. it install ok and runs ok .. but it does (not) automatically create the desktop icon .. like it does when i install it on 98, 2000, xp, etc.

    how do i get it to automatically create the desktop icon ???

    you can see (and download) my program from my website .. www(dot)wa0h(dot)com .. (0) is the number zero.

    thanks

    jerry

  2. #2
    Fanatic Member esposito's Avatar
    Join Date
    Sep 2003
    Location
    Perugia, Italy
    Posts
    961

    Re: Installing VB-6 programs on Vista .. Creating the desktop icon

    What setup packager are you using? If you use Inno, you shouldn't have any problems under Vista.
    Since I discovered Delphi and Lazarus, VB has become history to me.

  3. #3

    Thread Starter
    Member
    Join Date
    May 2006
    Location
    Springfield, Mo.
    Posts
    45

    Re: Installing VB-6 programs on Vista .. Creating the desktop icon

    thanks for the reply.

    i am using the standard package-and-deployment wizzard that comes with vb6.

    at the end of the install .. i get the following error message

    an error occured trying to create a program icon.

    i ran the setup.exe as an administrator.

    jerry

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

    Re: Installing VB-6 programs on Vista .. Creating the desktop icon

    Did you customize the P&D Wiz at all as it doesnt make desktop shortcuts without customizations.
    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
    May 2006
    Location
    Springfield, Mo.
    Posts
    45

    Re: Installing VB-6 programs on Vista .. Creating the desktop icon

    yes,

    i did have to make the following addition to the (setup.lst) file in order to get older versions of windows to automatically create the desktop icon.

    Group1=DeskTop
    PrivateGroup1=-1
    Parent1=$(Programs)

    [DeskTop]
    Icon1="MicroLog.exe"
    Title1=MicroLog-By-WA0H
    StartIn1=$(AppPath)

    do you think there is a similar patch that will work on vista as well as the older versions of windows ?

    jerry

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

    Re: Installing VB-6 programs on Vista .. Creating the desktop icon

    Hmm, $(Programs)\DeskTop is not a standard location? I think in Vista the location would be under the Users folder for that username account.
    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

  7. #7
    Fanatic Member esposito's Avatar
    Join Date
    Sep 2003
    Location
    Perugia, Italy
    Posts
    961

    Re: Installing VB-6 programs on Vista .. Creating the desktop icon

    You could also consider the option of switching to Inno Setup. It produces single setup executables, takes care of creating the desktop icon automatically and comes highly recommended.

    You can visit this Web site for further details:

    http://www.jrsoftware.org/isinfo.php

    By the way, Inno Setup is free.
    Since I discovered Delphi and Lazarus, VB has become history to me.

  8. #8

    Thread Starter
    Member
    Join Date
    May 2006
    Location
    Springfield, Mo.
    Posts
    45

    Re: Installing VB-6 programs on Vista .. Creating the desktop icon

    thanks for the tip, i will check it out.

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

    Re: Installing VB-6 programs on Vista .. Creating the desktop icon

    Yes, we have other installer software featured in the Application Deployment's FAQ too.
    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