Run MSI from batch file
Posted on 2013-06-12
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!