Archive: NSIS for starting MSI's?


NSIS for starting MSI's?
Folks,

I have created an NSIS installer which, among other things, starts up various preexisting MSI installers. I have done this like so:

ExecShell "" '"$INSTDIR\Pocket DermPACS.msi"'

but what I really want to do is:

ExecWait "" '"$INSTDIR\Pocket DermPACS.msi"'

However, for some reason, this command doesn't work: it doesn't start the MSI install.

I'd really appreciate some advice as to how to get ExecWait working or make it so that ExecShell will wait for completion before proceeding with the script.

Thanks very much in advance,

Matthew Fleming
DermVision


You probably want to call msiexec with the path as its parameters:

Exec `msiexec "$INSTDIR\Pocket DermPACS.msi"`

-Stu


Thanks much. This solves the problem.

BTW, has to be:

Exec `msiexec \i "$INSTDIR\Pocket DermPACS.msi"`