Today I had to programitacally install a .msi and .exe at the start up of an EC2 instance. By default all them code that needs to be executed during a start up is added to the user data of the EC2 instance.
Bellow was the code used to install the msi and exe
start-process c:\setup\<>.msi /gn -wait
However executing the exe required some effort as it needed special switchers
start-process c:\setup\psqlodbc-setup.exe /install /quiet /norestart -wait -passthorugh
found the extra switcher doing this
Bellow was the code used to install the msi and exe
start-process c:\setup\<>.msi /gn -wait
However executing the exe required some effort as it needed special switchers
start-process c:\setup\psqlodbc-setup.exe /install /quiet /norestart -wait -passthorugh
found the extra switcher doing this
Comments
Post a Comment