I am having a problem with a number of my packages constantly reinstalling
themselves on every reboot. I am finally getting around to checking out the
issue. In my search it appears I may be using the "check type" variable
incorrectly .
Here is one of the packages that is giving me fits:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="malwarebytes"
name="Malwarebytes"
revision="%version%"
reboot="false"
priority="11">
<variable name="version" value="1.65.0.1400" />
<check type="uninstall" condition="exists" path="Malwarebytes'
Anti-Malware version %version%" />
<install cmd='%SOFTWARE%\malwarebytes\mbam-setup-%version%.exe
/verysilent /norestart /sp-' />
<install cmd='%COMSPEC% /c del /q
"%AllUsersProfile%\Desktop\Malwarebytes' Anti-Malware.lnk"' />
<upgrade cmd='%SOFTWARE%\malwarebytes\mbam-setup-%version%.exe
/verysilent /norestart /sp-' />
<upgrade cmd='%COMSPEC% /c del /q
"%UserProfile%\Desktop\Malwarebytes' Anti-Malware.lnk"' />
<remove cmd='"%ProgramFiles%\Malwarebytes'
Anti-Malware\unins000.exe" /verysilent' />
</package>
</packages>
With that I did some digging and if I read the wiki right I may want to change
that condition="exists" to condition="versionequalto" or similar, right? Help
me figure out the check type please.
--
Donny B.
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/wpkg-users