Hello,
I'm trying to silently run a command-line app via the following:
<Property Id="MMCPERFSEARCH">
<DirectorySearch Id="MmcPerfSystemFolderPath" Path="[SystemFolder]">
<FileSearch Name="mmcperf.exe" />
</DirectorySearch>
</Property>
<Property Id="QtExecDeferred" Value=""mmcperf.exe""/>
<CustomAction Id="QtExecDeferred" BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="deferred" Return="ignore"/>
<InstallExecuteSequence>
<Custom Action="QtExecDeferred"
Before="InstallFinalize">MMC30SEARCH</Custom>
</InstallExecuteSequence>
Despite this, I see the following error in the install log, which notes the
command string must begin with a quoted app name:
MSI (s) (B8:38) [18:45:57:688]: Executing op: ActionStart(Name=QtExecDeferred,,)
MSI (s) (B8:38) [18:45:57:688]: Executing op:
CustomActionSchedule(Action=QtExecDeferred,ActionType=1089,Source=BinaryData,Target=CAQuietExec,CustomActionData="mmcperf.exe")
MSI (s) (B8:AC) [18:45:57:704]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI4.tmp, Entrypoint: CAQuietExec
MSI (s) (B8:38) [18:46:13:199]: Executing op:
ActionStart(Name=QtExecDeferred.FCB72E31_FB83_4E57_9058_69C40A8DB563,,)
MSI (s) (B8:38) [18:46:13:199]: Executing op:
CustomActionSchedule(Action=QtExecDeferred.FCB72E31_FB83_4E57_9058_69C40A8DB563,ActionType=1089,Source=BinaryData,Target=CAQuietExec,CustomActionData=[SystemFolder]mmcperf.exe)
MSI (s) (B8:8C) [18:46:13:199]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI8.tmp, Entrypoint: CAQuietExec
CAQuietExec: Command string must begin with quoted application name.
CAQuietExec: Error 0x80070057: invalid command line property value
CAQuietExec: Error 0x80070057: failed to get Command Line
It almost appears as if two custom actions are running, one executing
"mmcperf.exe" (from the property QtExecDeferred) and one executing
"[SystemFolder]mmcperf.exe" (from the MMCPERFSEARCH property). Does anyone
know why this might be occuring?
Thanks,
Shannon Ma
Software Engineer, XenApp MX Team
Citrix Systems Inc.
* +1 954 229 6271 office
* shannonma.wordpress.com<http://shannonma.wordpress.com/> blog
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users