x64 Custom Action not called - Advanced Installer Community
UnChanter
Posts: 5
Joined: Wed Feb 18, 2015 3:25 pm

x64 Custom Action not called

ello all!

I created 2 wix custom action for installer (A and B dlls)
- A compiled as a Any CPU target platform
- B compiled as a x64

A worked correctly, but B is not called

In task manager I have follow:
msiexec.png
msiexec.png (4.7 KiB) Viewed 2721 times
first msiexec.exe is a installer process
second is a process for custom action

Also I tried to compile B custom action as a exe file and run it. And have a follow error:
2015-07-22_1638.png
2015-07-22_1638.png (15.57 KiB) Viewed 2721 times
How run custom action compiled for a x64 platform?

Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: x64 Custom Action not called

Hello,

A number of msiexec processes can be running during an installation. The reason for this is that Windows Installer uses a client-server model for performing installations.
Additionally for security reasons, Windows Installer hosts DLL and script custom actions in a "sandbox" process.

Depending on how the install was initiated, one of the msiexec processes can be the client process and the other one is a Windows Installer service.

By the way, why would you need a x64 custom action? Please take a look on the Options to integrate and debug custom actions article where you can see how to debug DTF C# custom actions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
UnChanter
Posts: 5
Joined: Wed Feb 18, 2015 3:25 pm

Re: x64 Custom Action not called

Dan wrote: By the way, why would you need a x64 custom action?
I need to use third-party library compiled for x64 platform.

Return to “Common Problems”