Solved

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

Posted on 2009-05-11
4
2,559 Views
Last Modified: 2013-12-12
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
Comment
Question by:error131
  • 2
4 Comments
 
LVL 57

Accepted Solution

by:
giltjr earned 500 total points
ID: 24357170
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
 

Author Comment

by:error131
ID: 24357212
That did it, somtimes the smallest things cause the hardest problems.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24357249
Just remove "MsiExec.exe /i " from the command
0
 

Author Closing Comment

by:error131
ID: 31580249
Thank You!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
If your app took Google’s lash recently, here are the 5 most likely reasons.
Viewers will learn how to use the Hootsuite Dashboard.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now