Archive: ExecWait with .msi file


ExecWait with .msi file
  Hello

ExecWait only works with an exe file?

ExecWait '"$INSTDIR\someprogram.exe"' works fine but ExecWait '"$INSTDIR\someprogram.msi"' doesnt work
Why?

TIA


Please try a search before posting a question.

This question has been asked (and answered) a dosen times.


Thank for your help.
If its more easy to you write this stupid answer against help me, thanks a lot


.msi files are not executables, they are essentially a file type and association to msiexec.exe - calling it that way won't work.

A better way to do it is to call it like this (VisualC 8 runtime in this case):


ExecWait 'msiexec /i "$INSTDIR\\vcredist.msi" /passive' $0 

>
If you want to know more options for msiexec, do a Start... Run... "msiexec.exe /?"

Thanks a lot CrushBug, this works fine to me
Thanks for your time