I want to rollback an installation Programmatically using C#.

Please read - How to cancel installation programmatically?

commented: Always with the quick link that fits :) +1

Thanx adatapost for this link.
I read it but i didnt find any solution.
I need to call a form during the commit phase of the installation.
So i add a primary output of my project in the commit phase.
Now if any error occurs i want to do rollback of the installation from my project's form.
How can i do this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.