No conditions, function just shows a messagebox. I was just testing to see if it would work.
Here it is:
export prototype MyFunction(HWND);
function MyFunction (hMSI)
begin
MessageBox ("InstallShield", INFORMATION);
return ERROR_SUCCESS;
end;
If put in the execute sequence after AppSearch it is just ignored.
If put in the UI execute sequence after AppSearch log looks like this:
=== Logging started: 1/23/2002 10:47:28 ===
Action start 10:47:28: ISVerifyScriptingRuntime.
Action ended 10:47:28: ISVerifyScriptingRuntime. Return value 1.
Action start 10:47:28: LaunchConditions.
Action ended 10:47:28: LaunchConditions. Return value 1.
Action start 10:47:28: FindRelatedProducts.
Action ended 10:47:28: FindRelatedProducts. Return value 1.
Action start 10:47:28: AppSearch.
Action ended 10:47:28: AppSearch. Return value 1.
Action start 10:47:28: TT.
1: RPC runtime reported exception 0x6ba
Action ended 10:47:29: TT. Return value 3.
1: Failed to launch action 'TT', error is 1603
=== Verbose logging stopped: 1/23/2002 10:47:29 ===