<div><span class="gmail_quote">On 9/4/09, <b class="gmail_sendername">Rainer Meier</b> <<a href="mailto:r.meier@wpkg.org">r.meier@wpkg.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> We already know that especially on Windows Vista and newer we have troubles with<br> the logon delay feature. Including such actions into wpkg.js seems not to be a<br> good idea; I prefer wpkg.js to be as stable and reliable as possible and leaving<br>
such "fancy" stuff up to tools invoking wpkg.js. In case of failure or changes<br> on OS/System level there is much less impact and lots of possibilities for<br> work-around to get the core working.<br></blockquote>
</div><br>What about implementing some sort of an "event-hook notification" functionality where wpkg.js could call functions located in separate JS file(s) (if available), so that custom solutions could be used. For example, when wpkg.js detects that changes (whether installation, upgrades, or removal) need to be made to the system, it could call the appropriate pre-determined function in the external JS file. This external JS function could then perform any kind of action, including using a custom message solution to let the user know what's going on. If none of these "event hook" external JS files are found or the callback functions themselves are not found, then wpkg.js would just continue on as normal.<br>