Hi,

I'm creating an x64 install for a product that creates Microsoft
Exchange 2007 transport agents.  MS Exchange 2007 only runs on x64.

I think I'm running into a problem where MSI WixCA CAQuietExec custom
actions are run as 32-bit even on a 64-bit installer as Bob Arnson
posted;
http://www.nabble.com/CAQuietExec-custom-action---launching-64-bit-exe-t
d13531382.html#a13577275

"There isn't currently a 64-bit build of the WiX custom actions as we
haven't needed them. This is another instance where we either need
64-bit CAs or to code the 32-bit CAs to support being run with 64-bit
data. Please enter a feature request so we can track the need. There's
no workaround I can think of."

I have a command that works correctly when run via Start | Run and have
put it into a custom action using WixCA CAQuietExec.

My verbose install log contains this error;
CAQuietExec:  Command ".  'C:\Program
Files\messagegate\Exchange\AgentUtil.ps1' STATUS" could not be executed
because some Windows PowerShell snap-ins did not load.
CAQuietExec:  Error 0xffff0000: Command line returned an error.
CAQuietExec:  Error 0xffff0000: CAQuietExec Failed
Action ended 8:22:31: MG_CA_Agent_Status1. Return value 1.

This msdn blog http://tinyurl.com/66pc87 says;
"Likewise, if you are automating Powershell from an application it must
be compiled for 64-bit in order to load the Exchange Management Shell
snap-in."

So, I think I'm blocked for my particular application.  

I'm posting mostly to get confirmation that nothing has changed to
resolve this in the last few months.

Thanks,
Dale

FYI - the command my install invokes looks like this;
(all one line -- replacing [WixProperties] as necessary)
"cmd.exe" /c 
[System64Folder]windowspowershell\v1.0\PowerShell.exe  
-PSConsoleFile "[ProgramFiles64Folder]\Microsoft\Exchange
Server\Bin\ExShell.psc1"  
-Command ". '[MG_ROOT]Exchange\AgentUtil.ps1' INSTALL"



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to