[wpkg-users] Clarification for Reader XI...

Nicolas Briche nbriche at free.fr
Thu Apr 24 15:51:47 CEST 2014


Hello,

Le 2014-04-24 14:53, Marco Gaiarin a écrit :
> I've setupa recipe for Reader XI, and i've accumulated upgrades:
> 
> reading:
> 	http://wpkg.org/Adobe_Reader
> 
> seems that i need to apply .msp only for last quarterly, or worster 
> last
> quarterly and security patches, so:
> 
>  <install cmd='msiexec /q /i "%SOFTWARE%\WPKG\AdbeRdr11000_it_IT.msi"
> ALLUSERS=1 REBOOT=ReallySuppress
> TRANSFORMS="%SOFTWARE%\WPKG\AdbeRdr11000_it_IT.mst"'>
>    <exit code="3010" reboot="postponed" />
>  </install>
>  <install cmd='msiexec /q /update
> "%SOFTWARE%\WPKG\AdbeRdrUpd11006.msp" ALLUSERS=1
> REBOOT=ReallySuppress' >
>    <exit code="3010" reboot="postponed" />
>  </install>
> 
> will suffices for version '11.0.06'. Right? Tnx.
> 

Last I heard, you actually have to install _all_ quarterlies between 
your current version and the latest, _and_ all security updates after 
the latest quarterly.

So for 11.0.6, you have to install, well, actually there's a full 
install for that one (although not in it_IT, it would seem).  But if you 
had to start from 11.0, you'd need to add 11.0.4 and 11.0.6.  If there 
were a 11.0.7, either security or quarterly, you'd have to add that one 
too.

Which is why I test for the version at every level, that way I don't 
have to actually run the patch unless it's needed.  Probably useless for 
maintaining a couple clients, but an appreciable gain when managing 
200+.

<package
	id="adobereader"
	name="Adobe Reader"
	revision="%version%"
	priority="50">

	<variable name="version" value="11.0.06" />
	<variable name="PKG_ATT" value="SUPPRESS_APP_LAUNCH=YES 
AgreeToLicense=Yes ALLUSERS=1" />
	<variable name="LCID" value="1036" /> <!-- 1034 Spanish ; 1031 Deutsch 
-->

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

	<!-- Install with the MSI -->
	<install cmd='cscript %CHECKPROC% AcroRd32.exe' />
	<install cmd='msiexec /qn /i 
"%SOFTWARE%\Outils_Bureautique\adobereader\AdbeRdr11000_fr_FR.msi" 
TRANSFORMS="%SOFTWARE%\Outils_Bureautique\adobereader\ar11-chp.mst" 
%PKG_ATT%'>
		<condition>
			<check type="logical" condition="not"><check type="uninstall" 
condition="exists" path="Adobe Reader XI .+" /></check>
		</condition>
		<exit code="0" />
		<exit code="3010" reboot="false" />
	</install>
	<install cmd='msiexec /qn /update 
"%SOFTWARE%\Outils_Bureautique\adobereader\AdbeRdrUpd11004.msp"' >
		<condition>
			<check type="logical" condition="or">
				<check type="logical" condition="not"><check type="uninstall" 
condition="exists" path="Adobe Reader XI .+" /></check>
				<check type="uninstall" condition="versionsmallerthan" 
value="11.0.04" path="Adobe Reader XI .+" />
			</check>
		</condition>
		<exit code="0" />
		<exit code="3010" reboot="false" />
	</install>
	<install cmd='msiexec /qn /update 
"%SOFTWARE%\Outils_Bureautique\adobereader\AdbeRdrUpd11006.msp"' >
		<condition>
			<check type="logical" condition="or">
				<check type="logical" condition="not"><check type="uninstall" 
condition="exists" path="Adobe Reader XI .+" /></check>
				<check type="uninstall" condition="versionsmallerthan" 
value="11.0.06" path="Adobe Reader XI .+" />
			</check>
		</condition>
		<exit code="0" />
		<exit code="3010" reboot="false" />
	</install>

	<upgrade include="install"/>

	<remove cmd='cscript %CHECKPROC% AcroRd32.exe' />
	<remove cmd='msiexec /qn /x{AC76BA86-7AD7-%LCID%-7B44-AB0000000001}' >
		<exit code="0" />
	</remove>

</package>


N.



More information about the wpkg-users mailing list