[wpkg-users] Regular Expression Syntax Error

ph.rossignol at bluewin.ch ph.rossignol at bluewin.ch
Sat Jun 21 23:50:14 CEST 2014


Hello,

Starting from the silent installer, I made some slight modifications to check the OS type, as follows :

<install cmd="taskkill /F /IM Firefox.exe"><exit code="0" /><exit code="-1073741515" /><exit code="128" /></install>
<install cmd='"%INSTALLER_PATH%\Firefox Setup %VERSION%.exe" -ms' />
<install os="5\.1\.\d{4}\" cmd='%COMSPEC% /C del /Q "%AllUsersProfile%\Desktop\Mozilla Firefox.lnk"'><exit code="any" /></install> <!-- Microsoft Windows XP -->
<install os="6\.\d{1}\.\d{4}\" cmd='%COMSPEC% /C del /Q "%Public%\Desktop\Mozilla Firefox.lnk"'><exit code="any" /></install> <!-- Microsoft Windows 7 8 8.1 --> 
At the execution I get in the WPKG log (debug option) the message : Regular Expression Syntax Error. I can't find the problem as the syntax of the os expression semms correct. Can you help me ?
Many thanks in advance.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20140621/95343959/attachment-0002.html>


More information about the wpkg-users mailing list