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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: wpkg-users@lists.sourceforge.net


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.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to