That ended up working well, thank you!jvierra wrote:Here is yours as an example:
As a last piece of refinement, I wanted to include a cancel/abort type button since if a user selects a whole bunch and then wants to cancel them, they would have to kill the form as well as any installers that are currently running. Obviously they could open up task manager and manually kill them, but not everyone would know how to do that. I thought about having the Click event for the abort button be "Exit" to kill the form, and then "Stop-Process" msiexec/cscript/wscript, but once they start installing, even if I tab to the original form, the button is unclickable because the msi is running (during a "Windows is Preparing to Install xxx") which takes a long time for some of the applications. Am I stuck until at least the first program is installed before I can kill anything?