Don't use self registration, use the registry keys in the MSI Registry table. Then it works, and you don't need to worry about a custom action.
-----Original Message----- From: dpflan [mailto:dpflann...@gmail.com] Sent: Monday, August 04, 2014 12:13 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Ensure Uninstall When Needed Files are Deleted by User My MSI will install a dll and an exe. The dll will self-register. The exe is run by a custom action with a command-line parameter to perform registration and update the registry. The exe can take a command-line parameter to unregister itself and remove references in the registry. How do I ensure that uninstallation can still succeed - including unregister via the EXE and unregistering of the DLL - if the user has deleted the files? I would like to make an uninstall package as part of the MSI that has a backup version of the files an merely run uninstall via this package and remove the files on disk. What are some good approaches for dealing with this issue? Best, Dan -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Ensure-Uninstall-When-Needed-Files-are-Deleted-by-User-tp7596209.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users