[wpkg-users] How to synchronize wpkg settings file

Ronnie Carlos Tavares Nunes ronnie.carlos at dprf.gov.br
Mon Apr 14 14:29:39 CEST 2008


Hi all,

I'm dealing with the following situation: I was using the package above 
to install adobe reader:

<package id="adobereader" name="Acrobat Reader8" revision="810" 
reboot="false" priority="2">
        <depends package-id="ie6"/>
        <depends package-id="msi"/>
        <check type="file" condition="versionequalto" 
path="%PROGRAMFILES%\Adobe\Reader 8.0\Reader\AcroRd32.exe" 
value="8.1.0.137"/>
        <install cmd="%SOFTWARE%\adobereader\setup.exe">
            <exit code="0"/>
            <exit code="0" reboot="true"/>
        </install>
        <remove cmd="MsiExec.exe /q 
/x{AC76BA86-7AD7-1046-7B44-A80000000002}"/>
        <upgrade cmd="%SOFTWARE%\adobereader\setup.exe">
            <exit code="0"/>
            <exit code="0" reboot="true"/>
        </upgrade>
    </package>

Now, I changed to another one, with new version of adobe:

<packages>
    <package
        id="adobereader"
        name="Acrobat Reader8"
        revision="812"
        reboot="false"
        priority="2">
        <depends package-id="ie6"/>
        <depends package-id="msi"/>
 <check type="file" condition="versionequalto" 
path="%PROGRAMFILES%\Adobe\Reader 8.0\Reader\AcroRd32.exe" 
value="8.1.0.137" />
  <install cmd='%SOFTWARE%\adobereader\AdbeRdr812_pt_BR.exe /sPB /rs /l 
/msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES 
SUPPRESS_APP_LAUNCH=YES"' />
  <install cmd='cmd /d /c del /q /f "%ALLUSERSPROFILE%\Menu 
Iniciar\Programas\Inicializar"\*.lnk' />
  <install cmd='regedit /s "%SOFTWARE%\adobereader\registryMods.reg"' />
  <remove cmd="MsiExec.exe /q /x{AC76BA86-7AD7-1046-7B44-A70500000002}" />
  <upgrade cmd='%SOFTWARE%\adobereader\AdbeRdr812_pt_BR.exe /sPB /rs /l 
/msi"/qb-! /norestart /log c:\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES 
SUPPRESS_APP_LAUNCH=YES"' />

</package>

The problem is: I increased the revision of the package and wpkg is 
trying to execute the upgrade command of the wpkg settings file on the 
machine (c:\windows\system32\wpkg.xml), not the server one. I'd like to 
synchronize the server wpkg settings file with wpkg clients, so every 
client will execute the new upgrade command, not the old one.

Any ideas?

Thanks in advice,

Ronnie.




More information about the wpkg-users mailing list