<tt><font size=2><br>
> Am 04.04.2012 16:17, schrieb Bruno CHOQUET:<br>
> > Falko,<br>
> ><br>
> > It's not a profil or host problem : i just want to uninstall
Firefox 6.<br>
> ><br>
> <br>
> Installing the latest version of Firefox will replace any previous
version.<br>
> <br>
</font></tt>
<br><tt><font size=2>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.</font></tt>
<br>
<br><tt><font size=2>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).</font></tt>
<br>
<br><tt><font size=2>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.</font></tt>
<br>
<br><tt><font size=2><install cmd='cscript uninstall.vbs "MySoftware"
/SILENTSWITCH'></font></tt>
<br><tt><font size=2>        <condition></font></tt>
<br><tt><font size=2>           
    <check type='uninstall' condition='exists' path='MySoftware'/></font></tt>
<br><tt><font size=2>        </condition></font></tt>
<br><tt><font size=2></install></font></tt>
<br>
<br><tt><font size=2>I'm not sure if I should post my uninstall.vbs because
it could end up on TheDailyWTF...</font></tt>