Progress Bar for Installations

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 1 year and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
Scott Rosenbloom
Posts: 14
Last visit: Thu Feb 22, 2024 7:41 am

Progress Bar for Installations

Post by Scott Rosenbloom »

Hey All,

I've built an app that installs software after a user picks one or more apps from a checkedlistbox. Is it possible to show a progress bar while the installation itself is occurring?

Thanks,
Scott
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Progress Bar for Installations

Post by brittneyr »

[Topic moved to PowerShell GUIs Forum by moderator]
Brittney
SAPIEN Technologies, Inc.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Progress Bar for Installations

Post by jvierra »

Using a progress bar with an MSI is extremely difficult to generalize. I recommend using a job and monitoring the job for completion.

If you use the JobTracker custom control set, then you will have a progress/busy indicator. Actual progress cannot be used externally to an installer. If you build your own MSI then you can give it various types of progress indicators.
This topic is 1 year and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked