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)