Link to home
Start Free TrialLog in
Avatar of arunykand
arunykandFlag for United States of America

asked on

Run MSI from batch file

I have a Windows Installer Package (MSI) file that behaves differently on my Win-7 machine, compared to Win-XP.  On the Win-7 machine, the MSI installs the program to the root directory (C:\) instead of the intended location (C:\TEST).  But if I execute the MSI on the Win-7 via Command Prompt running as Admin, it installs in the correct location.

I was wondering if someone could point me to a solution where I can execute a batch file, which in-turn will call 'Command Prompt to run as Admin' and execute the MSI file?

Thanks for your help!
ASKER CERTIFIED SOLUTION
Avatar of plusone3055
plusone3055
Flag of United States of America image

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