Michael Wall schrieb: Please reply to the list.
> I have been using this package since version 2.0.0.2. I have simply > been changing the version numbers in the script. I can't seem to figure > out what is happening. This is the package: > ****************************** > <?xml version="1.0" encoding="UTF-8"?> > > <packages> > <package > id="firefox2" > name="Mozilla Firefox 2.0" > revision="20061" > reboot="false" > priority="10"> > > <check type="uninstall" condition="exists" path="Mozilla Firefox > (2.0.0.6)" /> > > <install cmd='"%SOFTWARE%\firefox\Firefox Setup 2.0.0.6.exe" -ms' /> > > <upgrade cmd='"%SOFTWARE%\firefox\Firefox Setup 2.0.0.6.exe" -ms' /> > > <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" > /s' /> > > </package> > </packages> > ************************************ > > When I run the script in debug mode, here is what shows up: > > Using profile: /Servers > profile: /Servers profileNode: > number of available packages: 1 > number of packages to remove: 0 > checking existence of package:Mozilla Firefox 2.0 > Error occurred when searching registry for Mozilla Firefox (2.0.0.6) > Code: 80041002; Descriptions: Not found > Uninstall entry for Mozilla Firefox (2.0.0.6) missing: test failed > Installing Mozilla Firefox 2.0... > executing command : "%SOFTWARE%\firefox\Firefox Setup 2.0.0.6.exe" -ms > command returned result: 0 > checking existence of package:Mozilla Firefox 2.0 > Error occurred when searching registry for Mozilla Firefox (2.0.0.6) > Code: 80041002; Descriptions: Not found > Uninstall entry for Mozilla Firefox (2.0.0.6) missing: test failed > > > There were the following errors: > > > Package name: Mozilla Firefox 2.0 > > Could not install Mozilla Firefox 2.0. > Failed checking after installation. > > Mozilla Firefox (2.0.0.6) is the name that is found in the registry. I > can't figure out why it is saying that it is not found. It tries to > install Firefox every time the script is run because it says that it > cannot find this name. Are you sure it is the name found in Software Add/Remove on *affected* workstations? I noticed that on some Firefox upgrades, it will be "Mozilla Firefox (2.0)" in the registry, not "Mozilla Firefox (2.0.0.x)". Look here: http://wpkg.org/index.php/Firefox to see a logical check for two possible "uninstall" values for Firefox. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wpkg-users