[wpkg-users] [Bug 262] New: Wrong variable apply order

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Tue Jan 10 09:53:59 CET 2012


http://bugzilla.wpkg.org/show_bug.cgi?id=262

           Summary: Wrong variable apply order
           Product: WPKG
           Version: other
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: config files
        AssignedTo: mangoo at wpkg.org
        ReportedBy: sash_kr at ukr.net
         QAContact: wpkg-users at lists.wpkg.org


Created attachment 230
  --> http://bugzilla.wpkg.org/attachment.cgi?id=230
wpkg-02-105-01.log

I've upgraded wpkg to new version 1.3.0.
And now, everyday,  I have calls from coworkers, which say that they can't see
their usb-storages (flash drive).

In my packages.xml I have this one package:

<package id="usb" name="Enable/Disable USB Mass Storage" revision="1"
reboot="false" priority="1">
    <!-- 4 - disable, 3 - enable -->
    <variable name="SET_USBSTOR" value="4" />
    <check type="registry" condition="equals"
path="HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR\Start"
value="%SET_USBSTOR%" />

        <install cmd='%comspec% /c reg add
HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d
%SET_USBSTOR% /f' />
    <upgrade cmd='%comspec% /c reg add
HKLM\SYSTEM\CurrentControlSet\Services\USBSTOR /v Start /t REG_DWORD /d
%SET_USBSTOR% /f' />
</package>

and in hosts.xml:
<host name="02-105-01" profile-id="finance">
    <variable name="SET_USBSTOR" value="3" />
    <variable name="SelectLibOffApps" value="" />
</host>


As said in http://wpkg.org/Variables
"In which order are they applied.
The level below another will overwrite the previous definition.
    operating system
    WPKG client
    package
    profile
    host"

See fragment of log file.

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



More information about the wpkg-users mailing list