[wpkg-users] [Bug 97] wpkg trapped in a loop after unplanned reboot during uninstall

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Sat Feb 16 21:43:18 CET 2008


http://bugzilla.wpkg.org/show_bug.cgi?id=97





--- Comment #7 from Rainer Meier <skybeam at users.sourceforge.net>  2008-02-16 21:43:15 ---
I don't think this would lead to any reliable implementation. Intercepting
reboot requests from child processes is not a good idea from my point of view.

This is clearly an issue of the package, not WPKG nor is it to be handled in
WPKG GUI.

It would be a different story if WinSCP would pass a dedicated exit code to
WPKG which indicates a reboot but it is simply initiating a hard reboot by
itself. I don't know of any way to catch such a reboot request in any reliable
way from JScript to "translate" it to a package reboot on WPKG level. If
anybody knows a very reliable way which is well documented by Microsoft within
the JScript API we can discuss it. But as long as there is no clean solution I
stick to the proposal of fixing the package instead by adding the /NOREBOOT
flag.


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list