I've tried to use pipes in check condition. I've tried ''plain'': <check type="execute" path='net localgroup Sudoers | find /i "%DOMAIN%\ced"' condition="exitcodeequalto" value="0" />
or xml-escaped: <check type="execute" path='net localgroup Sudoers | find /i "%DOMAIN%\ced"' condition="exitcodeequalto" value="0" /> but both give: 2012-01-24 18:18:56, DEBUG : Executing command: 'net localgroup Sudoers \| find /i "SANVITO\ced"'. 2012-01-24 18:18:56, DEBUG : Execute check for program 'net localgroup Sudoers \| find /i "SANVITO\ced"' returned '1'. Evaluating condition 'exitcodeequalto' revealed false when comparing to expected value of '0'. 2012-01-24 18:18:56, DEBUG : Result of logical 'AND' check is false. 2012-01-24 18:18:56, ERROR : Could not process (upgrade) Sudo for Windows settings.|Failed checking after installation. so seems that '|' are ever escaped. What i'm doing wrong? Thanks. -- 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) ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users