Veerugadde
27th July 2007 21:38 UTC
problem with embedded installer
Hello,
The installer which i tried is installing msi package.During the installation time the msi package is downloading on output path specified for the nsis installer.The problem is that i should not allow the msi package to download on output path specified for client system.
Can i allow to extract to temp folder and delete the folder after the completion of MSI installation process? Please give me some ideas as how to achieve the required approach
Thanks alot.
Veerugadde
27th July 2007 22:23 UTC
Thanks lot. I sorted it out but got stuck with as how to determine that msi installation is completed successfully with out user interruption. The user may cancel the msi installation process which i need to show as unsuccessful attempt to the user.Please share your ideas on the approach.
Thank you
Trexian
28th July 2007 05:03 UTC
Does the msi installation create any registry entries?
After you execute the msi, check for the registry entries, if they aren't there, have it show an error/unsuccessful attempt?
Also check for the existence of some select files that show the msi finished properly.
G'luck.
Afrow UK
28th July 2007 10:38 UTC
If you use Exec to run the MSI, add $R0 to the end:
Exec "path" $R0
If you use nsExec, Pop $R0 afterwards.
You will find that $R0 is 0 on success and any other value is a failure.
Stu