Hi Johannes, [email protected] wrote: > here is the package definition > > <!-- ZIP-Genius --> > > NEW build: > ========== > > <package > id="zipgenius" > name="ZIP-Genius" > revision="610" > reboot="false" > priority="1"> > <check type="uninstall" condition="exists" path="ZipGenius 6 > (6.1.0.1000)" /> > <install cmd='\\%WPKG-Master%\wpkg\zipgenius\zg6.1.0.1000std.exe > /VERYSILENT /NORESTART /NOICONS' > > <exit code="0" /> > </install> > <upgrade > cmd='\\%WPKG-Master%\wpkg\zipgenius\uninstall-zipgenius.cmd' /> > <upgrade cmd='\\%WPKG-Master%\wpkg\zipgenius\zg6.1.0.1000std.exe > /VERYSILENT /NORESTART /NOICONS' > > <exit code="0" /> > </upgrade> > <remove cmd='\\%WPKG-Master%\wpkg\zipgenius\uninstall-zipgenius.cmd' > /> > </package>
It looks OK to me. No matter if you specify reboot=true or reboot=false WPKG should update wpkg.xml unless the "ZipGenius 6 (6.1.0.1000)" uninstall entry does not exist after installation. Somehow I have the feeling that this package definition does not correspond to what you used on the hosts on error. What makes me believe this is taht in your first mail you quoted: Command 'cmd /C taskkill /F /IM zipgenius.exe' returned exit code [128]. This exit code is not an error. First of all this line only exists in your "old" package definition as you referred to. The "code is not an error" message is printed only in case you specify an "<exit code="128">" within the taskkill command node which I cannot see in any of your definitions. More over WPKG cleaims to execute "cmd /C taskkill /F /IM zipgenius.exe" which does not exist in any of your quoted package definitions. Sure WPKG does not "invent" commands. So you might check if you have multiple XML files defining the "zipgenius" package and WPKG uses another definition than you might actually think. Remember that each package id can exist only once. So if you copied the XML file within packages/ then you need to remove the old file to prevent duplicates. br, Rainer ------------------------------------------------------------------------- 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
