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

           Summary: make wpkg.js operating system aware
           Product: WPKG
           Version: 0.9.6-test2
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: wpkg.js
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]


I have a many computers that dual boot Windows 98 and Windows XP.  Windows XP
sets the environment varible %OS% to "Windows_NT".  With this modification,
wpkg.js will match "os" in hosts.xml if it is there.  Example:

    <host name="Bigbird" profile-id="Bigbird-WinXP" os="Windows_NT" />
    <host name="Bigbird" profile-id="Bigbird-Win98" />

Note that an os specific entry must precede a non-os specific entry for this to
work!!

Test this by running on an XP machine:

\\server\pathToWPKG\wpkg.js /synchronize /dryrun /debug

then in hosts.xml change os="Windows_NT" to os="garbage" and rerun above
command.  Notice a different profile selection based on the os matching.

I will include the patch as an attachment.

-- 
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.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to