> 
> Hi Stefan,
> 
> On 20.07.2011 23:16, Stefan Pendl wrote:
> > Seems host matching is now broken:
> >
> > <host name="VM-.+" profile-id="VirtuelleRechner" />
> >
> > Results in the attached log.
> 
> I have tested with the same regular expression and here it 
> works for me. Would 
> you mind providing your hosts files:
> - hosts/Hosts_PhysikalischeRechner.xml
> - hosts/Hosts_VirtuelleRechner.xml
> - hosts.xml
> 
> br,
> Rainer

I have done some further tests using dryrun, see attached log and profiles.

---
Stefan
Microsoft (R) Windows Script Host, Version 5.8
Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.

Reboot-Cmd is standard.
Initialized temporary local log file: 
C:\Users\Stefan\AppData\Local\Temp\wpkg-logInit.log
Initializing new log file: C:\Users\Stefan\AppData\Local\Temp\wpkg-satellite.log
WPKG 1.2.1-RC4 starting...
Base directory is 'C:\Users\Stefan\Downloads\WPKG\WPKG Server'.
Log level is 255
Trying to read XML files from directory: C:\Users\Stefan\Downloads\WPKG\WPKG 
Server\profiles
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/profiles/Profile_DesktopPC.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/profiles/Profile_PhysikalischeRechner.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/profiles/Profile_VirtuelleRechner.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG Server/profiles.xml
Trying to read XML files from directory: C:\Users\Stefan\Downloads\WPKG\WPKG 
Server\hosts
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/hosts/Hosts_PhysikalischeRechner.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/hosts/Hosts_VirtuelleRechner.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG Server/hosts.xml
Trying to read XML files from directory: C:\Users\Stefan\Downloads\WPKG\WPKG 
Server\packages
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_AdobeFlashPlayer.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_AdobeReader.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_AutoScreenRecorder.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_CitrixClient.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_Firefox.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_Hardcopy.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_JavaJRE.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_MyDefrag.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_NotepadPlusPlus.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_OpenOffice.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_PaintNET.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_PDFcreator.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_ResourceKitTools.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_SevenZip.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_SysinternalsSuite.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_UltraDefrag.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_VLCplayer.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_WinMerge.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG 
Server/packages/package_WpkgClient.xml
Reading XML file: C:/Users/Stefan/Downloads/WPKG/WPKG Server/packages.xml
Host operating system: microsoft windows 7 home premium, , sp1, 6.1.7601
Found network service: {8AA1A9CF-29DF-4FD9-AAD8-0389C74D1A00}
Reading DHCP address.
Found DHCP address: 0.0.0.0
Found network service: {543E001D-B802-48CD-B129-6B489AC76247}
Reading fixed IP address(es).
Error reading fixed IP address(es).
Found network service: {9B4F0FD2-FCB6-4DBB-A999-3F75A8BD0EC4}
Reading DHCP address.
Found DHCP address: 0.0.0.0
Not a domain member.
Message: Unable to fetch computer membership groups. Probably not a domain 
member.
Found system locale: c07
Host properties: hostname='satellite'
architecture='x64'
os='microsoft windows 7 home premium, , sp1, 6.1.7601'
ipaddresses='0.0.0.0,0.0.0.0'
domain name=''
groups=''
lcid='c07'
Single-match mode. Host match finished.
Profiles applying to the current host:
PhysikalischeRechner

Reading settings file: C:\Windows\System32\wpkg.xml
Reading XML file: C:/Windows/System32/wpkg.xml
Hosts file contains 1 hosts:
'name=SATELLITE','profile-id=PhysikalischeRechner'
Settings file contains 31 packages:
'SevenZip'
'SevenZipFileAssoc'
'AdobeReader10'
'AdobeFlashPlayer'
'CitrixClient'
'AddblockPlus'
'Brief'
'CheckPlaces'
'DownThemAll'
'Firebug'
'PDFDownload'
'SQLiteManager'
'SortPlaces'
'FirefoxExtensions'
'JRE6'
'Firefox'
'NotepadPlusPlus'
'NotepadPlusPlusDocMonPlugin'
'NotepadPlusPlusPlugins'
'NotepadPlusPlusTextFXPlugin'
'NotepadPlusPlusXMLToolsPlugin'
'NotepadPlusPlusXMLToolsExtLibs'
'PDFCreator'
'PaintNET'
'SysinternalsSuite'
'UltraDefrag'
'UltraDefragConfig'
'UltraDefragEnable'
'VLCplayer'
'WpkgShortcut'
'WinMerge'
Packages file contains 1 packages:
'AdobeFlashPlayer'
Profile file contains 1 profiles:
'DesktopPC'
Using profile(s):
'PhysikalischeRechner'
Message:      Could not locate referenced profile(s):
PhysikalischeRechner

