Results 1 to 15 of 15

Thread: [RESOLVED] Deployment using inno setup

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    14

    Resolved [RESOLVED] Deployment using inno setup

    Hie guys.

    I just developed an application in visual basic 6.0 and would like to package the application using inno setup.

    What I want exactly is to create a setup that would give two options.One option should allow for the installation of server components such as the database and some reports designed using CR11.The other option should allow for the installation of client components which should be the vb application interface(forms) to manipulate the server components.

    Many thanks in advance

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

    Re: Deployment using inno setup

    Moved

    I havent had the experience with Inno but I know other members have. I'm sure they will be replying to you shortly.

    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
    Fanatic Member lerroux's Avatar
    Join Date
    Nov 2005
    Location
    Welcome to the darkside... we have cookies
    Posts
    646

    Re: Deployment using inno setup

    well, inno has a wizard that can help you with although i'm not really sure how... sori.

    anyways, if i have to make an installer like that, i'd settle in developing my own installer... why? i can do whatever i want to do with it... for free...
    WARNING: Excessive coding is dangerous to your health... if symptoms persist insult your doctor...

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    14

    Re: Deployment using inno setup

    Thanks for the quick response.Hope I will be getting something from other members.

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    14

    Re: Deployment using inno setup

    How can I develop my own setup instruction set.I would love that so much.Shade more light lerroux.

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

    Re: Deployment using inno setup

    first of all INNO is free.. and 99% customizable

    writing your own installer is a silly idea unless you plan on writing it in a native windows language like C, and even then it is a HUGE painstaking process to actually write your own installer from scratch.

    look into the INNO help file for the [Components] and [Types] sections... that is where you define different types of installs to be allowed, and in the files section you set a components attribute, and specify to install that file when the certain component was selected to be installed..

    here is a sample, but i wrote it right here in IE, and not in INNO, so the syntax could be off a bit.. like I said read the help file and it will give you a lot of info.. that is how I figured it out when I first started using INNO.

    Code:
    [Files]
    Source "C:\myfile.exe"; destDir: {app}; Components: cAlways cOptional
    Source "C:\readme.txt"; destDir: {app}; Components: cAlways cOptional
    Source "C:\database.mdb"; destDir: {app}; Components: cOptional
    
    [Types]
    Name: "mininstall"; Description: "Minimum Installation"; Flags: iscustom
    Name: "fullinstall"; Description: "Full Installation"; Flags: iscustom
    
    [Components]
    Name: "cAlways"; Description: "Main Program Files"; Types: mininstall; flags: fixed
    Name: "cOptional"; Description: "Additional Program Files"; Types: fullinstall; flags: fixed

  7. #7

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    14

    Re: Deployment using inno setup

    Thanks so much for the contribution.I just got back to my work and will be trying this out now.Will notify you guys on my progress and will be looking forward to your continued support.

    Many thanks

    Quote Originally Posted by kleinma
    first of all INNO is free.. and 99% customizable

    writing your own installer is a silly idea unless you plan on writing it in a native windows language like C, and even then it is a HUGE painstaking process to actually write your own installer from scratch.

    look into the INNO help file for the [Components] and [Types] sections... that is where you define different types of installs to be allowed, and in the files section you set a components attribute, and specify to install that file when the certain component was selected to be installed..

    here is a sample, but i wrote it right here in IE, and not in INNO, so the syntax could be off a bit.. like I said read the help file and it will give you a lot of info.. that is how I figured it out when I first started using INNO.

    Code:
    [Files]
    Source "C:\myfile.exe"; destDir: {app}; Components: cAlways cOptional
    Source "C:\readme.txt"; destDir: {app}; Components: cAlways cOptional
    Source "C:\database.mdb"; destDir: {app}; Components: cOptional
    
    [Types]
    Name: "mininstall"; Description: "Minimum Installation"; Flags: iscustom
    Name: "fullinstall"; Description: "Full Installation"; Flags: iscustom
    
    [Components]
    Name: "cAlways"; Description: "Main Program Files"; Types: mininstall; flags: fixed
    Name: "cOptional"; Description: "Additional Program Files"; Types: fullinstall; flags: fixed

  8. #8

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    14

    Re: Deployment using inno setup

    Thank you so much for your support guys.Your contributions really helped me.

    Kleinma;what I can say is left for me now is to grasp the concepts as I already have the two installation components differentiated.

    Many thanks

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

    Re: [RESOLVED] Deployment using inno setup

    glad that I can help. I pimp inno whenever I can, because it really is one of the best installers that rivals even the expensive ones. Sure some of them that you pay for make it a little easier with their interfaces, but the fact that INNO introduced built in PASCAL scripting, basically makes you able to do ANYTHING you want from INNO. You can even make windows API calls...

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

    Re: [RESOLVED] Deployment using inno setup

    Mayormdau,

    If you look into the Inno Setup Third Party Tools you will also get more help in your efforts with Inno setup.

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

    Re: [RESOLVED] Deployment using inno setup

    kleinma,

    Why not put together a collection of Pascal scripts that users can use in their efforts?

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

    Re: [RESOLVED] Deployment using inno setup

    I have posted links in the past in this forum to a site where a guy has posted like 80+ real world usable pascal scripts for use in INNO. I will dig up the link

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

    Re: [RESOLVED] Deployment using inno setup

    here are some pascal scripts for almost anything you may want to do with INNO

    http://www.vincenzo.net/isxkb/module...ve&sa=show_all

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

    Re: [RESOLVED] Deployment using inno setup

    Yeah, I know that one. I was maybe seeking a Kleinma special...

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

    Re: [RESOLVED] Deployment using inno setup

    i am actually putting together an INNO VB6 and .NET installer template, but I have been busy at the moment.

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