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

InstallScript Custom Action


3 replies to this topic

jenabe

jenabe
  • Members
  • 13 posts

Posted 15 March 2001 - 21:05

Simple question:

What do I have to return in my script to inform the custom action of a 'failure'?


jenabe

jenabe
  • Members
  • 13 posts

Posted 15 March 2001 - 21:08

PS - return ERROR_INSTALL_FAILURE; doesn't seem to be cutting it. I have no idea why.

SteveP

SteveP
  • Members
  • 126 posts

Posted 16 March 2001 - 02:01

Your options are somewhat limited.  Check the article "Custom Action Return Values" from the Windows Installer SDK.  ERROR_SUCCESS = 0.  I am not sure what the other integer values are, but these are the only return codes that will be recognized.