Hi folks!<br><br>First of all, I would like to thanks you for developping WPKG.<br>I'm using it since years and it's the first time I'm writing to this mailing list. I've already updated the F-prot script last years but today I think  I've found something interesting about the way of uninstalling msi package on client computers.<br>
<br>I was quite bored searching registry about the "uninstall string" of a msi package. Those are changing on each version and, of course, 32 & 64bits are different. <br>If you've a look at the java package (best sample), there's a long list of different uninstall string for each update. I find this really annoying personnaly.<br>
<br>My small workaround is quite simple (IMHO)<br><br>In the package, I'm calling a batch file        <span style="background-color: rgb(255, 255, 51);"> <remove  cmd='%SOFTWARE%\Java\uninstall.bat' /></span><br>
If you have a look into that file:<br><br><span style="background-color: rgb(255, 255, 0);">echo Uninstalling</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">wmic product where "name like 'Java(TM) 6 Update%%'" call uninstall</span><br>
<br>Wmic could find with a simple query the uninstall string and call directly (and silently!) the uninstaller! <br>Within this sample, I'm asking to find a package starting with 'Java(TM) 6 Update...'<br><br>
I don't really like batch files with WPKG. Unfortunately, with the ' " en % characters I'm having problems into packages.xml.<br>If you find this interesting, may wpkg.js handle this natively in the future?<br>
<br>Waiting for your feedback & regards from Belgium ;-)<br>Vincent<br><br>