You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen similiar questions before but none of them could quite help me. I would like to catch if the user pressed the cancel button during install or afterinstall.
During AfterInstall a script creates new files which are not rollbacked when the user is pressing cancel (obviously since MSI won't be aware of them) - but how can I detect user cancellation?
I heard @oleg-shilo say to use the CustomUI template and use the onClick Event. But I am using ManagedUI with default dialogs that's why I am unsure how and if I can access the onClick event.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I've seen similiar questions before but none of them could quite help me. I would like to catch if the user pressed the cancel button during install or afterinstall.
During AfterInstall a script creates new files which are not rollbacked when the user is pressing cancel (obviously since MSI won't be aware of them) - but how can I detect user cancellation?
I heard @oleg-shilo say to use the CustomUI template and use the onClick Event. But I am using ManagedUI with default dialogs that's why I am unsure how and if I can access the onClick event.
I'd appreciate some help (:
Greetings
Finley
Beta Was this translation helpful? Give feedback.
All reactions