Gerd Ott schrieb: > Yes, it works without a "execute before script" ! > (Even if there is an eventlog "error" saying "Starting WPKG on shutdown") Yeah, it will be fixed (wrongly categorized as error). > I had as well a script running "execute before", which was just > updating the wpkg-settings. ("%PROGRAMFILES%\WPKG\wpkginst.exe" > --SETTINGSFILE=\\server\share\settings.xml) > > After changing this to "execute after" the script doesn't start > anymore with an eventlog error "CreateProcess-> System can't find the > path..." Perhaps because the shutdown process has already disabled > network connections. No, the network should be enabled if the service is still running. The error must lie somewhere else. You may put it as a package for wpkg.js (wpkg_settings.xml?), or better yet, figure out why it doesn't work ;) -- Tomasz Chmielewski http://wpkg.org |