Install MSI on remote machine using PSEXES.EXE

net use \\SERVER1\c$\Windows\Temp AdminPassword /user:Admin
copy /Y C:\build\MyApp.msi \\SERVER1\c$\Windows\Temp
psexec.exe \\SERVER1 -u Admin -p AdminPassword -e -s msiexec /x {61EF76AE-6CC9-4EFC-B788-6845C0BCEF00} /quiet
psexec.exe \\SERVER1 -e -s -u Admin -p AdminPassword msiexec /i C:\Windows\Temp\MyApp.msi TARGETDIR=C:\MyApp /quiet
net use \\SERVER1\c$\Windows\Temp /d

[reference : http://www.geekytidbits.com/unattended-msi-installation-psexec/]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s