Jump to content
Sign in to follow this  
MrMCox

Running MSI Files example needed please

Recommended Posts

MrMCox

Hi All,

I am trying to script the running of an msi file. I have done it many times with exe but I am getting stuck on loads of errors when trying the suggested ways of running an MSI file.

Please can someone post an example of a msi file being run with runas command from a nework share eg. \\servername\folder\file.msi

thanks

Share this post


Link to post
Share on other sites
LarryDalooza

msiexec /i "\\server\share\path to\product.msi"

don't forget silent options if needed... /qn or /qb!

msiexec /i "\\server\share\path to\product.msi" /qn

Lar.

oopes... forgot RunAs stuff. but, just drive by posting... someone will catch me.

Edited by LarryDalooza

f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites
sleepydvdr

RunAs ("administrator", "WORKGROUP", "password", 2, "msiexec /i \\server\sharefolder\myprogram.msi /qb")

Edited by sleepydvdr

#include <ByteMe.au3>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.