Archive: ExecWait problem


ExecWait problem
hi,
i tried to install .msi using nsis installer.the msi file is working indiuvally, but when i used in the script a "Prepareing to install" dialog is coming but not installing,i.e the ExecWait is not waiting.Could you please help me to resolve this?

Section "MainSection" SEC01
SetOutPath "$INSTDIR"
SetOverwrite try
ExecWait '"msiexec" /i "$INSTDIR\MCPInfo.msi" /passive'
File "D:\Build\MCPInfo.msi"
SectionEnd

Thanks,
Jai


My error code was 1619--- the problem was the .msi location path was wrong. I resolved it.

Thanks,
Jai


You were extracting the file after you tried executing it.