Results 1 to 9 of 9

Thread: Progress of an unknown install

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2005
    Posts
    88

    Progress of an unknown install

    i have a program that installs certain software that the user doesn't have as well as microsoft patches, how can i show the progress of the install without knowing the total of the files that will be installed?

    i did have set progress points through the install but it was too choppy.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Progress of an unknown install

    Moved.

    Welcome to the forums.

    What setup/installation package are you using?

    Are you creating these install packages yourself?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2005
    Posts
    88

    Re: Progress of an unknown install

    creating it myself

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Progress of an unknown install

    Quote Originally Posted by QuagmireMan
    creating it myself
    Using what?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2005
    Posts
    88

    Re: Progress of an unknown install

    i think i may just let the progressbar reset if it gets to a certain value. I am calling files that are sitting on a server, some were made with landesk, others are the orginal exe, and the win patches are in a vb script that i call from the server.

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Progress of an unknown install

    Quote Originally Posted by QuagmireMan
    i think i may just let the progressbar reset if it gets to a certain value. I am calling files that are sitting on a server, some were made with landesk, others are the orginal exe, and the win patches are in a vb script that i call from the server.
    My question is are you putting these files together using an installation and setup package like Inno or Wise or InstallShield?

    Installation setup packages typically have built in progress bars and show the state of the install as it proceeds.

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

    Re: Progress of an unknown install

    Well the way MS does it is along the lines of getting all the required files noted so you know how many. Then, depending on what each patch or exe does, you can show progress of files bing copied/registered, etc. Then move on to the next showing more progress.
    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

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Aug 2005
    Posts
    88

    Re: Progress of an unknown install

    when i call certain exe's i am having them run verbose, while the gui is telling them the progress. I don't want a zillion windows popping up one after another.

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

    Re: Progress of an unknown install

    Why would you have multiple windows poping up? Just show a form with a progressbar and increment the bar during each exes run and progress of it. Have you done a Windows Update lately? Duplicate that logic. It has one window and all the updates are updated to the same window.
    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