We created a plugin having a class that implements ICustomPackageAction,
In the Execute method, we write a Log file and throws exception. (Original logic will be implemented later)
In another package , we made an XML entry of the previously created package.
Unfortunately Package Action is not working when we double click on the new package (.tappackage) file.Log file is not created and package is getting installed.
When we tried to install the .tappackage from command line (tap package install) we can see package execution failed message also we can see log file is created, but still package got installed.
We dont need package to get installed when there is an exception in Execute method.
Or Please suggest any other way that package should not get installed based on conditions.
Please suggest the changes.
TapVersion : 9.11