[wpkg-users] TIP: how to find out version and uninstall string: LibreOffice6

Dave Evans dave.evans at goodness.co.uk
Mon Mar 2 21:40:47 CET 2020


there is this guy Stefan who doesn't like it if we top post so reply is 
at the end
On 02/03/2020 17:26, Kris Lou wrote:
> FWIW, I've moved towards using WMIC for many of these uninstalls.  It 
> has added overhead, but that generally doesn't matter as much as I 
> don't do a lot of forced uninstalls.
>
>  <remove cmd='%COMSPEC% /C wmic /node:localhost product where 
> name="LibreOffice %PKG_EXE_VERSION%" call uninstall /nointeractive' />
>
> Kris Lou
> klou at themusiclink.net <mailto:klou at themusiclink.net>
>
>
> On Mon, Mar 2, 2020 at 12:58 AM Marco Gaiarin <gaio at sv.lnf.it 
> <mailto:gaio at sv.lnf.it>> wrote:
>
>     Mandi! Jáder Marasca
>       In chel di` si favelave...
>
>     > So in Linux, a "file X.MSI"  would tell the exact version of MSI
>     file and his
>     > uninstall string.
>
>     WOW! You save my time! Thanks! ;-)
>
>     -- 
>     dott. Marco Gaiarin                                     GNUPG Key
>     ID: 240A3D66
>       Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
>       Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al
>     Tagliamento (PN)
>       marco.gaiarin(at)lanostrafamiglia.it
>     <http://lanostrafamiglia.it>  t +39-0434-842711   f +39-0434-842797
>
>                     Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
>     http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
>             (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
>     ---------------------------------
>     wpkg-users mailing list archives >>
>     http://lists.wpkg.org/pipermail/wpkg-users/
>     _______________________________________________
>     wpkg-users mailing list
>     wpkg-users at lists.wpkg.org <mailto:wpkg-users at lists.wpkg.org>
>     https://lists.wpkg.org/mailman/listinfo/wpkg-users
>
>
> ---------------------------------
> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/wpkg-users
I didn't like the overhead of WMIC, plus it only handles MSI so I wrote 
something to handle it:
https://github.com/stringydave/uninstallbyname

Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20200302/fb63d8ee/attachment.html>


More information about the wpkg-users mailing list