I have a custom action that executes appcmd (the IIS 7 tool for metabase modifications) and it needs to contain '[' and ']' in the command line.
The following custom action fails to compile with the square brackets: <CustomAction Id="SetDefaultAppPoolTo32Bit" Directory="TARGETDIR" ExeCommand="[WindowsFolder]\system32\inetsrv\appcmd.exe set config -section:system.applicationHost/applicationPools /[name='DefaultAppPool'].enable32BitAppOnWin64:"True" ; /commit:apphost" Return="ignore" Execute="commit" HideTarget="no" Impersonate="no" /> If I remove the square brackets it executes but performs the wrong function. I tried XML escaping them as follows: <CustomAction Id="SetDefaultAppPoolTo32Bit" Directory="TARGETDIR" ExeCommand="[WindowsFolder]\system32\inetsrv\appcmd.exe set config -section:system.applicationHost/applicationPools /[name='DefaultAppPool'].enable32BitAppOnWin64:" ;True" /commit:apphost" Return="ignore" Execute="commit" HideTarget="no" Impersonate="no" /> Any other ideas? (besides shipping a separate .bat file that performs the function). Thanks. - Phil ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users