PDA

View Full Version : How to Detect if Installation of a Package Canceled in Suite



rguggisberg
12-30-2015, 05:18 PM
I have a Suite project that installs 4 packages. How do I detect if the user 'Cancels' out of one of them? ISInstallStatus gets set to IDS_SUITE_INTERRUPTED; but that does not get set until the very end of the Suite. I need to know sooner than that because I want to put conditions on some things that I do in 'OnPackagesConfigured' (after packages are installed... or canceled).

I got a log and I don't see anything in there that I could use.
Thanks for any ideas!

DLee65
01-05-2016, 01:10 PM
I believe you need to just configure a Detection condition for the package and if it is not true after the package installs, then the setup should stop.

rguggisberg
01-06-2016, 01:44 PM
Thanks Dan... Sounds good. I will give that a try.