Link to home
Start Free TrialLog in
Avatar of Jaime Campos
Jaime CamposFlag for United States of America

asked on

msiexec won't run

Hello,

I am trying to run the following .msi cmd nothing happens on the system I am running it on.

msiexec.exe /q ALLUSERS=2 /m MSIMQXJO /i "OfficeModule_Installer_x64.msi"

I also tried

msiexec.exe /q ALLUSERS=2 /m MSIMQXJO /i "%~dp0OfficeModule_Installer_x64.msi"

Still nothing

When I try to run per-system attended

msiexec.exe ALLUSERS=2 /m MSIMQXJO /i "OfficeModule_Installer_x64.msi"

I get error message - Windows Installer Error - This installation package could not be opened. Verify the package exists and that you can access it, or contact your application vendor to verify that this is a valid Windows Installer package.

When I run the .msi manually/directly it installs successfully.

Do you know if I have script incorrect? I am using SCCM to deploy this packaged, just FYI. THANKS!

Thanks,

nimdatx
Avatar of Mohamed Osama
Mohamed Osama
Flag of Egypt image

cmd or MSIEXEC are running as administrator ? , or this is applied through GPO ?
Avatar of Jaime Campos

ASKER

running as administrator. I have admin rights and open cmd as administrator.
I think I figured it out. UAC was preventing it from running. I had to disable UAC. Is there a way to disable UAC on systems by batch file then turn on UAC back on? THANKS!
ASKER CERTIFIED SOLUTION
Avatar of Mohamed Osama
Mohamed Osama
Flag of Egypt 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