[wpkg-users] Acrobat 10.1.6 Update

Stefan Pendl stefan.pendl.71 at gmail.com
Thu Apr 18 21:55:01 CEST 2013


Am 18.04.2013 18:37, schrieb Lonney:
> Have you looked at http://wpkg.org/Adobe_Acrobat_Professional_9 and
> under the section "Acrobat 9 installed and updated by wpkg"
>
> This might give you a start.. That example is what I arrived at (and
> added to the wiki). I found the others - which are still there above
> it, did not work reliably for me.
>

I am using the one below, since Adobe Reader is smart enough to just 
skip updates it doesn't need.


'---code start (watch for line wraps)

<package id="AdobeReader10" name="Adobe Reader 10" revision="%PKG_VER%" 
reboot="false" priority="10">
     <variable name="PKG_NAME"      value="AdobeReader10" />
     <variable name="PKG_VER"       value="10.1.6" />
     <variable name="PKG_VER_MAIN"  value="10000" />
     <variable name="PKG_VER_START" value="10001" />
     <variable name="PKG_VER_END"   value="10006" />
     <variable name="PKG_LNG"       value="en_US"/>
     <variable name="PKG_LNG"       value="de_DE" 
lcid="407,c07,1407,1007,807" />
     <variable name="PKG_ATT"       value="EULA_ACCEPT=YES 
SUPPRESS_APP_LAUNCH=YES AgreeToLicense=Yes ENABLE_CACHE_FILES=No 
ALLUSERS=1" />

     <check type="uninstall" condition="versiongreaterorequal" 
path="Adobe Reader .+" value="%PKG_VER%" />

     <install cmd='MsiExec.exe /norestart /passive /log 
"%TMP%\%PKG_NAME%.log" /i "%SOFTWARE%\Adobe 
Reader\AdbeRdr%PKG_VER_MAIN%_%PKG_LNG%.msi" %PKG_ATT% ' >
         <exit code="3010" reboot="false"/>
     </install>
     <install cmd='%ComSpec% /c for /l %V in 
(%PKG_VER_START%,1,%PKG_VER_END%) do @for %F in ( AdbeRdrUpd%V 
AdbeRdrSecUpd%V) do if exist "%SOFTWARE%\Adobe Reader\%F.msp" 
MsiExec.exe /norestart /passive /log "%TMP%\%PKG_NAME%_%V.log" /update 
"%SOFTWARE%\Adobe Reader\%F.msp" ' >
         <exit code="3010" reboot="false"/>
     </install>

     <upgrade include="install" />

     <remove cmd='MsiExec.exe /norestart /passive /log 
"%TMP%\%PKG_NAME%.log" /x "%SOFTWARE%\Adobe 
Reader\AdbeRdr%PKG_VER_MAIN%_%PKG_LNG%.msi"' />
</package>

'---code end

--
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