[wpkg-users] Help me please..

Stefan Pendl stefan.pendl.71 at gmail.com
Fri Jul 20 09:19:03 CEST 2012


Am 19.07.2012 14:10, schrieb Hamza K.:
> Hi,
> versiongreaterorequal dont work.
> I dont understand why he not check.
> if i change the revision he install the package but the old package is
> dont removed.
> example: Unlocker is installed with the version 1.9.0
>                i want the programm do a update to 1.9.1
> with the versiongreaterorequal that doesnt work.
> if i change the revision that work but he do install but no upgrade
> sry for my bad english im from germany. And why two checks dont work?
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <packages>
> <package id='unlocker' name='Unlocker' revision='%VERSION%'
> reboot='false' priority=''>
>
>    <variable name='PROGRAMMNAME' value='Unlocker'/>
>    <variable name='VERSION' value='1.9.1'/>
>    <variable name='ALTEVERSION' value=''/>
>    <variable name='ARCHITEKTUR' value=''/>
>    <variable name='KATEGORIE' value='System-Programme'/>
>    <variable name='INSTALLERPFAD' value='\\192.168.48.103\WPKG\Software'/>
>    <variable name='UNINSTALLERPFAD' value='"C:\Program
> Files\System\Unlocker %VERSION%\uninst.exe"'/>
>    <variable name='PROGRAMMPFAD' value='C:\Program Files\System\Unlocker
> %VERSION%'/>
>
>
>    <check type='uninstall' condition='versiongreaterorequal'
> path='Unlocker %VERSION%' value='%VERSION%'/>
>
>    <install
> cmd='"%INSTALLERPFAD%\%PROGRAMMNAME%\%PROGRAMMNAME%%VERSION%.exe" /S
> /D=%PROGRAMMPFAD%'/>
>    <install
> cmd='"C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\QuickStoresToolbar\unins000.exe"
> /SILENT'/>
>    <install cmd='%ComSpec% /C IF NOT EXIST
> "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen" md
> "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anwendungen"'/>
>    <install cmd='%ComSpec% /C IF NOT EXIST
> "C:\ProgramData\Microsoft\Windows\Start
> Menu\Programs\Anwendungen\%KATEGORIE%" md
> "C:\ProgramData\Microsoft\Windows\Start
> Menu\Programs\Anwendungen\%KATEGORIE%"'/>
>    <install cmd='%ComSpec% /C IF NOT EXIST
> "C:\ProgramData\Microsoft\Windows\Start
> Menu\Programs\Anwendungen\%PROGRAMMNAME%" MOVE
> "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\%PROGRAMMNAME%"
> "C:\ProgramData\Microsoft\Windows\Start
> Menu\Programs\Anwendungen\%PROGRAMMNAME%"'/>
>    <install cmd='%ComSpec% /C IF EXIST
> "C:\ProgramData\Microsoft\Windows\Start
> Menu\Programs\Anwendungen\%PROGRAMMNAME%" rd
> "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\%PROGRAMMNAME%"'/>
>
>    <upgrade include='%UNINSTALLERPFAD% /S'/>
>    <upgrade cmd='install'/>
>    <upgrade cmd='%ComSpec% /C md "C:\FUNKTIONIERT!"'/>
>
>    <remove cmd='%UNINSTALLERPFAD% /S'/>
>    <remove cmd='%ComSpec% /C rd"C:\ProgramData\Microsoft\Windows\Start
> Menu\Programs\Anwendungen\%PROGRAMMNAME%"'/>
>
> </package>
> </packages>
> Please Help me :(
> Hamza
>
>  > 2) cmd="" must be a real command that can be executed by the
>  > Windows shell
>  > 3) if you like to include any other package command you must use the
>  > include="" property
>  >

You haven't corrected the two errors mentioned above.

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

The above correction is still missing from your current package.

BTW, always reply to the list and not to individual users, so either hit 
"Reply All" (Allen Antworten) or "Reply List" (Liste Antworten), 
whichever your e-mail client supports.


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the wpkg-users mailing list