Results 1 to 12 of 12

Thread: [2005] how to make a setup?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2007
    Location
    Hong Kong
    Posts
    384

    [2005] how to make a setup?

    I know there is a way to publish my project in vb 2005, but I dun like because there are many setup files. But another program just have one setup.exe to install, so how do they make just one setup.exe?

  2. #2
    Frenzied Member bmahler's Avatar
    Join Date
    Oct 2005
    Location
    Somewhere just west of the Atlantic
    Posts
    1,568

    Re: [2005] how to make a setup?

    Look inot INNO Setup. There is a little bit of a learning curve with using it, but I have found that I like it the best. There is also something called IStool that is a nice gui for creating setup projects. There are links to both in my sig.
    Boooya
    • Visual Studio 2008 Professional
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • Don't forget to rate helpful posts!
    • If you're question was answered please mark your thread [Resolved]


    Code Contributions:
    PHP
    PHP Image Gallery v1.0PHP Image Gallery v2.0
    VB 2005
    Find Computers on a networkSimple License EncryptionSQL Server Database Access dllUse Reflection to Return Crystal ReportDocumentSilently Print PDFGeneric Xml Serailizer


    Useful Links: (more to come)
    MSDN (The first and foremost)MSDN Design Guidelines API Reference • Inno Setup CompilerInno Setup PreprocessorISTool - Fairly easy to use GUI for creating inno setup projects • Connection StringsNAnt -Automated BuildsCruise Control .NET - Frontend for automated builds

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2007
    Location
    Hong Kong
    Posts
    384

    Re: [2005] how to make a setup?

    Quote Originally Posted by bmahler
    Look inot INNO Setup. There is a little bit of a learning curve with using it, but I have found that I like it the best. There is also something called IStool that is a nice gui for creating setup projects. There are links to both in my sig.
    I download and tried INNO, but it seems that can not use for vb. just iss file.
    IStool is toolbox...so I dun think both can make a setup.exe file

    Code:
    [Setup]
    AppName=My Program
    AppVerName=My Program version 1.5
    DefaultDirName={pf}\My Program
    DefaultGroupName=My Program
    UninstallDisplayIcon={app}\MyProg.exe
    Compression=lzma
    SolidCompression=yes
    OutputDir=userdocs:Inno Setup Examples Output
    
    [Files]
    Source: "MyProg.exe"; DestDir: "{app}"
    Source: "MyProg.chm"; DestDir: "{app}"
    Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
    
    [Icons]
    Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"

  4. #4
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    326

    Re: [2005] how to make a setup?

    Nullsoft Install System is what I like to use when im not using vb.net's built in setup.

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

    Re: [2005] how to make a setup?

    If you are running Express thn you have ClickOnce and if you are running Standard, Pro, or Team Suite there is a Setup project for creating a more advanced pack.
    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

  6. #6
    Frenzied Member bmahler's Avatar
    Join Date
    Oct 2005
    Location
    Somewhere just west of the Atlantic
    Posts
    1,568

    Re: [2005] how to make a setup?

    Quote Originally Posted by newpat
    I download and tried INNO, but it seems that can not use for vb. just iss file.
    IStool is toolbox...so I dun think both can make a setup.exe file
    ISS is an Inno setup script. It compiles into a setup exe. You can most certainly use it for VB, however it will not integrate with Visual Studio. You would first need to compile any executables and libraries for your app and then use inno to build them all into an installer.

    ISTool is a tool to help you build your Inno setup script. You tell it what files you want installed and where, as well as other information about your application and when you compile it, it will create a Setup.exe or whatever you name your setup project. I can assure you that these work as they are what I use to deploy all my .net applications.
    Boooya
    • Visual Studio 2008 Professional
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • Don't forget to rate helpful posts!
    • If you're question was answered please mark your thread [Resolved]


    Code Contributions:
    PHP
    PHP Image Gallery v1.0PHP Image Gallery v2.0
    VB 2005
    Find Computers on a networkSimple License EncryptionSQL Server Database Access dllUse Reflection to Return Crystal ReportDocumentSilently Print PDFGeneric Xml Serailizer


    Useful Links: (more to come)
    MSDN (The first and foremost)MSDN Design Guidelines API Reference • Inno Setup CompilerInno Setup PreprocessorISTool - Fairly easy to use GUI for creating inno setup projects • Connection StringsNAnt -Automated BuildsCruise Control .NET - Frontend for automated builds

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] how to make a setup?

    Why is it a problem to have more than one file? Is everyone not used to downloading a ZIP file and extracting it? WinZip even has a utility to create self-extracting ZIP files.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  8. #8
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: [2005] how to make a setup?

    whats wrong with just creating a new form like a wizard and adding all your programs files as resources. that way you can have allot more control with it and allot more user interaction, there are plenty of articles around that show how to create file associations, startup, desktop and menu shortcuts etc...
    I would personally use this method, but I dont know how to delete the uninstaller app once it removes all the files and restores registry settings etc.

    Any tips on getting an executable to delete itself?

    Signatures suck

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

    Re: [2005] how to make a setup?

    With too much control with installers you will also have too many bugs and problems. Why re-invent the wheel? The Setup project allows you to run custom actions, desktop shortcuts, etc. So what more could you want? An un-install feature? Sure, setup projects when installed will have that available 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

  10. #10
    Addicted Member javad2000's Avatar
    Join Date
    Dec 2006
    Posts
    238

    Re: [2005] how to make a setup?

    Quote Originally Posted by newpat
    I know there is a way to publish my project in vb 2005, but I dun like because there are many setup files. But another program just have one setup.exe to install, so how do they make just one setup.exe?
    I use vb2005> File> New Project> Setup project
    to create a setup file. It packs the whole project in 2 files, and it's perfect. (Only available in VB.net standard edition or higher).

    but if you want your whole project to be packed in a single setup file, the most professional tool is "InstallShield" (but it's not free).

  11. #11
    Frenzied Member bmahler's Avatar
    Join Date
    Oct 2005
    Location
    Somewhere just west of the Atlantic
    Posts
    1,568

    Re: [2005] how to make a setup?

    Well for me personally I found that installing anything that used crystal reports did not seem to work properly with the VS setup project. I am sure that it works with the proper tweaking, but in the end I just chose to use inno and I am very happy with it.
    Boooya
    • Visual Studio 2008 Professional
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • Don't forget to rate helpful posts!
    • If you're question was answered please mark your thread [Resolved]


    Code Contributions:
    PHP
    PHP Image Gallery v1.0PHP Image Gallery v2.0
    VB 2005
    Find Computers on a networkSimple License EncryptionSQL Server Database Access dllUse Reflection to Return Crystal ReportDocumentSilently Print PDFGeneric Xml Serailizer


    Useful Links: (more to come)
    MSDN (The first and foremost)MSDN Design Guidelines API Reference • Inno Setup CompilerInno Setup PreprocessorISTool - Fairly easy to use GUI for creating inno setup projects • Connection StringsNAnt -Automated BuildsCruise Control .NET - Frontend for automated builds

  12. #12

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2007
    Location
    Hong Kong
    Posts
    384

    Re: [2005] how to make a setup?

    but I dun know how to modify the example that INNO provide. Do they have any instructions or teach for us?

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