[wpkg-users] Check command
ds10025 at cam.ac.uk
ds10025 at cam.ac.uk
Fri Jun 12 09:46:00 CEST 2009
Thanks Rainer for your hints.
Using the batch file sound lkike a better idea to make sure all old
version of Acrobat reader is remove.
Just one more question.
Removing Acrobat reader or any programs.
I've notice with Acrobat Reader it needs msiexec /x {xxxxx}
Where {xxxx} is a long idea code, where can I get the id code from
I've checked registry. Also, is it possible to
msiexec /x acrobat?
Also at the same time I want to remove Acrobat.com & Acrobat air,?
Is they a command that removed file as listed in the Add/remove control panel?
Thanks again
Dan
At 16:14 11/06/2009, Rainer Meier wrote:
>Hi,
>
>Please respond to the list as well, so everybody can see your
>answers and might
>profit from the open discussions.
>
>ds10025 at cam.ac.uk wrote:
> > I think I began to understand what is going on.
> >
> >
> > If I want WPKG to remove old version of Acrobat reader first. I put the
> > remove command as before the install command?
>
>Yes, exactly. But remember that for most applications this is not necessary
>because the installers are "intelligent" and will perform an upgrade if they
>find an outdated version. So in most cases just running the same
>command as for
>installation works for upgrades too.
>
>But feel free to execute as many (remove-) commands before executing the
>installation process.
>One more hint: You might have to specify <exit code='x' /> nodes for
>your remove
>commands which are likely to fail. For example if you add a command to remove
>Adobe reader 5.0 (msiexec /x {ID} /qn) it might exit with a specific exit code
>that it was unable to execute the command (in case reader 5.0 was
>not installed).
>
>You might also use a batch-script to batch-uninstall all previous
>versions. For
>example add a command to execute "uninstall-previous-versions.cmd" and add all
>commands to this script like...
>
>@echo off
>:: removing Reader 5.0
>msiexec /x {xxxxx} /qn
>:: removing Reader 6.0
>msiexec /x {yyyyy} /qn
>...
>exit /b 0
>
>
>
>One example of a "bad" installer is the "old" Java installer. It left all
>versions on the system and you had to manually remove old versions in case you
>want to get rid of the binaries on the HDD.
>
>br,
>Rainer
More information about the wpkg-users
mailing list