Why not just split that code into it's own class and then use it directly in the custom action? It seems like a lot of infrastructure (i.e. a lot of things to break) for a CA to make an IPC call to a running service.
---------------------------------------- From: keith.doug...@statcan.gc.ca Sent: Friday, February 22, 2013 7:56 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service call from Custom Action Hi, thanks for answering. I already have an API in my service to enable a modem (needed to set up a phonebook entry at install time), so I figured I'd reuse it. Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-951-4405 Facsimile | Télécopieur 613-951-1966 Government of Canada | Gouvernement du Canada -----Original Message----- From: Christopher Painter [mailto:chr...@iswix.com] Sent: February-21-13 10:39 PM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service call from Custom Action Not that I'm aware of. Other then.... why? ---------------------------------------- From: keith.doug...@statcan.gc.ca Sent: Thursday, February 21, 2013 4:12 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Service call from Custom Action Are there any gotchas one should know about calling a (noninteractive) Windows Service (built to answer IPC, etc. with .NET Remoting) from a custom action? Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-951-4405 Facsimile | Télécopieur 613-951-1966 Government of Canada | Gouvernement du Canada ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users