Mandi! Marco Gaiarin In chel di` si favelave... > Yes, seems to work. > Forced an immediate reboot, tomorrow i will test with an > REBOOT=ReallySuppress. I confirm that works. The recipe i use to update WPKG is: <package id="wpkg" name="WPKG" revision="1211" priority="100" reboot="false"> <check type="uninstall" condition="exists" path="WPKG" /> <install cmd='msiexec /qn /i "%SOFTWARE%\WPKG\WPKG Client 1.2.1.msi" SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 REBOOT=ReallySuppress' > <exit code="0" /> <exit code="3010" reboot="postponed" /> </install> <upgrade cmd='msiexec /qn /i "%SOFTWARE%\WPKG\WPKG Client 1.2.1.msi" SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 REBOOT=ReallySuppress' > <exit code="0" /> <exit code="3010" reboot="postponed" /> </upgrade> <remove cmd='msiexec /qn /x{FD883F05-6D6B-4E81-8FD7-B209FEF750CD}' /> </package> I've also noted a strange thing: i also use this recipe: <package id="wpkg-settings" name="WPKG Settings" revision="10" priority="5" reboot="false" execute="once"> <depends package-id="wpkg"/> <install cmd='%ProgramFiles%\WPKG\wpkginst.exe --SETTINGSFILE=%WPKGROOT%\settings.xml' /> </package> to upgrade the wpkg configuration, but seems not to work. 1) if i run it, no error show up, but nothing happened. 2) if i run the %ProgramFiles%\WPKG\wpkginst.exe --SETTINGSFILE=%WPKGROOT%\settings.xml command manually from a command prompt, data are imported (so, the xml seems have no error). 3) even if i run the 'wpkg' recipe with the same installer (eg, upgrade revision but using the same 'WPKG Client 1.2.1.msi' just installed) the machine does not reboot (clever windows! There's no need to reboot if i substitute a file with another one perfectly eqal! ;), but settings are not imported. Seems to me that 'wpkginst.exe --SETTINGSFILE=' can be used only if WPKGClient was not running, and this is rather unoptimal.... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) |