[wpkg-users] Firefox zombie state

heiko.helmle at horiba.com heiko.helmle at horiba.com
Thu Apr 5 08:10:31 CEST 2012


> Am 04.04.2012 16:17, schrieb Bruno CHOQUET:
> > Falko,
> >
> > It's not a profil or host problem : i just want to uninstall Firefox 
6.
> >
> 
> Installing the latest version of Firefox will replace any previous 
version.
> 

Not always - I just debugged a user whose 10.0.2esr Firefox was installed 
alongside 10.0.3esr. Nobody knows how this happened (both versions were 
installed by WPKG) and it worked correctly on all the other machines. WPKG 
sees the old version and reinstalled the new one every time - while always 
keeping the old one. - But this is not a WPKG-bug.

Uninstalling MSI-installed software is easy even if you don't know the 
UUID or don't want to manage lists of UUIDs - you can query the MSI 
database via WMI and even uninstall this way (though it doesn't work very 
well - I found it better to extract the MSI-ID from WMI and then calling 
MSIEXEC /X).

Uninstalling non-MSI is a bit more tricky. Basically you have to parse the 
Registry, find your UninstallString and call that, possibly adding any 
Unattended switches. I use a script for those cases where I don't know the 
exact path of the uninstaller. This comes in handy for software like 
PDFCreator where you absolutely have to uninstall the previous version.

<install cmd='cscript uninstall.vbs "MySoftware" /SILENTSWITCH'>
        <condition>
                <check type='uninstall' condition='exists' 
path='MySoftware'/>
        </condition>
</install>

I'm not sure if I should post my uninstall.vbs because it could end up on 
TheDailyWTF...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120405/9b41ac21/attachment-0002.html>


More information about the wpkg-users mailing list