Well I used something different. Here it is: <package id="firefox" name="Mozilla Firefox 2.0" revision="20014" reboot="false" priority="10"> <check type="logical" condition="or"> <check type="uninstall" condition="exists" path="Mozilla Firefox (2.0)" /> <check type="uninstall" condition="exists" path="Mozilla Firefox (2.0.0.13)" /> </check> <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Firefox\firefox.exe"/> <install cmd='"\\Store1\Mozilla\Firefox Setup 2.0.0.13.exe" -ms' /> <upgrade cmd='"\\Store1\Mozilla\Firefox Setup 2.0.0.13.exe" -ms' /> <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" /s' /> </package> Now the revision has to incremented each time I uninstall the program and try to reinstall it. How do I eliminate this. (If I a person offsite removes the software, the reinstallation of it will not occur, or am I wrong) -----Original Message----- From: Rainer Meier [mailto:r.meier at wpkg.org] Sent: Wednesday, March 26, 2008 2:33 PM To: Steve Handy Cc: 'Adam Williams'; 'wpkg-users at lists.wpkg.org' Subject: Re: [wpkg-users] Can WPKG install packages while user is at desktop Hi Steve, > I used the Firefox xml from the site. It worked twice but I had to > increment revision by 1 each time I unistalled the Mozilla firefox to > test it. > > > > So does this mean each time the revision has to be incremented. If so, > then how can I automate this process. When ihave offsite users, how is > the xml file going to be incremented? When I look at the XML definition there is one single check: <check type="file" condition="exists" path="%programfiles%\mozilla.org\SeaMonkey\seamonkey.exe" /> So if seamonkey.exe does not exist, then the package is re-installed. Or I should write "it _would_ be reinstalled". It is not because the execute="once" flag is set. This means that WPKG just installs it ONCE and never checks again if it is still installed. Just remove the "execute='once'" attribute completely and you will see that WPKG is going to re-install the package in case the check fails (ie if seamonkey.exe is deleted). I don't know who inserted that execute=once flag but if I find some time I will check the definitions on wpkg.org. br, Rainer |