- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Mar 28, 2008
09:32 AM
Using custom rules with installation log
Does anyone know if it's possible to log messages from a custom installer rule? In addition, when using a custom installer rule (Project->Rules) that evaluates to false and logging is enabled, the installation fails as expected but a STATUS: SUCCESSFUL message is reported in the installation log. Is this the intended behavior? Thanks.
2 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Mar 28, 2008
09:58 AM
CustomError error =(CustomError) ip.getService(CustomError.class);
error.setLogDescription("ExecuteCommand");
error.appendError(cmd, CustomError.ERROR);
error.log();
error.setLogDescription("ExecuteCommand");
error.appendError(cmd, CustomError.ERROR);
error.log();
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Mar 28, 2008
10:22 AM
I appreciate the response. I've tried that without success. From my readings, access to that class is only available from InstallerProxy, CustomCodePanelProxy, and CustomCodeConsoleProxy objects, not from a CustomCodeRuleProxy.
