Hello guys,
Could you help me with such issue? -
In my installer I need to rollback some custom actions if user cancel installation.
What I'm doing -
1) Mark this action as deferred
2) Create rollback action for action from item 1 and place rollback action before usual custom action
All custom actions - are .NET custom actions.
My problem is -
When user cancels installation my rollback actions are not calling.
BUT -
For testing purposes I've created some custom action that is showing message box and after that return ActionResult.UserExit.
I place this action in install sequence. And after this action called my rollback action called too.
This is very strange because as far as I understand when user click "cancel" button and "yes" on cancel dialog this dialog returns the sane "UserExit" code, so why my rollback actions is not working in this way?
Please help.
Thanks in advance.
FOLLOW US
Get the latest news in Application Packaging