checkobx in installation wizard with Powershell

Hi guys,

I am in installing a program using powershell.

$ExePath = "C:\MyProgramFolder\install\setup.exe"
Start-Process -FilePath $ExePath -verb runas


However, there is a checkbox in this installation wizard.
After I ran the code above, it started open installation wizard.
However, the checkbox was not displayed at all and Install button was disabled.
Only Exit button was enabled.

I am little bit confused here. if I created a window form application, I know the name of buttons and checkboxes.
However, I don't know the names of these controls since I didn't make this installation wizard program.

Is there anyway I can identify the names for these controls(checkboxes, buttons)
or can provide the arguments in advance when execute Start-Process command so that it will just install the program with those arguments?
(there are one more step that requires the information from the user at the end of the wizard)
IzzyTwinklyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

footechCommented:
The only way you'll be able to do an install is if it provides a command line option, i.e. a silent install that requires no further input.  So, this is up to the installer executable as to what parameters it accepts.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IzzyTwinklyAuthor Commented:
I found the answer. I have to use some tools like Snoop. I should have told that it's WPF application. Sorry for the confusion.
0
footechCommented:
I appreciate the points, but as mine wasn't really a solution for you, the best course would've been to either delete the question or provide more detail about the solution that worked for you and then accept that as the answer.  Of course the second is preferred, as it could help someone else with the same problem.

:)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.