Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How do I detect installation result?


2 replies to this topic

icon_st

icon_st
  • Full Members
  • 4 posts

Posted 10 October 2007 - 15:05

I have a requirement where I need to launch setup.exe from another application. How do I detect whether setup.exe successfully installed the product or not?

Is there any way to detect user canceled the installation in between or installation failed?

This is installscript (non-MSI) setup.exe

Thanks
Shanti


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 15 October 2007 - 07:08

The rerturn values are documented in help topic "Setup.exe Return Values and Run-Time Errors (InstallScript Projects)"

icon_st

icon_st
  • Full Members
  • 4 posts

Posted 18 October 2007 - 15:31

I checked that page which says setup.exe returns 0x80042000 when setup is aborted by user (user cancellation). I tried this but I am receiving Exit Code 0 even if user cancels installation.