[wpkg-users] Getting rid of install before remove

Luca Manganelli luca_manganelli at comune.trento.it
Tue Dec 20 16:16:20 CET 2016


Let me explain what I want to do.

1) I have Adobe-Reader-XI and Adobe-Reader-DC packages;

2) The Adobe-Reader-DC is a monster (130 MB package+cumulative update)

3) We have about 100 PC (out of 1300) that are running on a slow and 
shared link accross PC (ADSL - maximum trasfer rate 256KB/sec)

4) I'm experimenting the download of the DC package with the Microsoft 
BITS (Background Intellingent Transfer Service) that runs during the 
computer operativity;

5) So when I replace, for one host, the package Adobe-Reader-XI with the 
DC version, I do not want to uninstall immediately the XI version (so I 
removed the <remove> command), the DC setup does it automatically (so it 
starts when it has all packages in local).




Il 20/12/2016 15:08, Rainer Meier ha scritto:
> Hi,
>
> On 20.12.2016 14:53, Luca Manganelli wrote:
>> Hi, is it possible to avoid WPKG install before removing?
>
> Yes. Just disable it in config.xml.
> <param name='noUpgradeBeforeRemove' value='true' />
>
>
> Remember: This feature assures that the latest package is installed.
> Allowing you to fix up broken uninstall commands in the Package, so WPKG
> will upgrade first to the latest version before attempting an uninstall.
> If you disable the feature it will simply try to remove the application
> using the uninstall commands of the package version located on the
> client. If the uninstall fails (wrong uninstall commands or already
> uninstalled and exit code does not match expected exit codes...) then
> WPKG would on each synchronization re-try to uninstall the package
> without success.
>
> So Think twice if you're going to disable it.
> As of my understanding also in your case installing the latest package
> temporarily and then removing it cleanly would actually be a better
> choice as I think your uninstall commands might perhaps fail if the
> program was manually removed before.
>
> best regards,
> Rainer



More information about the wpkg-users mailing list