{"id":875,"date":"2017-12-02T05:31:21","date_gmt":"2017-12-02T05:31:21","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=875"},"modified":"2020-05-28T10:23:20","modified_gmt":"2020-05-28T10:23:20","slug":"windows-installer-rollback-install-directory-files-cleanup-problem","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/windows-installer-rollback-install-directory-files-cleanup-problem\/","title":{"rendered":"Windows Installer Rollback install directory files cleanup problem"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: Windows Installer Rollback install directory files cleanup problem<\/strong><br \/>\nam 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.<\/p>\n<p>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.<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[218,217],"class_list":["post-875","post","type-post","status-publish","format-standard","hentry","category-general","tag-file-cleanup","tag-installer-rollback"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=875"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions"}],"predecessor-version":[{"id":876,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/875\/revisions\/876"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}