[wpkg-users] versiongreaterorqual dont remove!

Hamza K. hamza.y at live.de
Tue Jul 31 11:48:43 CEST 2012


Hi i have a problem ,

with versiongreaterorequal i cant remove my packages he does nothing.

Package:

<?xml version="1.0" encoding="UTF-8"?>
<packages>
    <package id='unlockerx64' name='Unlocker' revision='%VERSION%' reboot='false' priority='0'>

        <variable name='PROGRAMMNAME' value='Unlocker'/>
        <variable name='VERSION' value='1.9.1'/>
        <variable name='ALTEVERSION' value=''/>
        <variable name='ARCHITEKTURI' value='x64'/>
        <variable name='ARCHITEKTUR' value=''/>
        <variable name='KATEGORIE' value='System-Programme'/>
        <variable name='INSTALLERPFAD' value='\\192.168.48.103\WPKG\Software'/>
        <variable name='PROGRAMMPFAD' value='C:\Program Files\System\Unlocker %VERSION%'/>
        <variable name='UNINSTALLERPFAD' value='%PROGRAMMPFAD%\uninst.exe'/>
        <variable name='REGISTRYKEY' value='HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Unlocker'/>

        <check type='uninstall' condition='versiongreaterorequal' path='Unlocker %VERSION%' value='%VERSION%'/>

        <install cmd='"%INSTALLERPFAD%\%PROGRAMMNAME%\%PROGRAMMNAME%-%VERSION%-%ARCHITEKTURI%.exe" /S /D=%PROGRAMMPFAD%'/>
        <install cmd='%ComSpec% /C md "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen"'>
            <condition>
                <check type="logical" condition="not">
                    <check type="file" condition="exists" path="C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen"/>
                </check>
            </condition>
        </install>
        <install cmd='%ComSpec% /C md "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen\%KATEGORIE%"'>
            <condition>
                <check type="logical" condition="not">
                    <check type="file" condition="exists" path="C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen\%KATEGORIE%"/>
                </check>
            </condition>
        </install>
        <install cmd='%ComSpec% /C rd "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen\%KATEGORIE%\%PROGRAMMNAME%" /S /Q'>
            <condition>
                <check type="file" condition="exists" path="C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen\%KATEGORIE%\%PROGRAMMNAME%"/>
            </condition>
        </install>
        <install cmd='%ComSpec% /C MOVE "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\%PROGRAMMNAME%" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen\%KATEGORIE%"'/>

        <upgrade include='remove'/>
        <upgrade include='install'/>

        <remove cmd='"%UNINSTALLERPFAD%" /S _?=%PROGRAMMPFAD%'/>
        <remove cmd='%ComSpec% /C rd "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen\%KATEGORIE%\%PROGRAMMNAME%" /S /Q'/>
        <remove cmd='%ComSpec% /C REG DELETE "%REGISTRYKEY%" /F'/>
        <remove cmd='%ComSpec% /C IF EXIST "%PROGRAMMPFAD%" rd "%PROGRAMMPFAD%" /S /Q'/>
    </package>
</packages>

Log File:
2012-07-31 11:42:56, DEBUG   : WPKG 1.3.0 starting...
2012-07-31 11:42:56, DEBUG   : Reboot-Cmd is standard.
2012-07-31 11:42:56, DEBUG   : Base directory is '\\192.168.48.103\wpkg'.
2012-07-31 11:42:56, DEBUG   : Log level is 255
2012-07-31 11:42:56, DEBUG   : Trying to read XML files from directory: \\192.168.48.103\wpkg\profiles
2012-07-31 11:42:56, DEBUG   : Reading XML file: //192.168.48.103/wpkg/profiles/profiles.xml
2012-07-31 11:42:56, DEBUG   : Reading XML file: //192.168.48.103/wpkg/profiles.xml
2012-07-31 11:42:56, DEBUG   : Trying to read XML files from directory: \\192.168.48.103\wpkg\hosts
2012-07-31 11:42:56, DEBUG   : Reading XML file: //192.168.48.103/wpkg/hosts/host.xml
2012-07-31 11:42:56, DEBUG   : Reading XML file: //192.168.48.103/wpkg/hosts.xml
2012-07-31 11:42:56, DEBUG   : Trying to read XML files from directory: \\192.168.48.103\wpkg\packages
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/7-Zip-x64.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/7-Zip-x86.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Dia.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/FreeFileSync.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Freeplane(Java muss vorinstalliert sein).xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/GanttProject.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Inkscape.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/IrfanView.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Java-x64.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Java-x86.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/LibreCAD.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Mozilla Firefox.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Neu1.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/PDF-XChange Viewer.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/PDFCreator.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/PSPad.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Paint.NET-x64.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Paint.NET-x86.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Scribus.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/TortoiseSVN-x64.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/TortoiseSVN-x86.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/UnLocker.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Unlocker-x64.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/Unlocker-x86.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/VirtualCloneDrive.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/XenCenter.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages/windream-x86.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: //192.168.48.103/wpkg/packages.xml
2012-07-31 11:42:57, DEBUG   : Reading settings file: C:\Windows\System32\wpkg.xml
2012-07-31 11:42:57, DEBUG   : Reading XML file: C:/Windows/System32/wpkg.xml
2012-07-31 11:43:01, DEBUG   : Host operating system: microsoft windows 7 professional, , sp1, 6.1.7601
2012-07-31 11:43:02, DEBUG   : Found network service: {7F0C2271-1D93-43E1-A194-B96C0479F68A}
2012-07-31 11:43:02, DEBUG   : Reading DHCP address.
2012-07-31 11:43:02, DEBUG   : Found DHCP address: 0.0.0.0
2012-07-31 11:43:02, DEBUG   : Found network service: {FFF2053A-97EF-4F93-A5F4-4868EDDEE355}
2012-07-31 11:43:02, DEBUG   : Reading DHCP address.
2012-07-31 11:43:02, DEBUG   : Found DHCP address: 192.168.48.108
2012-07-31 11:43:03, DEBUG   : Not a domain member.
2012-07-31 11:43:04, DEBUG   : Message: Unable to fetch computer membership groups. Probably not a domain member.
2012-07-31 11:43:04, DEBUG   : Found user locale: 407
2012-07-31 11:43:04, DEBUG   : Found system locale: 407
2012-07-31 11:43:04, DEBUG   : Host properties: hostname='vdd-vmx06-vm04'|architecture='x64'|os='microsoft windows 7 professional, , sp1, 6.1.7601'|ipaddresses='0.0.0.0,192.168.48.108'|domain name=''|groups=''|lcid='407'|lcidOS='407'
2012-07-31 11:43:04, DEBUG   : Profiles applying to the current host:|PC1|
2012-07-31 11:43:04, DEBUG   : Getting profiles which apply to this node.
2012-07-31 11:43:04, DEBUG   : Initializing new log file: 'C:\Windows\TEMP\wpkg-vdd-vmx06-vm04.log' in replace mode.
2012-07-31 11:43:04, DEBUG   : Applying profile: PC1
2012-07-31 11:43:04, DEBUG   : Reading variables from hosts[s]
2012-07-31 11:43:04, DEBUG   : Reading variables from host: name='VDD-VMX06-VM04',profile-id='PC1'
2012-07-31 11:43:04, DEBUG   : Synchronizing. Number of packages referenced by profile: 0.
2012-07-31 11:43:04, DEBUG   : Evaluating packages to be removed.
2012-07-31 11:43:04, DEBUG   : Number of packages to remove: 0

Yes...  does nothing.

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120731/65e4f2e9/attachment-0001.html>


More information about the wpkg-users mailing list