I'm  learning WiX and have been experimenting with a 64-bit install package for 
Vista64  During the install, I would like to run a 64-bit configuration tool.  
I can successfully launch the tool with a normal MSI custom action.  

However, when I try to launch the 64-bit exe silently using the WixCA 
CAQuietExec, it doesn't work.  From the log files, it looks like the 32-bit 
custom action server is started and it fails to execute the 64-bit exe.  Which 
makes sense, I don't think a WOW 32-bit process can launch a 64-bit exe.  I'm 
thinking I need a 64-bit version of WixCA CAQuietExec.  Does this exist?  Are 
there other options?  

Example XML: 

<CustomAction Id="SetCfgPath" Property="AddCfg64" 
        Value='"[System64Folder]CfgTool.exe"'  
        Return="check" />

<CustomAction Id="AddCfg64" 
        BinaryKey="WixCA" 
        DllEntry="CAQuietExec" 
        Impersonate="no" 
        Execute="deferred" 
        Return="check"/>

<InstallExecuteSequence>  
          <Custom Action="SetCfgPath" Before="AddCfg64"> </Custom> 
          <Custom Action="AddCfg64" Before="InstallFinalize"> </Custom>  
</InstallExecuteSequence>


Log File output:

MSI (s) (C8:28) [05:19:32:984]: Executing op: ActionStart(Name=AddCfg64,,)
MSI (s) (C8:28) [05:19:33:000]: Executing op: 
CustomActionSchedule(Action=AddCfg64,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="c:\Windows\system32\CfgTool.exe")
MSI (s) (C8:F4) [05:19:33:015]: Invoking remote custom action. DLL: 
C:\Windows\Installer\MSIE0B8.tmp, Entrypoint: CAQuietExec
MSI (s) (C8:A0) [05:19:33:015]: Generating random cookie.
MSI (s) (C8:A0) [05:19:33:015]: Created Custom Action Server with PID 2324 
(0x914).
MSI (s) (C8:0C) [05:19:34:187]: Running as a service.
MSI (s) (C8:0C) [05:19:34:187]: Hello, I'm your 32bit Impersonated custom 
action server.
CAQuietExec:  Error 0x80070002: Command failed to execute.
CAQuietExec:  Error 0x80070002: CAQuietExec Failed



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to