I've got a major issue automating the installation of a program w/o user interference. I have a setup wizard, but I can't wrap up my head about finding the parameters to input in cmd or powershell so it install the program silently, tried
start-process -FilePath 'C:\Program Files (x86)\Notepad++\install.exe' -ArgumentList '/S' -wait
it will only run the wizard.
The question is - is there any way so I can put in the parameters to the wizard, or extract the parameters list from wizard file, so I can automate the installation of the program.
Yes there is a way. Few ways actually.
cinst notepadplusplus
. People already maintain huge number of packages and this way you contribute to the community. By creating choco package you will actually get to know all the steps to automate any install.usff
(Universal Silent Switch FInder): cinst usff
.cinst insted
. Some choco packages allow you to customize this via parameters - for instance yed has parameter that allows you to create desktop shortcut.If you want old fashion just run:
.\installer.exe /S