Description:  Could not locate referenced profile(s):
PhysikalischeRechner

Error number: NaN
Stack:        undefined
Line:         undefined

Found language definition node for language ID c07
User notification suppressed. Message: Die Software-Installation ist 
fehlgeschlagen.
<?xml version="1.0" encoding="UTF-8"?>

<!-- System profile database.

     Lists profiles available to the systems. A profile represents a certain
     selection of packages from the packages database. Profiles can depend on
     other profiles, the end result being the sum of all required packages.
     
     THIS IS A SAMPLE FILE
     
     For more info, see http://wpkg.org/index.php/Category:Documentation

-->

<profiles>

<!--     <profile id="default">
        <package package-id="firefox" />
        <package package-id="thunderbird" />
    </profile>
  
    <profile id="custom">
        <depends profile-id="default" />
        <package package-id="openoffice" />
    </profile>

    <profile id="administration">
        <depends profile-id="default" />
        <package package-id="openoffice" />
        <package package-id="acrobat7" />
    </profile>

    <profile id="other">
        <depends profile-id="default" />
        <package package-id="openoffice" />
    </profile>
 -->

</profiles>
<?xml version="1.0" encoding="UTF-8"?>

<profiles
        xmlns:xsi="http://www.wpkg.org/profiles";
        xsi:noNamespaceSchemaLocation="../xsd/profiles.xsd" >

    <profile id="DesktopPC">
        <package package-id="AdobeFlashPlayer" />
        <package package-id="AdobeReader9"     os="5\.0\.[0-9][0-9][0-9][0-9]"/>
        <package package-id="AdobeReader10"    os="5\.[1-9]\.[0-9][0-9][0-9][0-9]|6\.[0-9]\.[0-9][0-9][0-9][0-9]"/>
        <package package-id="CitrixClient"     os="5\.[1-9]\.[0-9][0-9][0-9][0-9]|6\.[0-9]\.[0-9][0-9][0-9][0-9]"/>
        <package package-id="FirefoxExtensions" />
        <package package-id="JRE6" /> 
        <package package-id="NotepadPlusPlusPlugins" />
        <package package-id="PaintNET"         os="5\.[1-9]\.[0-9][0-9][0-9][0-9]|6\.[0-9]\.[0-9][0-9][0-9][0-9]"/>
        <package package-id="PDFCreator"/>
        <package package-id="ResourceKitTools" os="5\.[1-9]\.[0-9][0-9][0-9][0-9]"/>
        <package package-id="SevenZipFileAssoc" />
        <package package-id="SysinternalsSuite" />
        <package package-id="UltraDefragEnable" />
        <package package-id="VLCplayer" />
        <package package-id="WinMerge" />
        <package package-id="WpkgShortcut" />
    </profile>
</profiles>
<?xml version="1.0" encoding="UTF-8"?>

<profiles
        xmlns:xsi="http://www.wpkg.org/profiles";
        xsi:noNamespaceSchemaLocation="../xsd/profiles.xsd" >

    <profile id="PhysikalischeRechner">
        <depends profile-id="DesktopPC"/>
    </profile>
</profiles>
<?xml version="1.0" encoding="UTF-8"?>

<profiles
        xmlns:xsi="http://www.wpkg.org/profiles";
        xsi:noNamespaceSchemaLocation="../xsd/profiles.xsd" >

    <profile id="VirtuelleRechner">
        <depends profile-id="DesktopPC"/>

        <package package-id="AutoScreenRecorder"/>
        <package package-id="Hardcopy"     os="5\.[1-9]\.[0-9][0-9][0-9][0-9]"/>
        <package package-id="HardcopyOld"  os="5\.0\.[0-9][0-9][0-9][0-9]"/>
        <package package-id="MyDefrag"/>
        <package package-id="OpenOffice3"/>
        <package package-id="ProcExpLink"  os="5\.[1-9]\.[0-9][0-9][0-9][0-9]|6\.0\.[0-9][0-9][0-9][0-9]"/>
        <package package-id="UltraDefragShortcuts"/>
        <package package-id="WpkgSettings"/>
        <package package-id="WpkgTestSuiteCommandPromptShortcut"/>
        <package package-id="WpkgTestSuiteShortcut"/>
    </profile>
</profiles>
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to