Hi Hoover, The reason why I’m using custom action and calling command prompt and not RemoveFolderEx is because I need to:
Always delete the folder on uninstall (which will work with removeFolderEx) Delete conditionally on upgrade (i.e. I have modified the UI and provided a checkbox in InstallDirDlg providing the user an option to delete the data on upgrade). As far as I know RemoveFolderEx will work on install and uninstall but not for upgrade. Please correct me if I’m wrong. Thank you, Sharada Sent from Windows Mail From: Hoover, Jacob Sent: Tuesday, September 9, 2014 8:03 PM To: wix-users@lists.sourceforge.net Why reinvent the wheel? http://wixtoolset.org/documentation/manual/v3/xsd/util/removefolderex.html -----Original Message----- From: sharada boda [mailto:sharada.b...@outlook.com] Sent: Tuesday, September 09, 2014 6:29 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom action issue when msi is generated on Windows 8.1 and installed on Windows 8 or Windows 7 Hi, I'm calling a custom action on upgrade and delete of an application. The custom action essentially deletes certain folders (not part of the installation folder) using the command prompt. When the msi is generated on windows 7/ windows 8, and then launched either on windows 7/windows 8/windows 8.1 - the custom action works perfectly fine. But, when the msi is generated on windows 8.1 and launched on either windows 7 or windows 8 -- the folders are not being deleted. The same generated msi is working fine on other windows 8.1 systems. Please let me know how to address this issue. Regards, Sharpi. Sent from Windows Mail ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users