Hi,
Currently I am implementing a part of script which displays the $LastExitCode. I also want to include the name of the current CustomAction which it occured in. Is it possible to get the current customAction name from within its own script? We got around 50 custom actions, so this would be really helpfull.
I am looking for something like this :
if(!$?)
{
&write-output "The Last Exit Code of the custom action " $CustomActionName" is:" $LastExitCode
}
FOLLOW US
Get the latest news in Application Packaging