• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2725
  • Last Modified:

Getting c:\windows\msiexec.exe is not a valid win32 application when trying to install an msi from a .bat file

I have a .msi package that I am trying to install via a .bat file. When I run the file on any machine it gives me the error: C:\WINDOWS\MSIEXEC.EXE Is not a valid Windows32 Application.
I have virus software turned off and am an administrator on the domain and the local machine.
Any thoughts would be helpful.
MsiExec.exe /i "\\server\mysoftware.msi" /qn SERIALNUMBER=xxxxx-xxxxxxx

Open in new window

0
error131
Asked:
error131
  • 2
1 Solution
 
giltjrCommented:
Not sure, but on the couple of PC's I checked msiexec.exe is in c:\windows\system32, not in c:\windows

You may want to make sure that a rouge/bad copy of msiexec.exe has not been placed in c:\windows.
0
 
error131Author Commented:
That did it, somtimes the smallest things cause the hardest problems.
0
 
Donald StewartNetwork AdministratorCommented:
Just remove "MsiExec.exe /i " from the command
0
 
error131Author Commented:
Thank You!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now