Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Problem using MSIEXEC


1 reply to this topic

Jim Bassett

Jim Bassett
  • Members
  • 22 posts

Posted 10 September 2004 - 14:59

I am trying to use MSIEXEC inside code or from the command line to install an application located on a web site and running into problems. Below is the command line I am using.

msiexec /i "http://216.138.96.210/SWDepartment/OBET/LatestReleases/WPCE/Setup.exe"

If I place the URL into the IE browser it runs fine

http://216.138.96.21.../WPCE/Setup.exe

The error message I am getting is:

"This installation package could not be opened. Contract the application vendor to verify that this is a valid windows installer package"

What am I doing wrong?



Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 10 September 2004 - 15:32

msiexec.exe does not accept EXE files, you should feed it an MSI file or a MSP file. The setup.exe most setups come in is a wrapper the installs prerequisites needed for the main MSI to install correctly.
Regards
-Stein Åsmul