Basically it just stops what it's doing, well what about the stuff it might have already installed? My installer installs stuff to the temp directory, etc; etc. Is there way to do a list of actions on a cancel?
Announcement
Collapse
No announcement yet.
What if they hit cancel during installation?
Collapse
X
-
Re: What if they hit cancel during installation?
No, I'm sorry, there is no way to detect whether the user cancelled the installation.
One thing you may want to try is wrapping your installation with another that launches it. You could then maybe write out a value to an INI file, or the Registry in your wrapper install and then in your main install inside, modify that value at the end. When it comes back to the wrapper install, you could check to see if that value was modified and if it wasn't you would assume that the user cancelled and some cleanup needs to take place.
I don't know if that would work or not, but something to think about.
Comment