.... and by "will be built with the caller's architecture" I mean "JIT
compiled to the  caller's architecture" because this is happening at
run time.
---------------
Phil Wilson


On Fri, Nov 14, 2014 at 10:29 AM, Phil Wilson <phildgwil...@gmail.com> wrote:
> Just to add something that may be the issue with your setup. The call
> stack is driven by the architecture of the starting process or Dll, so
> if you have a 32-bit CA Dll then msiexec will be a 32-bit process to
> call it. Your Dll then calls other Dlls. and If all these other Dlls
> are AnyCpu then yes, they will "work" in the sense that you said they
> can run on any architecture and so will be built with the callers
> architecture, so you'll get a 32-bit Dll call stack on a 64-bit
> system. That all works fine until it doesn't because it needs to do
> something in the 64-bit world, such as look inside a 64-bit process.
> ---------------
> Phil Wilson
>
>
> On Fri, Nov 14, 2014 at 10:10 AM, Phil Wilson <phildgwil...@gmail.com> wrote:
>> Yes something is checking the platform setting. Your comment is
>> otherwise too vague. Since you need  separate setups for 32-bit and
>> 64-bit systems it's often best to make sure that all the code that
>> runs during the install is of the appropriate bitness. You don't want
>> a 32-bit (64-bit) hosting process or Dll trying to call a 64-bit
>> (32-bit) Dll or some other invalid cross architecture thing.
>> ---------------
>> Phil Wilson
>>
>>
>> On Fri, Nov 14, 2014 at 9:42 AM, Asbjørn Mikkelsen
>> <asbj...@neslekkim.net> wrote:
>>> So something is checking the platform setting on the dll ?, With VS2012 and
>>> VS2013, I'm getting problems if I start to set platform to anything else
>>> than anycpu on dll's now, what gives?
>>>
>>> On Fri, Nov 14, 2014 at 6:38 PM, Phil Wilson <phildgwil...@gmail.com> wrote:
>>>
>>>> To expand on what Rob said, it all just works. On an x64 system the
>>>> MSI service will be 64-bit. If you have a 32-bit CA you'll get a
>>>> 32-bit msiexec process launched to host it. If you have another CA
>>>> that requires impersonation, you'll see another msiexec process
>>>> running impersonated. The error you're seeing is nothing to do with
>>>> the with this architecture. It's just invalid for a 32-bit process to
>>>> access 64-bit modules. You are enumerating processes or you have a
>>>> process id that's 64-bit and you're using it from 32-bit code to
>>>> access the process? As Jacob says, if you're on a 64-bit system and
>>>> you want to do whatever you're doing, make a 64-bit version of your
>>>> Dll.
>>>> ---------------
>>>> Phil Wilson
>>>>
>>>>
>>>> On Fri, Nov 14, 2014 at 8:35 AM, John Cooper <jocoo...@jackhenry.com>
>>>> wrote:
>>>> > That is the technique I use and it is necessary when access 64-bit-only
>>>> file system locations and the like.
>>>> >
>>>> > --
>>>> > John Merryweather Cooper
>>>> > Senior Software Engineer | Enterprise Service Applications | Continuing
>>>> Development
>>>> > Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |
>>>> jocoo...@jackhenry.com
>>>> >
>>>> >
>>>> >
>>>> > -----Original Message-----
>>>> > From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com]
>>>> > Sent: Friday, November 14, 2014 10:32 AM
>>>> > To: General discussion about the WiX toolset.
>>>> > Subject: Re: [WiX-users] [SPAM] Re: WixStdBA launches 32-bit msiexec.exe
>>>> for a 64-bit MsiPackage
>>>> >
>>>> > What is the bitness of your CA DLL?  Just a stab in the dark but you
>>>> might need to have it compiled twice, once as 32 and once as 64, and have
>>>> the respective MSI package use the right CA DLL.
>>>> >
>>>> >
>>>> > -----Original Message-----
>>>> > From: Rob Mensching [mailto:r...@firegiant.com]
>>>> > Sent: Friday, November 14, 2014 9:53 AM
>>>> > To: General discussion about the WiX toolset.
>>>> > Subject: Re: [WiX-users] [SPAM] Re: WixStdBA launches 32-bit msiexec.exe
>>>> for a 64-bit MsiPackage
>>>> >
>>>> > Custom actions are hosted by Windows Installer in a separate custom
>>>> action host process based on custom action type.
>>>> >
>>>> > _____________________________________________________________
>>>> >  Short replies here. Complete answers over there:
>>>> http://www.firegiant.com/
>>>> >
>>>> >
>>>> > -----Original Message-----
>>>> > From: Ryan Waller [mailto:rwal...@microsoft.com]
>>>> > Sent: Friday, November 14, 2014 7:43 AM
>>>> > To: General discussion about the WiX toolset.
>>>> > Subject: Re: [WiX-users] [SPAM] Re: WixStdBA launches 32-bit msiexec.exe
>>>> for a 64-bit MsiPackage
>>>> >
>>>> > Yes, Orca Summary shows it with Platform x64.
>>>> >
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > Comprehensive Server Monitoring with Site24x7.
>>>> > Monitor 10 servers for $9/Month.
>>>> > Get alerted through email, SMS, voice calls or mobile push notifications.
>>>> > Take corrective actions from your mobile device.
>>>> >
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>>> > _______________________________________________
>>>> > WiX-users mailing list
>>>> > WiX-users@lists.sourceforge.net
>>>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>>>> >
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > Comprehensive Server Monitoring with Site24x7.
>>>> > Monitor 10 servers for $9/Month.
>>>> > Get alerted through email, SMS, voice calls or mobile push notifications.
>>>> > Take corrective actions from your mobile device.
>>>> >
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>>> > _______________________________________________
>>>> > WiX-users mailing list
>>>> > WiX-users@lists.sourceforge.net
>>>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>>>> > NOTICE: This electronic mail message and any files transmitted with it
>>>> are intended
>>>> > exclusively for the individual or entity to which it is addressed. The
>>>> message,
>>>> > together with any attachment, may contain confidential and/or privileged
>>>> information.
>>>> > Any unauthorized review, use, printing, saving, copying, disclosure or
>>>> distribution
>>>> > is strictly prohibited. If you have received this message in error,
>>>> please
>>>> > immediately advise the sender by reply email and delete all copies.
>>>> >
>>>> >
>>>> >
>>>> ------------------------------------------------------------------------------
>>>> > Comprehensive Server Monitoring with Site24x7.
>>>> > Monitor 10 servers for $9/Month.
>>>> > Get alerted through email, SMS, voice calls or mobile push notifications.
>>>> > Take corrective actions from your mobile device.
>>>> >
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>>> > _______________________________________________
>>>> > WiX-users mailing list
>>>> > WiX-users@lists.sourceforge.net
>>>> > https://lists.sourceforge.net/lists/listinfo/wix-users
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Comprehensive Server Monitoring with Site24x7.
>>>> Monitor 10 servers for $9/Month.
>>>> Get alerted through email, SMS, voice calls or mobile push notifications.
>>>> Take corrective actions from your mobile device.
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> WiX-users mailing list
>>>> WiX-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>>
>>>
>>>
>>>
>>> --
>>> mvh
>>> Asbjørn
>>> ------------------------------------------------------------------------------
>>> Comprehensive Server Monitoring with Site24x7.
>>> Monitor 10 servers for $9/Month.
>>> Get alerted through email, SMS, voice calls or mobile push notifications.
>>> Take corrective actions from your mobile device.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to