http://bugzilla.wpkg.org/show_bug.cgi?id=241 Malte Starostik <malte at malte.homeip.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |malte at malte.homeip.net Resolution|FIXED | --- Comment #3 from Malte Starostik <malte at malte.homeip.net> --- For most (all?) NSIS installers, there's a cleaner way: when called like "%PATH_TO%\uninstall.exe" _?=%PATH_TO% (note: there MUST NOT be quotes around what follows _?=, even if %PATH_TO% contains quotes) the uninstaller will not spawn another process and run synchronously instead. This saves a too long wait in many cases and fixes race conditions with longer-running uninstallers. The downside is that after the uninstaller has been run, its corpse will still be around, so the WPKG package is responsible for cleaning up the mess: conservatively: cmd /c del "%PATH_TO%\uninstall.exe" && rmdir "%PATH_TO%" or radically: rmdir /s /q "%PATH_TO%" Iff needed, I can wrap this up as a patch tomorrow. Hope it's okay to reopen as I think this is a rather useful enhancement for both stability and speed of NSIS uninstallation. Regards, Malte -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. |