Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I run the msiexec.exe with an msi file, it runs perfectly. The problem is that many install files are not msi's but exe's.

My question is: How can I run an exe file with the msiexec.exe command? If it's not possible, is there a way to convert the exe to msi properly?

Thank you very much,

Regards.

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

You cant run a exe with msiexec commands. You need to use supported commands for the exe you are deploying. Check out this site www.appdeploy.com/packages for info on switches for software.

Regards.

Todd

share|improve this answer
    
Yes, they are two different things. The exe may be a compressed package as SmallClanger pointed out with an MSI file inside. AppDeploy is a wonderful resource. –  sinping Nov 19 '10 at 13:46
    
Thank you! (Even if all the apps on appdeploy are not msi's :( ) –  Thierry Nov 19 '10 at 14:08
add comment

Grab 7-zip and extract the exe file. In some cases, the exe is just a wrapper around an msi file and you might be able to install that directly.

A lot of .exe installers are built with something other than MSI, though, so you might be out of luck.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.