[wpkg-users] [Bug 59] New: reboot with logon delay does not work

bugzilla-daemon at wpkg.org bugzilla-daemon at wpkg.org
Thu Feb 22 12:04:47 CET 2007


Please reply using this URL only: http://bugs.wpkg.org/show_bug.cgi?id=59

           Summary: reboot with logon delay does not work
           Product: WPKG installer
           Version: 0.90
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WPKG installer
        AssignedTo: mangoo at mch.one.pl
        ReportedBy: mh at financial.com
         QAContact: wpkg-users at lists.wpkg.org


from wpkg mailing list:

Hi,

atm I am playing around with wpkg-installer and I've seen some strange
behaviour. If I install a package which has reboot=true set and in
settings.xml logon-delay is not set it works fine. After installation of
the package the system reboots.
But if I set logon-delay e.g. to 30 the system doesn't reboot after
installation. Has anyone seen this behaviour too?

Thanks,
Marc


Ok.. did some more digging..

I use /synchronize /quiet for my switches on wpkg.js

After reviewing the event logs, I've got the following entries
WSH "Exit code ...  This exit code requires an immediate reboot."
WSH "System reboot in progress!"
WSH "There were the following errors...."
WPKGService "Script execution: successfully done"
WPKGService "Script post execution: successfully done"
WPKGService "Network resource: successfully disconnected"


The remainder are of windows loading my profile, etc... when I log in..
So, it seems as though the reboot command isn't running correctly if the 
logon is delayed.  Maybe there's some check and if the machine is still 
booting a reboot won't occur?? I'm not sure.. Maybe we can insert a 
short ( 20 second ) reboot delay using the stock windows shutdown 
command like:
shutdown.exe /r /t 20 /c "Reboot required"

I'll do some more checking..
Michael

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






_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list