Link to home
Start Free TrialLog in
Avatar of IzzyTwinkly
IzzyTwinklyFlag for United States of America

asked on

installing a program with powershell.

Hello,

I am trying to install a software using powershell. When I use start-process for .exe file, it starts installation wizard.
once it starts, there are 2-3 check boxes I need to check on during the installation. Is there anyway I can give default values for these check boxes or skip these steps during installation so that whole installation process can be done by one-click?
I am currently using the following command
PS C:\> start-process -filepath C:\MyProgram\install.exe -verb runas

Thanks!
Avatar of Thomas Wheeler
Thomas Wheeler

Usually there is an msi file do you have one? This usually allows you to do silent installs and set the options with switches.
Avatar of IzzyTwinkly

ASKER

No sir.

I have only .exe file. What other options do I have without msi file?
ASKER CERTIFIED SOLUTION
Avatar of Thomas Wheeler
Thomas Wheeler

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial