None of this applies, but it is good to know. In general, what context does a CA run in anyway? I found a different from installing as an administrator user (to get the per-machine to work) vs. the case where the package (or command prompt) was explicitly elevated; only the latter allowed the phonebook modifications I wanted.
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: Phil Wilson [mailto:phil.wil...@mvps.org] Sent: February-23-13 1:07 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Service call from Custom Action Assuming you're using the DTF framework for managed code CAs, does your NET Remoting interface into the service have authentication? If authentication requires use of the installing user's credentials then your CA needs to use impersonation, and if it also requires admin type privilege then you'll need to arrange for an elevated impersonated custom action. Phil -----Original Message----- From: keith.doug...@statcan.gc.ca [mailto:keith.doug...@statcan.gc.ca] Sent: Friday, February 22, 2013 6:41 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service call from Custom Action I suppose I could use reflection in both cases, but that's ugly ... The idea was just to use the same mechanism used by our other programs (which are userland but have to enable/disable certain devices - hence the service). Since the installation is already privileged (or will be, I guess) using a common library might work. Meanwhile I have another possible workaround to investigate first ... 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-22-13 9:28 AM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service call from Custom Action 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 ---------------------------------------------------------------------------- -- 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