I tried running a mycommand.cmd file also, still i get error.
Like,         

<CustomAction Id="CACmd" Value="[SystemFolder]cmd.exe"/>
<CustomAction Id="CAPShell" Value= ExeCommand="/c .\PShell.cmd" />

<InstallExecuteSequence>
   <Custom Action="CACmd" After="InstallInitialize">Installed AND NOT
REINSTALL</Custom>
   <Custom Action="CAPShell" After="CACmd">Installed AND NOT
REINSTALL</Custom>
</InstallExecuteSequence>


I get the following error.
>MySample.wxs : error WXCP0002 : The xml is invalid.  Detail: ''ExeCommand'
is an unexpected token. The expected token is '"' or '''. Line 81, position
44.' (XmlException).

Any suggestions ?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-run-powershell-with-complex-parameters-tp5512798p5512844.html
Sent from the wix-devs mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to