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

Contion on Custom Action


3 replies to this topic

Eric

Eric
  • Members
  • 11 posts

Posted 14 February 2001 - 15:32

I create a condition on a custom action.
When this condition is false during the installation, an error message appear and the installation is stopped without do a rollback.

I would like that my condition is false, the custom action doesn't execute but the installation continues.
How do it this ?

Thanks.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 February 2001 - 20:10

I guess that the installation aborts for some other reason (maybe the CA sets some value that is required later on?)

Art McKendry

Art McKendry
  • Members
  • 9 posts

Posted 15 February 2001 - 23:56

Click on the Custom Action then use the wizard to re-configure it.  At some point there is an "Ignore Custom Action Return Code"  Make sure this is checked.  Now your Custom action can internally set a value that can be used for conditional components or features.  The install should now continue regardless of the Custom Action return code.