Results 1 to 12 of 12

Thread: VB6 Application Installer?

  1. #1

    Thread Starter
    Addicted Member gt123's Avatar
    Join Date
    May 2006
    Location
    United Kingdom
    Posts
    145

    VB6 Application Installer?

    Hi there,

    I'm creating an application in VB6 and would like to make a basic installer for it. I tried using the P&D wizard, but it doesn't allow me to add a folder full of files at once. Ideally I'd like to install my application along with an accompanying access database and a few folders full of relevant files. If possible, I'd also like to install 2 fonts to the target system.

    Is this possible without me having to learn an entirely new scripting language to create it? I can barely grasp the basics of VB6 as it is.

    Thanks alot,

    GT

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

    Re: VB6 Application Installer?

    If you click on the Add... button on the Additional Files step of the P&D Wiz you can select your file(s) to add to your install.
    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
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6 Application Installer?

    My personal favourite is the Visual Studio Installer - which among other things allows you to add multiple files/folders easily (and is not an overly complicated system).

  4. #4
    Member
    Join Date
    Mar 2006
    Posts
    39

    Re: VB6 Application Installer?

    I personally use Inno, but it's a personal preference. Check the Deployment FAQ sticky on this forum for Inno and others.
    KB

  5. #5

    Thread Starter
    Addicted Member gt123's Avatar
    Join Date
    May 2006
    Location
    United Kingdom
    Posts
    145

    Re: VB6 Application Installer?

    Quote Originally Posted by kberry79
    I personally use Inno, but it's a personal preference. Check the Deployment FAQ sticky on this forum for Inno and others.
    I think Inno was the one I tried before, but I couldn't get my head around it at all. I'll give the VSI a go soon though.

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

    Re: VB6 Application Installer?

    You should use the other third party tools for Inno Setup. The offer great support and do most of the work for you.

  7. #7

    Thread Starter
    Addicted Member gt123's Avatar
    Join Date
    May 2006
    Location
    United Kingdom
    Posts
    145

    Re: VB6 Application Installer?

    Quote Originally Posted by si_the_geek
    My personal favourite is the Visual Studio Installer - which among other things allows you to add multiple files/folders easily (and is not an overly complicated system).
    I have this installed now, is there a simple guide available for using it? I'll give this a try before Inno, as the interface does look a lot more straight forward.

    EDIT: Having had a quick play about with it, VSI seems to suffer from the same problem as P&D wizard in that I cannot add sub-folders with batches of files within them. However, this may actually be possible, as I have little idea what i'm doing.
    Last edited by gt123; Aug 27th, 2006 at 09:09 AM.

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6 Application Installer?

    I know that in the "add file" dialog you can select multiple files, presumably you can add folders too (if you are selecting files at the same time).

    If you can't do that, you can always create a folder with the same name in VSI, and add all the files into it.

  9. #9

    Thread Starter
    Addicted Member gt123's Avatar
    Join Date
    May 2006
    Location
    United Kingdom
    Posts
    145

    Re: VB6 Application Installer?

    Quote Originally Posted by si_the_geek
    I know that in the "add file" dialog you can select multiple files, presumably you can add folders too (if you are selecting files at the same time).

    If you can't do that, you can always create a folder with the same name in VSI, and add all the files into it.
    I managed to get everything added and an installer was created, I tested this on another PC and the only thing that didn't work was the installation of fonts. In VSI I had these inside a 'fonts' folder to be placed inside the target 'windows' folder, however, this as not copied during install. Does anyone know how I sort this?

  10. #10
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6 Application Installer?

    Fonts cannot simply be copied, they need to be installed in a specific way.

    To do this in VSI, you can apparently add them as files, and set the 'Register' property to vsifrFont.

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

    Re: VB6 Application Installer?

    Quote Originally Posted by randem
    You should use the other third party tools for Inno Setup. The offer great support and do most of the work for you.
    INNO setup supports installing fonts to a target system without the need for any 3rd party add-ins....

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

    Re: VB6 Application Installer?

    Yes, I know that. I was responding to her other problems as well.
    Quote Originally Posted by gt123
    I think Inno was the one I tried before, but I couldn't get my head around it at all.

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