Archive: Execution of msi fails


Execution of msi fails
Hi,

I'm trying from my installer to install some prerequisites.
A .exe file is installing just fine but the problem is with a .msi installer.

I've used both these methods but neither works:
ExecWait '"msiexec" /i "Prerequisites\CRRedist2005_x86.msi"'
nsExec::Exec '"msiexec" /i "Prerequisites\CRRedist2005_x86.msi"'

In the first method, it gives me this error:
"The installation package could not be opened. Verify that the package exists..."
But the package is fine.

I've also tried adding /Passive, /quiet...
But if i use these with the first method or use the second method then the window installer for that package will appear for less then a second and then disappear.

Has anyone been in a similar situation or could anyone provide help?

Thank you.


Either specify the full path to the msi file or ensure the correct working directory is set with SetOutPath.

Stu


Ah ok.
Now i understood the problem.

Thank you.


Just so i don't create a new thread:
Will Installers created in NSIS work in both x86 and x64 architectures?
If yes, is there a way to automatically detect the architecture?


Check the included header x64.nsh


ok, thank you.