Hello,
I have to write an cpp file based on that i.e, if cpp file returns failure, I want to abort the installation. Can you please give a simple example how to do this?
Custom actions are actions entirely defined by the user. They can be
executable files,
dynamic linked libraries, Visual Basic scripts or JavaScript files.
In order to create integrate and debug custom actions, please take a look on our
Options to integrate and debug custom actions article with related information for hints and guidance.
I have tried, created and exe from visual studio that exe file will return failure and I added that exe file in AD custom action and I have checked the "Fail installion if custom action returns an error" but I have got an popup, I have attached the image PFA.
Please take a look on the
Logging of Action Return Values article for more details.
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging