Windows Installer Rollback install directory files cleanup problem

rajeshkumar created the topic: Windows Installer Rollback install directory files cleanup problem
am facing problem in Windows Installer Rollback functionality using C#.net 2.0. I have created an installer class and it launches custom action [installer type] to create database and take user inputs for application settings (i override the install method to launch forms), If user wants to rollback I use InstallerException with custom message, but if I do so then in the install directory some tmp files [no. of files dependent on the forms object used in process] are not removed and these are supposed to be removed.

In the mentioned scenario I want to rollback in such a way that system should be restored to its initial state as it is requirement for Windows 7 logo certification. Any help in this regard will be highly appreciated.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me