If you get to Apply() then you need to return Result.Cancel from one of the callbacks before apply phase is complete to cause rollback.
On Wed, Apr 10, 2013 at 2:41 PM, ptr <ptrajku...@gmail.com> wrote: > hey all > > I have a custom managed boostrapper that installs .NET4 framework as a > prereq. Let's call this OurProductWix.exe. > > Now we have old installshied based installers , let's call it > OurProductSheild.exe > > Now consider this workflow > > 1) User has OurProductShield.exe already installed. > 2) User launches our new OurProductWix.exe > 3) .NET4 framework is installed. > 4) My custom WPF BA runs and I detect OurProductShield.exe and prompt the > user to quit my installation and uninstall our old product from AddRemove > programs. > 5) User follows directions and cancels out of my BA and uninstalls > OurProductShield.exe > 6) User launches OurProductWix.exe again but it errors out because I detect > that my bundle is installed. > > This is happening because in step 3) .NET4 is installed successfully by > OurProductWix.exe. > > What I want to do is at step 5 somehow cancels the whole installation so > that there is no error in step 6. > > Thanks in advance > Raj > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users