Thanks Alex - I'll give that a try.

Jim 

-----Original Message-----
From: Alexander Shevchuk [mailto:shevc...@live.com] 
Sent: Monday, July 27, 2009 12:09 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix

Hi James,

Have you tried the usual XML escaping?

<DIRECTION>UP</DIRECTION>


Alex



-----Original Message-----
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com]
Sent: Monday, July 27, 2009 8:51 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Creating Scheduled Tasks using Wix


I found some code to create scheduled tasks during an install.  I'm
having trouble with one where I have to pass the following xml string on
the command-line. 

XML string is "<DIRECTION>UP</DIRECTION>"  Here is the code that creates
the scheduled task:

<CustomAction Id="CREATETASK_CC_CIS_FILE_CREATION_UPLOAD" 
Return="check" 
Directory="ScheduledTasks"
ExeCommand="[SystemFolder]SCHTASKS.EXE /CREATE /SC DAILY /TN Run CC
<DIRECTION>UP</DIRECTION> /ST 00:00:00 /SD 01/27/2006 /TR
D:\apps\nfts\NFTS V3 Batch Processors\FireBatch\FireBatch.exe /RU
[%USERDOMAIN]\[LogonUser] /RP" />

Is there a way to pass that as a string and not have votive or wix look
at that string as xml?  

Thanks,
Jim


------------------------------------------------------------------------
----
--
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to